From 3606de3b67cba774aebcd7db01dcb0fd03df1aa4 Mon Sep 17 00:00:00 2001 From: Stephan Erb Date: Sat, 16 Jun 2007 16:52:51 +0000 Subject: [PATCH] Raise rename dialog properly when already opened. Fixes #3230 --- src/roster_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/roster_window.py b/src/roster_window.py index a29264010..1e7a8e325 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -1668,7 +1668,7 @@ class RosterWindow: def on_rename(self, widget, iter, path): # this function is called either by F2 or by Rename menuitem if gajim.interface.instances.has_key('rename'): - gajim.interface.instances['rename'].dialog.window.present() + gajim.interface.instances['rename'].dialog.present() return model = self.tree.get_model()