[gnome-control-center] info: Add debug to the default app setting



commit 1af3a03ca3ea5d8ed1e0ddcd8e37b1865e1edc6a
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Dec 18 17:34:29 2012 +0100

    info: Add debug to the default app setting

 panels/info/cc-info-panel.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/panels/info/cc-info-panel.c b/panels/info/cc-info-panel.c
index 540b505..5fa2952 100644
--- a/panels/info/cc-info-panel.c
+++ b/panels/info/cc-info-panel.c
@@ -977,6 +977,11 @@ default_app_changed (GtkAppChooserButton *button,
       g_error_free (error);
       error = NULL;
     }
+  else
+    {
+      g_debug ("Set '%s' as the default handler for '%s'",
+               g_app_info_get_name (info), app_data->content_type);
+    }
 
   if (app_data->extra_type_filter)
     {
@@ -998,6 +1003,11 @@ default_app_changed (GtkAppChooserButton *button,
                          g_app_info_get_name (info), mime_types[i], error->message);
               g_error_free (error);
             }
+          else
+            {
+              g_debug ("Set '%s' as the default handler for '%s'",
+              g_app_info_get_name (info), mime_types[i]);
+            }
         }
 
       g_pattern_spec_free (pattern);



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