[gnome-builder/wip/libide: 220/237] libide: specify errored script name



commit 2ad411f996bca89d1ecdaf05a2f786ccb8420cbd
Author: Christian Hergert <christian hergert me>
Date:   Mon Feb 16 13:49:48 2015 -0800

    libide: specify errored script name

 libide/gjs/ide-gjs-script.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libide/gjs/ide-gjs-script.cpp b/libide/gjs/ide-gjs-script.cpp
index 5860b62..9afc943 100644
--- a/libide/gjs/ide-gjs-script.cpp
+++ b/libide/gjs/ide-gjs-script.cpp
@@ -210,7 +210,8 @@ ide_gjs_script_init_async (GAsyncInitable      *initable,
       g_task_return_new_error (task,
                                G_IO_ERROR,
                                G_IO_ERROR_NOT_SUPPORTED,
-                               _("The script is not a javascript file."));
+                               _("The script \"%s\" is not a javascript file."),
+                               path);
       return;
     }
 


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