Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/view/Shell.py
diff options
context:
space:
mode:
Diffstat (limited to 'shell/view/Shell.py')
-rw-r--r--shell/view/Shell.py3
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()