diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-09-18 09:56:53 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-09-18 09:56:53 (GMT) |
commit | 180c65e81c80bd48362a30719502c688ab660985 (patch) | |
tree | 9a51f04c43cff529baa6ada30830639e08f6e851 /shell/view/Shell.py | |
parent | 1f3187e0b548ff87463a0a1ea98fa15779361c1b (diff) |
Implement close button for the activity.
Some fixes.
Diffstat (limited to 'shell/view/Shell.py')
-rw-r--r-- | shell/view/Shell.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/shell/view/Shell.py b/shell/view/Shell.py index f56f62d..821442c 100644 --- a/shell/view/Shell.py +++ b/shell/view/Shell.py @@ -77,8 +77,7 @@ class Shell(gobject.GObject): if window == None: self._model.set_current_activity(None) self.emit('activity-changed', None) - - if window.get_window_type() == wnck.WINDOW_NORMAL: + elif window.get_window_type() == wnck.WINDOW_NORMAL: activity_host = self._hosts[window.get_xid()] current = self._model.get_current_activity() |