[libpeas] Improve missing plugin dependency warning



commit 69cb3565900b3a96aa0fe5860db83ce3d9659218
Author: Garrett Regier <alias301 gmail com>
Date:   Sat Mar 5 00:00:34 2011 -0800

    Improve missing plugin dependency warning

 libpeas/peas-engine.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libpeas/peas-engine.c b/libpeas/peas-engine.c
index f591c76..15b902b 100644
--- a/libpeas/peas-engine.c
+++ b/libpeas/peas-engine.c
@@ -777,7 +777,8 @@ load_plugin (PeasEngine     *engine,
       dep_info = peas_engine_get_plugin_info (engine, dependencies[i]);
       if (!dep_info)
         {
-          g_warning ("Plugin not found: %s", dependencies[i]);
+          g_warning ("Could not find plugin '%s' for plugin '%s'",
+                     dependencies[i], info->name);
           g_set_error (&info->error,
                        PEAS_PLUGIN_INFO_ERROR,
                        PEAS_PLUGIN_INFO_ERROR_DEP_NOT_FOUND,



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