Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/shellservice.py
diff options
context:
space:
mode:
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(),