From ce473d8bf07baa526c63911b5e4a913afaf08cc4 Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Mon, 12 Aug 2013 21:44:56 +0400 Subject: [PATCH] remove the same code --- src/roster_window.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/roster_window.py b/src/roster_window.py index b1989ca10..fd053db98 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -3378,13 +3378,6 @@ class RosterWindow: gajim.interface.instances['accounts'] = config.AccountsWindow() gajim.interface.instances['accounts'].select_account(account) - def on_zeroconf_properties(self, widget, account): - if 'accounts' in gajim.interface.instances: - gajim.interface.instances['accounts'].window.present() - else: - gajim.interface.instances['accounts'] = config.AccountsWindow() - gajim.interface.instances['accounts'].select_account(account) - def on_open_gmail_inbox(self, widget, account): url = gajim.connections[account].gmail_url if url: @@ -5679,7 +5672,7 @@ class RosterWindow: item.connect('activate', self.change_status, account, 'offline') zeroconf_properties_menuitem.connect('activate', - self.on_zeroconf_properties, account) + self.on_edit_account, account) return account_context_menu