Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/HomeWindow.py
diff options
context:
space:
mode:
Diffstat (limited to 'shell/HomeWindow.py')
-rw-r--r--shell/HomeWindow.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/shell/HomeWindow.py b/shell/HomeWindow.py
index 47717f7..3d1fdc7 100644
--- a/shell/HomeWindow.py
+++ b/shell/HomeWindow.py
@@ -19,11 +19,13 @@ class NewActivityButton(gtk.MenuToolButton):
menu = gtk.Menu()
for module in self._home.list_activities():
- item = gtk.MenuItem(module.get_name(), False)
- activity_id = module.get_id()
- item.connect('activate', self.__menu_item_activate_cb, activity_id)
- menu.append(item)
- item.show()
+ if module.get_show_launcher():
+ item = gtk.MenuItem(module.get_name(), False)
+ activity_id = module.get_id()
+ item.connect('activate',
+ self.__menu_item_activate_cb, activity_id)
+ menu.append(item)
+ item.show()
self.set_menu(menu)