[gnome-control-center] notifications: Add some debug to the app processing



commit 2c4210c1be2644a74e6135be7a3b3c843341a893
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Jan 4 15:22:46 2013 +0100

    notifications: Add some debug to the app processing

 panels/notifications/cc-notifications-panel.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/panels/notifications/cc-notifications-panel.c b/panels/notifications/cc-notifications-panel.c
index 96a665d..a32d719 100644
--- a/panels/notifications/cc-notifications-panel.c
+++ b/panels/notifications/cc-notifications-panel.c
@@ -384,8 +384,12 @@ load_apps_thread (GTask        *task,
       GDesktopAppInfo *app;
 
       app = iter->data;
-      if (g_desktop_app_info_get_boolean (app, "X-GNOME-UsesNotifications"))
+      if (g_desktop_app_info_get_boolean (app, "X-GNOME-UsesNotifications")) {
         process_app_info (panel, task, G_APP_INFO (app));
+        g_debug ("Processing app '%s'", g_app_info_get_id (G_APP_INFO (app)));
+      } else {
+        g_debug ("Skipped app '%s', doesn't use notifications", g_app_info_get_id (G_APP_INFO (app)));
+      }
     }
 
   g_list_free_full (apps, g_object_unref);



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