summaryrefslogtreecommitdiff
path: root/grc/gui/Actions.py
diff options
context:
space:
mode:
authorSebastian Koslowski <koslowski@kit.edu>2013-10-16 14:08:20 +0200
committerSebastian Koslowski <koslowski@kit.edu>2013-10-24 19:06:46 +0200
commite58fcceb221eeb8d9c54a303d76719283a27565c (patch)
tree6578816325c4cc9e3a16db609fcd34179cc11f85 /grc/gui/Actions.py
parent510a96615da4b2511e08da2d7a16e77e1b58a1b5 (diff)
Add 'Find Blocks' action and auto-hide search entry box
Diffstat (limited to 'grc/gui/Actions.py')
-rw-r--r--grc/gui/Actions.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/grc/gui/Actions.py b/grc/gui/Actions.py
index a70109c021..bb32953477 100644
--- a/grc/gui/Actions.py
+++ b/grc/gui/Actions.py
@@ -290,6 +290,12 @@ RELOAD_BLOCKS = Action(
tooltip='Reload Blocks',
stock_id=gtk.STOCK_REFRESH
)
+FIND_BLOCKS = Action(
+ label='Find Blocks',
+ tooltip='Search for a Block by Name or Key',
+ stock_id=gtk.STOCK_FIND,
+ keypresses=(gtk.keysyms.f, gtk.gdk.CONTROL_MASK),
+)
OPEN_HIER = Action(
label='Open H_ier',
tooltip='Open the source of the selected hierarchical block',