From 687ebda03c7d7d34df418dd3a077e3eb33b1678d Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Wed, 30 Jan 2013 21:50:58 +0000 Subject: add fb plugin; consolidate gnome menus when possible --- (limited to 'turtleblocks.py') diff --git a/turtleblocks.py b/turtleblocks.py index 2e8fc8f..4526630 100755 --- a/turtleblocks.py +++ b/turtleblocks.py @@ -417,7 +417,9 @@ class TurtleMain(): # Add menus for plugins for p in self._gnome_plugins: - menu_bar.append(p.get_menu()) + menu_item = p.get_menu() + if menu_item is not None: + menu_bar.append(menu_item) menu_bar.append(help_menu) -- cgit v0.9.1