diff options
author | Sebastian Koslowski <koslowski@kit.edu> | 2014-01-04 16:43:40 +0100 |
---|---|---|
committer | Sebastian Koslowski <koslowski@kit.edu> | 2014-01-18 23:19:47 +0100 |
commit | 1c3b5187a61d8bf989d00791997a93a041d18d5b (patch) | |
tree | d10e57c4d0d8356ddddc29eec7e31c02282a73a7 /grc/gui/ActionHandler.py | |
parent | 7548e467bda2985f241e5ae0ac3939ced303ca23 (diff) |
grc: renaming flowgraph errors menu item and xml parser action
Diffstat (limited to 'grc/gui/ActionHandler.py')
-rw-r--r-- | grc/gui/ActionHandler.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/grc/gui/ActionHandler.py b/grc/gui/ActionHandler.py index 14a781a09b..86f06aad58 100644 --- a/grc/gui/ActionHandler.py +++ b/grc/gui/ActionHandler.py @@ -31,7 +31,7 @@ import Messages from .. base import ParseXML from MainWindow import MainWindow from PropsDialog import PropsDialog -from ParseDialog import ParseDialog +from ParserErrorsDialog import ParserErrorsDialog import Dialogs from FileDialogs import OpenFlowGraphFileDialog, SaveFlowGraphFileDialog, SaveImageFileDialog @@ -119,7 +119,7 @@ class ActionHandler: ): action.set_sensitive(True) if ParseXML.xml_failures: Messages.send_xml_errors_if_any(ParseXML.xml_failures) - Actions.PARSER_ERRORS.set_sensitive(True) + Actions.XML_PARSER_ERRORS_DISPLAY.set_sensitive(True) if not self.init_file_paths: self.init_file_paths = Preferences.files_open() @@ -384,8 +384,8 @@ class ActionHandler: ################################################## # View Parser Errors ################################################## - elif action == Actions.PARSER_ERRORS: - ParseDialog(ParseXML.xml_failures).run() + elif action == Actions.XML_PARSER_ERRORS_DISPLAY: + ParserErrorsDialog(ParseXML.xml_failures).run() ################################################## # Undo/Redo ################################################## @@ -467,7 +467,7 @@ class ActionHandler: self.platform.load_blocks() self.main_window.btwin.clear() self.platform.load_block_tree(self.main_window.btwin) - Actions.PARSER_ERRORS.set_sensitive(bool(ParseXML.xml_failures)) + Actions.XML_PARSER_ERRORS_DISPLAY.set_sensitive(bool(ParseXML.xml_failures)) Messages.send_xml_errors_if_any(ParseXML.xml_failures) elif action == Actions.FIND_BLOCKS: self.main_window.btwin.show() |