Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArtActivity.py
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2011-03-09 15:58:06 (GMT)
committer Walter Bender <walter.bender@gmail.com>2011-03-09 15:58:06 (GMT)
commitd9679562ee14fe0ef3ac4139728d88eb0b796f05 (patch)
treead93861eda24f423943a1c5e0b36c8f6e240efe8 /TurtleArtActivity.py
parent76d223e99e201522055391baa1766b82ad9fca48 (diff)
work around problem with set_size_request on .84 systems
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()