Changeset 9857 for trunk/src/dialogs.py

Show
Ignore:
Timestamp:
06/27/08 23:11:08 (5 months ago)
Author:
steve-e
Message:

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

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/dialogs.py

    r9804 r9857  
    556556                if self.countdown_enabled: 
    557557                        if self.countdown_left <= 0: 
     558                                # Prevent GUI freeze when the combobox menu is opened on close 
     559                                self.message_combobox.popdown() 
    558560                                self.window.response(gtk.RESPONSE_OK) 
    559561                                return False