diff options
author | Sebastian Koslowski <koslowski@kit.edu> | 2013-11-23 23:00:06 +0100 |
---|---|---|
committer | Sebastian Koslowski <koslowski@kit.edu> | 2013-11-24 23:07:27 +0100 |
commit | 4c800c91617ee452987574862d8c0eeadfb7d611 (patch) | |
tree | 254d8f51481d293bd2e010f98bab48fa409865ea /grc/gui/Bars.py | |
parent | a00b94ec4a9949125ddb1711abf49d4d575d290d (diff) |
grc: switched to ToggleActions; made visibility settings persistent
Diffstat (limited to 'grc/gui/Bars.py')
-rw-r--r-- | grc/gui/Bars.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/grc/gui/Bars.py b/grc/gui/Bars.py index 6c72b04eca..0e2b29c4e3 100644 --- a/grc/gui/Bars.py +++ b/grc/gui/Bars.py @@ -57,6 +57,7 @@ TOOLBAR_LIST = ( ) ##The list of actions and categories for the menu bar. + MENU_BAR_LIST = ( (gtk.Action('File', '_File', None, None), [ Actions.FLOW_GRAPH_NEW, @@ -88,10 +89,10 @@ MENU_BAR_LIST = ( Actions.BLOCK_PARAM_MODIFY, ]), (gtk.Action('View', '_View', None, None), [ - Actions.TOGGLE_BLOCKTREE_WIDGET, - Actions.TOGGLE_REPORT_WIDGET, - Actions.ERRORS_WINDOW_DISPLAY, + Actions.TOGGLE_BLOCKS_WINDOW, + Actions.TOGGLE_REPORTS_WINDOW, None, + Actions.ERRORS_WINDOW_DISPLAY, Actions.FIND_BLOCKS, ]), (gtk.Action('Build', '_Build', None, None), [ @@ -106,7 +107,6 @@ MENU_BAR_LIST = ( Actions.ABOUT_WINDOW_DISPLAY, ]), ) - class Toolbar(gtk.Toolbar): """The gtk toolbar with actions added from the toolbar list.""" |