Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian <icarito@sugarlabs.org>2011-03-09 06:01:55 (GMT)
committer Sebastian <icarito@sugarlabs.org>2011-03-09 06:01:55 (GMT)
commit8096a85196bfebcc66d9aa009756e38fb201d25c (patch)
tree04b885b89642c3a2dbb62ebe07161f31a6b4bd85
parentd9be1d6cd541a133c712a19fa57a0bc199270e4d (diff)
UI tweaks (rm keep & unfocus title)HEADmaster
-rw-r--r--Maze.activity/olpcgames/activity.py4
-rw-r--r--Maze.activity/olpcgames/mybutton.py1
2 files changed, 1 insertions, 4 deletions
diff --git a/Maze.activity/olpcgames/activity.py b/Maze.activity/olpcgames/activity.py
index 1b744f3..77c2d2a 100644
--- a/Maze.activity/olpcgames/activity.py
+++ b/Maze.activity/olpcgames/activity.py
@@ -129,10 +129,6 @@ class PyGameActivity(activity.Activity):
toolbar_box.toolbar.insert(share_button, -1)
share_button.show()
- keep_button = KeepButton(self)
- toolbar_box.toolbar.insert(keep_button, -1)
- keep_button.show()
-
stop_button = StopButton(self)
stop_button.props.accelerator = '<Ctrl><Shift>Q'
toolbar_box.toolbar.insert(stop_button, -1)
diff --git a/Maze.activity/olpcgames/mybutton.py b/Maze.activity/olpcgames/mybutton.py
index 2d1677d..e5c461b 100644
--- a/Maze.activity/olpcgames/mybutton.py
+++ b/Maze.activity/olpcgames/mybutton.py
@@ -45,6 +45,7 @@ class MyActivityToolbarButton(ToolbarButton):
toolbar.share.hide()
toolbar.stop.hide()
toolbar.keep.hide()
+ toolbar.title.unset_flags(gtk.CAN_FOCUS)
ToolbarButton.__init__(self, page=toolbar, **kwargs)