Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/shellservice.py
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2007-06-01 12:04:54 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2007-06-01 12:04:54 (GMT)
commitcd3efeba492f934c976503c1d1697a3c7ac4856b (patch)
treeef81ea69ea0d98e79fc56e927188279255d7317b /shell/shellservice.py
parentb1a62c2fc09e7ea35b06e2e46ffabb3ba53f572e (diff)
Fix raw X windows
Diffstat (limited to 'shell/shellservice.py')
-rw-r--r--shell/shellservice.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/shellservice.py b/shell/shellservice.py
index 819b299..e29d9b0 100644
--- a/shell/shellservice.py
+++ b/shell/shellservice.py
@@ -132,7 +132,8 @@ class ShellService(dbus.service.Object):
new_id = ""
if new_activity:
new_id = new_activity.get_activity_id()
- self.CurrentActivityChanged(new_id)
+ if new_id:
+ self.CurrentActivityChanged(new_id)
def _bundle_to_activity_info(self, bundle):
return ActivityInfo(bundle.get_name(), bundle.get_icon(),