add a python2 ui flag for extensions
to mark python2/python3 only extensions. TODO: change flag to python3 when merging to gtk3 branch. Fixes #252.
This commit is contained in:
parent
a4365c99d6
commit
9f9c2230ae
|
@ -112,6 +112,7 @@ def main():
|
|||
options, args = parser.parse_args(sys.argv)
|
||||
|
||||
gpodder.ui.gtk = True
|
||||
gpodder.ui.python2 = True
|
||||
|
||||
gpodder.ui.unity = (os.environ.get('DESKTOP_SESSION', 'unknown').lower() in
|
||||
('ubuntu', 'ubuntu-2d'))
|
||||
|
|
|
@ -14,7 +14,7 @@ _ = gpodder.gettext
|
|||
__title__ = _('Gtk Status Icon')
|
||||
__description__ = _('Show a status icon for Gtk-based Desktops.')
|
||||
__category__ = 'desktop-integration'
|
||||
__only_for__ = 'gtk'
|
||||
__only_for__ = 'gtk,python2'
|
||||
__disable_in__ = 'unity,win32'
|
||||
|
||||
import gtk
|
||||
|
|
Loading…
Reference in a new issue