diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2005-04-07 15:25:59 +0400 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2005-04-07 15:25:59 +0400 |
commit | 317f0e0db3106bb7bfe5b82324f7b262c0f25275 (patch) | |
tree | 931bb71680b9ae856a0f0e9f5414df98707207be /plugins/gtkgui/config.py | |
parent | 25214a9cf2e9a6e73f9544e858b39f0ae0290d14 (diff) |
we can now open only one join_gc window per account
Diffstat (limited to 'plugins/gtkgui/config.py')
-rw-r--r-- | plugins/gtkgui/config.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/gtkgui/config.py b/plugins/gtkgui/config.py index 24ff9a3aa..6c7ff6dab 100644 --- a/plugins/gtkgui/config.py +++ b/plugins/gtkgui/config.py @@ -1720,8 +1720,10 @@ class Service_discovery_window: services = service.split('@') room = services[0] service = services[1] - if not self.plugin.windows.has_key('join_gc'): + if not self.plugin.windows[self.account].has_key('join_gc'): Join_groupchat_window(self.plugin, self.account, service, room) + else: + self.plugin.windows[self.account]['join_gc'].window.present() def on_register_button_clicked(self, widget): """When we want to register an agent : |