Commit 9f4adbdd authored by Philipp Hörist's avatar Philipp Hörist

Fix deprecation warning

parent bd75c78b
......@@ -4823,7 +4823,7 @@ class RosterWindow:
pep_submenu = Gtk.Menu()
pep_menuitem.set_submenu(pep_submenu)
item = Gtk.CheckMenuItem(_('Publish Tune'))
item = Gtk.CheckMenuItem(label=_('Publish Tune'))
pep_submenu.append(item)
if sys.platform in ('win32', 'darwin'):
item.set_sensitive(False)
......@@ -4834,7 +4834,7 @@ class RosterWindow:
item.connect('toggled', self.on_publish_tune_toggled,
account)
item = Gtk.CheckMenuItem(_('Publish Location'))
item = Gtk.CheckMenuItem(label=_('Publish Location'))
pep_submenu.append(item)
if not app.is_installed('GEOCLUE'):
item.set_sensitive(False)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment