diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-07-19 16:16:44 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-07-19 16:16:44 (GMT) |
commit | e8a342c21447e663c40f9408dd0541485be69e09 (patch) | |
tree | 651662ef431bef85086e1b485289fa07ae449528 /shell/Shell.py | |
parent | a9cdfa061721a23e537bcd42185b8218963c4c18 (diff) |
Do not destroy chat on close, just hide it
Diffstat (limited to 'shell/Shell.py')
-rwxr-xr-x | shell/Shell.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/shell/Shell.py b/shell/Shell.py index 416e655..db8524d 100755 --- a/shell/Shell.py +++ b/shell/Shell.py @@ -85,6 +85,10 @@ class Shell: else: return None + def __people_window_delete_cb(self, window, event): + window.hide() + return True + def show_people(self): activity = self.get_current_activity() @@ -93,6 +97,7 @@ class Shell: if not self._people_windows.has_key(activity_id): window = PeopleWindow(self, activity) + window.connect('delete-event', self.__people_window_delete_cb) keybindings.setup_global_keys(window, self) self._people_windows[activity_id] = window else: |