bugfix when no account is setup
This commit is contained in:
parent
80a65a2660
commit
29e5833f36
|
@ -1184,7 +1184,7 @@ class roster_Window:
|
|||
menu_sub.append(item)
|
||||
item.connect("activate", self.on_browse, a)
|
||||
menu_sub.show_all()
|
||||
else:
|
||||
elif len(self.plugin.accounts.keys()) == 1:
|
||||
#add
|
||||
self.xml.get_widget('add').connect("activate", self.on_add, \
|
||||
self.plugin.accounts.keys()[0])
|
||||
|
|
Loading…
Reference in New Issue