add user and browse agents not available when no account setup
This commit is contained in:
parent
29e5833f36
commit
46de2fe3d6
|
@ -1191,6 +1191,9 @@ class roster_Window:
|
||||||
#agents
|
#agents
|
||||||
self.xml.get_widget('browse_agents').connect("activate", \
|
self.xml.get_widget('browse_agents').connect("activate", \
|
||||||
self.on_browse, self.plugin.accounts.keys()[0])
|
self.on_browse, self.plugin.accounts.keys()[0])
|
||||||
|
else:
|
||||||
|
self.xml.get_widget('add').set_sensitive(False)
|
||||||
|
self.xml.get_widget('browse_agents').set_sensitive(False)
|
||||||
|
|
||||||
def draw_roster(self):
|
def draw_roster(self):
|
||||||
"""Clear and draw roster"""
|
"""Clear and draw roster"""
|
||||||
|
|
Loading…
Reference in New Issue