Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Drake <dsd@laptop.org>2011-07-22 22:41:52 (GMT)
committer Daniel Drake <dsd@laptop.org>2011-07-22 22:41:52 (GMT)
commitc4d1d39cb001a065ae409c9c536ea62cbddf6664 (patch)
treefc4254561ee85f9b68d00a3fa2f6d67924941f50
parentb4db4ef06deb4e6b91b8333f1ff79199072e8e99 (diff)
Make toolbar combos unfocusable (SL#2987)
This fixes an issue where the game keys would no longer function after having selected a timer/duration combo box (its not easy to get rid of the focus from there)
-rw-r--r--iconcombobox.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/iconcombobox.py b/iconcombobox.py
index 01ce5f9..d5eb807 100644
--- a/iconcombobox.py
+++ b/iconcombobox.py
@@ -32,6 +32,7 @@ class IconComboBox(gtk.ToolItem):
self.set_border_width(style.DEFAULT_PADDING)
self.combo = ComboBox()
+ self.combo.set_focus_on_click(False)
self.combo.show()
self.add(self.combo)