Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArtActivity.py
diff options
context:
space:
mode:
Diffstat (limited to 'TurtleArtActivity.py')
-rw-r--r--TurtleArtActivity.py11
1 files changed, 8 insertions, 3 deletions
diff --git a/TurtleArtActivity.py b/TurtleArtActivity.py
index 3826e13..5d01640 100644
--- a/TurtleArtActivity.py
+++ b/TurtleArtActivity.py
@@ -582,9 +582,14 @@ class TurtleArtActivity(activity.Activity):
self.do_grow_blocks_cb, view_toolbar_button)
self.resize_down_button = self._add_button('resize-',
_("Shrink blocks"), self.do_shrink_blocks_cb, view_toolbar_button)
- self.hover_help_label = self._add_label(
- _("Move the cursor over the orange palette for help."),
- help_toolbar, gtk.gdk.screen_width() - 2 * ICON_SIZE)
+ if self.has_toolbarbox:
+ self.hover_help_label = self._add_label(
+ _("Move the cursor over the orange palette for help."),
+ help_toolbar, gtk.gdk.screen_width() - 2 * ICON_SIZE)
+ else:
+ self.hover_help_label = self._add_label(
+ _("Move the cursor over the orange palette for help."),
+ help_toolbar)
# Setup palette toolbar only AFTER initializing the plugins
# self._setup_palette_toolbar()