From 81dfec2b2a832701fba0b55e90581c075970103f Mon Sep 17 00:00:00 2001 From: Stephan Erb Date: Fri, 27 Jun 2008 21:11:08 +0000 Subject: [PATCH] Close preset messages popup before closing the status window. Otherwise GTK will freeze when the window is closed after the inactivity timer has expired. Fixes #4052 --- src/dialogs.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dialogs.py b/src/dialogs.py index d9a1c5178..07e88e70e 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -555,6 +555,8 @@ class ChangeStatusMessageDialog: def countdown(self): if self.countdown_enabled: if self.countdown_left <= 0: + # Prevent GUI freeze when the combobox menu is opened on close + self.message_combobox.popdown() self.window.response(gtk.RESPONSE_OK) return False self.window.set_title('%s [%s]' % (self.title_text,