Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann Leboulanger <asterix@lagaule.org>2004-03-29 01:29:32 +0400
committerYann Leboulanger <asterix@lagaule.org>2004-03-29 01:29:32 +0400
commit46de2fe3d640087b5fa2ba543ee8c123c53cce35 (patch)
tree95768d289a468ba2ea0e5da49021833e9d30fe95 /plugins
parent29e5833f36acce78a5f2036e41be41f5c9132713 (diff)
add user and browse agents not available when no account setup
Diffstat (limited to 'plugins')
-rw-r--r--plugins/gtkgui/gtkgui.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/gtkgui/gtkgui.py b/plugins/gtkgui/gtkgui.py
index 8a92cf712..d59365261 100644
--- a/plugins/gtkgui/gtkgui.py
+++ b/plugins/gtkgui/gtkgui.py
@@ -1191,6 +1191,9 @@ class roster_Window:
#agents
self.xml.get_widget('browse_agents').connect("activate", \
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):
"""Clear and draw roster"""