[gnome-shell] Util: use the right function name when reporting errors.



commit 650f35c1f360df45ad72c3b36b3aba417acede17
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Sat Mar 19 18:59:22 2011 +0100

    Util: use the right function name when reporting errors.
    
    It's Main.notifyError, not Main.notifyProblem.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=645248

 js/misc/util.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/misc/util.js b/js/misc/util.js
index 1112bef..e228117 100644
--- a/js/misc/util.js
+++ b/js/misc/util.js
@@ -104,7 +104,7 @@ function trySpawnCommandLine(command_line) {
 
 function _handleSpawnError(command, err) {
     let title = _("Execution of '%s' failed:").format(command);
-    Main.notifyProblem(title, err.message);
+    Main.notifyError(title, err.message);
 }
 
 // killall:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]