[gnome-builder] libide: specify errored script name



commit 1b23d0abaef590e0eafc36045a69c0626414b0f7
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]