diff options
author | Josh Blum <josh@joshknows.com> | 2009-09-18 02:22:43 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2009-09-18 02:22:43 -0700 |
commit | d28d40d33dac481296e1f836ec57f1018041d418 (patch) | |
tree | 9eb162aae0088a69863da66eb2c1f05a2e111615 /grc/gui | |
parent | 14895064d7345c2223ff2b8ff3b9cbcdf69dd8c9 (diff) |
put the flow graph errors button into the toolbar
Diffstat (limited to 'grc/gui')
-rw-r--r-- | grc/gui/Actions.py | 6 | ||||
-rw-r--r-- | grc/gui/Bars.py | 1 | ||||
-rw-r--r-- | grc/gui/Dialogs.py | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/grc/gui/Actions.py b/grc/gui/Actions.py index 1cc12a8194..f374efde18 100644 --- a/grc/gui/Actions.py +++ b/grc/gui/Actions.py @@ -217,7 +217,7 @@ BLOCK_PASTE = Action( ) ERRORS_WINDOW_DISPLAY = Action( label='_Errors', - tooltip='Flowgraph error messages', + tooltip='View flow graph errors', stock_id=gtk.STOCK_DIALOG_ERROR, ) ABOUT_WINDOW_DISPLAY = Action( @@ -227,13 +227,13 @@ ABOUT_WINDOW_DISPLAY = Action( ) HELP_WINDOW_DISPLAY = Action( label='_Help', - tooltip='Usage Tips', + tooltip='Usage tips', stock_id=gtk.STOCK_HELP, keypresses=(gtk.keysyms.F1, NO_MODS_MASK), ) TYPES_WINDOW_DISPLAY = Action( label='_Types', - tooltip='Types Color Mapping', + tooltip='Types color mapping', stock_id=gtk.STOCK_DIALOG_INFO, ) FLOW_GRAPH_GEN = Action( diff --git a/grc/gui/Bars.py b/grc/gui/Bars.py index 17835eb004..8fd1678698 100644 --- a/grc/gui/Bars.py +++ b/grc/gui/Bars.py @@ -39,6 +39,7 @@ TOOLBAR_LIST = ( Actions.FLOW_GRAPH_UNDO, Actions.FLOW_GRAPH_REDO, None, + Actions.ERRORS_WINDOW_DISPLAY, Actions.FLOW_GRAPH_GEN, Actions.FLOW_GRAPH_EXEC, Actions.FLOW_GRAPH_KILL, diff --git a/grc/gui/Dialogs.py b/grc/gui/Dialogs.py index a8e7afb057..af40f47c08 100644 --- a/grc/gui/Dialogs.py +++ b/grc/gui/Dialogs.py @@ -67,7 +67,7 @@ $encode($err_msg.replace('\t', ' ')) def ErrorsDialog(flowgraph): MessageDialogHelper( type=gtk.MESSAGE_ERROR, buttons=gtk.BUTTONS_CLOSE, - title='Flowgraph Errors', + title='Flow Graph Errors', markup=Utils.parse_template(ERRORS_MARKUP_TMPL, errors=flowgraph.get_error_messages()), ) |