From c1231897581423b6402beaba02c2b22b3445925c Mon Sep 17 00:00:00 2001 From: Sebastian Koslowski <koslowski@kit.edu> Date: Sat, 7 May 2016 13:32:45 +0200 Subject: grc: optionally hide all variable blocks --- grc/gui/Actions.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'grc/gui/Actions.py') diff --git a/grc/gui/Actions.py b/grc/gui/Actions.py index ce5bc4eba8..e2670292b5 100644 --- a/grc/gui/Actions.py +++ b/grc/gui/Actions.py @@ -329,6 +329,12 @@ TOGGLE_HIDE_DISABLED_BLOCKS = ToggleAction( stock_id=gtk.STOCK_MISSING_IMAGE, keypresses=(gtk.keysyms.d, gtk.gdk.CONTROL_MASK), ) +TOGGLE_HIDE_VARIABLES = ToggleAction( + label='Hide Variables', + tooltip='Hide all variable blocks', + preference_name='hide_variables', + default=False, +) TOGGLE_AUTO_HIDE_PORT_LABELS = ToggleAction( label='Auto-Hide _Port Labels', tooltip='Automatically hide port labels', -- cgit v1.2.3