This commit is contained in:
Dimitur Kirov 2006-04-08 01:25:16 +00:00
parent e95cd81587
commit c220fed809
1 changed files with 2 additions and 1 deletions

View File

@ -765,7 +765,8 @@ class RosterWindow:
if len(gajim.connections) == 0: # user has no accounts if len(gajim.connections) == 0: # user has no accounts
advanced_menuitem.set_sensitive(False) advanced_menuitem.set_sensitive(False)
elif len(gajim.connections) == 1: elif len(gajim.connections) == 1:
advanced_menuitem_menu = self.get_and_connect_advanced_menuitem_menu(account) advanced_menuitem_menu = self.get_and_connect_advanced_menuitem_menu(
gajim.connections.keys()[0])
self.advanced_menus.append(advanced_menuitem_menu) self.advanced_menus.append(advanced_menuitem_menu)
self._add_history_manager_menuitem(advanced_menuitem_menu) self._add_history_manager_menuitem(advanced_menuitem_menu)