Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/activity.py
diff options
context:
space:
mode:
authorGary Martin <gary@garycmartin.com>2010-08-28 15:18:37 (GMT)
committer Gary Martin <gary@garycmartin.com>2010-08-28 15:18:37 (GMT)
commitc77eb31f37c29d2cf75b8b3bf58f1e4d3a4a688a (patch)
treefca8cfcf971909d2a0cb8dcd8389f7c42dd89dc2 /activity.py
parent30d8948e9216aca68e27e510bf8aa2f91384b820 (diff)
Tweak to expanding separator so that it never pushs Stop off the toolbar when space is tight.
Diffstat (limited to 'activity.py')
-rw-r--r--activity.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/activity.py b/activity.py
index b4da258..9524b11 100644
--- a/activity.py
+++ b/activity.py
@@ -75,6 +75,7 @@ class PhysicsActivity(olpcgames.PyGameActivity):
separator = gtk.SeparatorToolItem()
separator.props.draw = False
+ separator.set_size_request(0, -1)
separator.set_expand(True)
toolbar_box.toolbar.insert(separator, -1)
separator.show()