summaryrefslogtreecommitdiff
path: root/grc/gui/Messages.py
diff options
context:
space:
mode:
Diffstat (limited to 'grc/gui/Messages.py')
-rw-r--r--grc/gui/Messages.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/grc/gui/Messages.py b/grc/gui/Messages.py
index d903e40a45..a6620aa72f 100644
--- a/grc/gui/Messages.py
+++ b/grc/gui/Messages.py
@@ -53,6 +53,12 @@ def send_init(platform):
def send_page_switch(file_path):
send('\nShowing: "%s"\n'%file_path)
+################# functions for loading blocks ########################################
+def send_xml_errors_if_any(xml_failures):
+ if xml_failures:
+ send('\nXML parser: Found {} erroneous XML file{} while loading the block tree '
+ '(see "Help/Parser errors" for details)\n'.format(len(xml_failures), 's' if len(xml_failures) > 1 else ''))
+
################# functions for loading flow graphs ########################################
def send_start_load(file_path):
send('\nLoading: "%s"'%file_path + '\n')