From 936a8392d5a025e9ee9ad808a43969d8fffa8026 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sun, 27 Mar 2005 18:01:41 +0000 Subject: [PATCH] browse agent -> Service discovery --- plugins/gtkgui/roster_window.py | 42 ++++++++++++++++----------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/plugins/gtkgui/roster_window.py b/plugins/gtkgui/roster_window.py index 8dcac2f6e..101154fb8 100644 --- a/plugins/gtkgui/roster_window.py +++ b/plugins/gtkgui/roster_window.py @@ -531,50 +531,50 @@ class Roster_window: account = model.get_value(iter, 3) menu = gtk.Menu() - item = gtk.MenuItem(_("Status")) + item = gtk.MenuItem(_('Status')) menu.append(item) sub_menu = gtk.Menu() item.set_submenu(sub_menu) - item = gtk.MenuItem(_("Online")) + item = gtk.MenuItem(_('Online')) sub_menu.append(item) - item.connect("activate", self.change_status, account, 'online') - item = gtk.MenuItem(_("Away")) + item.connect('activate', self.change_status, account, 'online') + item = gtk.MenuItem(_('Away')) sub_menu.append(item) - item.connect("activate", self.change_status, account, 'away') - item = gtk.MenuItem(_("NA")) + item.connect('activate', self.change_status, account, 'away') + item = gtk.MenuItem(_('NA')) sub_menu.append(item) - item.connect("activate", self.change_status, account, 'xa') - item = gtk.MenuItem(_("DND")) + item.connect('activate', self.change_status, account, 'xa') + item = gtk.MenuItem(_('DND')) sub_menu.append(item) - item.connect("activate", self.change_status, account, 'dnd') - item = gtk.MenuItem(_("Invisible")) + item.connect('activate', self.change_status, account, 'dnd') + item = gtk.MenuItem(_('Invisible')) sub_menu.append(item) - item.connect("activate", self.change_status, account, 'invisible') + item.connect('activate', self.change_status, account, 'invisible') item = gtk.MenuItem() sub_menu.append(item) - item = gtk.MenuItem(_("Offline")) + item = gtk.MenuItem(_('Offline')) sub_menu.append(item) - item.connect("activate", self.change_status, account, 'offline') + item.connect('activate', self.change_status, account, 'offline') item = gtk.MenuItem() menu.append(item) - item = gtk.MenuItem(_("_Edit account")) + item = gtk.MenuItem(_('_Edit account')) menu.append(item) - item.connect("activate", self.on_edit_account, account) - item = gtk.MenuItem(_("_Browse agents")) + item.connect('activate', self.on_edit_account, account) + item = gtk.MenuItem(_('_Service discovery')) menu.append(item) - item.connect("activate", self.on_service_disco_menuitem_activate, account) - item = gtk.MenuItem(_("_Add contact")) + item.connect('activate', self.on_service_disco_menuitem_activate, account) + item = gtk.MenuItem(_('_Add contact')) menu.append(item) - item.connect("activate", self.on_add_contact, account) + item.connect('activate', self.on_add_contact, account) item = gtk.MenuItem(_('Join _groupchat')) menu.append(item) - item.connect("activate", self.on_join_gc_activate, account) + item.connect('activate', self.on_join_gc_activate, account) item = gtk.MenuItem(_('_New message')) menu.append(item) - item.connect("activate", self.on_new_message_menuitem_activate, account) + item.connect('activate', self.on_new_message_menuitem_activate, account) menu.popup(None, None, None, event.button, event.time) menu.show_all()