[gnome-control-center] shell: Print warning for uninstantiable panels



commit 2e448904218ac76309098f2082b3533f02d2f2b7
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Jun 21 17:35:31 2011 +0100

    shell: Print warning for uninstantiable panels
    
    Install stuff in /usr/local, desktop icon shows up, and it doesn't
    work. That's because it can't load the GIO extension. Yell like a madman
    about it.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=652583

 shell/gnome-control-center.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/shell/gnome-control-center.c b/shell/gnome-control-center.c
index 18dfe31..a771282 100644
--- a/shell/gnome-control-center.c
+++ b/shell/gnome-control-center.c
@@ -165,6 +165,10 @@ activate_panel (GnomeControlCenter *shell,
                              nat_height);
           return;
         }
+      else
+        {
+          g_warning ("Could not find the loadable module for panel '%s'", id);
+        }
     }
 }
 



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