From 9f4adbdd1cbc30ddfffca6f44393d41a131f534a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Fri, 19 Apr 2019 17:02:23 +0200 Subject: [PATCH] Fix deprecation warning --- gajim/roster_window.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gajim/roster_window.py b/gajim/roster_window.py index 462e8dcd4..1e6d38f5e 100644 --- a/gajim/roster_window.py +++ b/gajim/roster_window.py @@ -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)