diff options
author | Johnathan Corgan <johnathan@corganlabs.com> | 2013-11-23 10:41:37 -0800 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2013-11-23 10:41:37 -0800 |
commit | 2d7438adb8b724f014b4448d7734aebbc66c78a9 (patch) | |
tree | 3292c3494432e721bd4a6e8a4e6a0813ecb2b9a7 /grc/gui/BlockTreeWindow.py | |
parent | b6cf12e6e3a60afacb32c6943015a02dd0460313 (diff) | |
parent | a00b94ec4a9949125ddb1711abf49d4d575d290d (diff) |
Merge remote-tracking branch 'skoslowski/grc_toggle_widgets'
Diffstat (limited to 'grc/gui/BlockTreeWindow.py')
-rw-r--r-- | grc/gui/BlockTreeWindow.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/grc/gui/BlockTreeWindow.py b/grc/gui/BlockTreeWindow.py index 9ea37c55e0..f4b35a5dca 100644 --- a/grc/gui/BlockTreeWindow.py +++ b/grc/gui/BlockTreeWindow.py @@ -226,6 +226,10 @@ class BlockTreeWindow(gtk.VBox): # manually trigger action... Actions.FIND_BLOCKS.activate() + elif event.state & gtk.gdk.CONTROL_MASK and event.keyval == gtk.keysyms.b: + # ugly... + Actions.TOGGLE_BLOCKTREE_WIDGET.activate() + else: return False # propagate event |