diff options
author | Seth Hitefield <sdhitefield@gmail.com> | 2016-05-10 15:06:28 -0400 |
---|---|---|
committer | Seth Hitefield <sdhitefield@gmail.com> | 2016-05-18 19:02:22 -0400 |
commit | a682562051c75e3a17f0c246dc3a57cea4fab20d (patch) | |
tree | a5ea0caec27b4915a9914931f02b96b77eaaae0c /grc/gui/Actions.py | |
parent | 6353fdb06608edc23c837afaab93dd09dc583d2c (diff) |
grc: Added the variable editor panel
Diffstat (limited to 'grc/gui/Actions.py')
-rw-r--r-- | grc/gui/Actions.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/grc/gui/Actions.py b/grc/gui/Actions.py index e2670292b5..d96e80cee3 100644 --- a/grc/gui/Actions.py +++ b/grc/gui/Actions.py @@ -173,6 +173,7 @@ class ToggleAction(gtk.ToggleAction, _ActionBase): ######################################################################## PAGE_CHANGE = Action() EXTERNAL_UPDATE = Action() +VARIABLE_EDITOR_UPDATE = Action() FLOW_GRAPH_NEW = Action( label='_New', tooltip='Create a new flow graph', @@ -335,6 +336,20 @@ TOGGLE_HIDE_VARIABLES = ToggleAction( preference_name='hide_variables', default=False, ) +TOGGLE_FLOW_GRAPH_VAR_EDITOR = ToggleAction( + label='Show _Variable Editor', + tooltip='Show the variable editor. Modify variables and imports in this flow graph', + stock_id=gtk.STOCK_EDIT, + default=True, + keypresses=(gtk.keysyms.e, gtk.gdk.CONTROL_MASK), + preference_name='variable_editor_visable', +) +TOGGLE_FLOW_GRAPH_VAR_EDITOR_SIDEBAR = ToggleAction( + label='Move Variable Editor to the Sidebar', + tooltip='Move the variable editor to the sidebar', + default=False, + preference_name='variable_editor_sidebar', +) TOGGLE_AUTO_HIDE_PORT_LABELS = ToggleAction( label='Auto-Hide _Port Labels', tooltip='Automatically hide port labels', |