summaryrefslogtreecommitdiff
path: root/grc/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'grc/src/gui')
-rw-r--r--grc/src/gui/Messages.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/grc/src/gui/Messages.py b/grc/src/gui/Messages.py
index e8e36f90f..e8939402d 100644
--- a/grc/src/gui/Messages.py
+++ b/grc/src/gui/Messages.py
@@ -99,3 +99,7 @@ def send_fail_load_preferences(prefs_file_path):
def send_fail_save_preferences(prefs_file_path):
send('>>> Error: Cannot save preferences file: "%s"\n'%prefs_file_path)
+
+################# functions for warning ########################################
+def send_warning(warning):
+ send('>>> Warning: %s\n'%warning)