From ffb93d6f8e5b374cc5ea08d138955004d948026f Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Wed, 25 Jan 2006 13:39:22 +0000 Subject: [PATCH] rm an not needed assignment --- src/message_window.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/message_window.py b/src/message_window.py index 857f80275..a8a26976e 100644 --- a/src/message_window.py +++ b/src/message_window.py @@ -629,7 +629,6 @@ class MessageWindowMgr: if not gajim.config.get('saveposition') or self.mode == self.ONE_MSG_WINDOW_NEVER: return - pos = (-1, -1) # default is left up to the native window manager if self.mode == self.ONE_MSG_WINDOW_ALWAYS: pos = (gajim.config.get('msgwin-x-position'), gajim.config.get('msgwin-y-position')) @@ -639,6 +638,8 @@ class MessageWindowMgr: elif self.mode == self.ONE_MSG_WINDOW_PERTYPE: pos = (gajim.config.get(type + '-msgwin-x-position'), gajim.config.get(type + '-msgwin-y-position')) + else: + return if pos[0] > 0 and pos[1] > 0: gtkgui_helpers.move_window(win.window, pos[0], pos[1])