[gnome-control-center] shell: Fix --verbose not working anymore



commit 93bc61e0b46d5209f579ae85d00e4f8930c42356
Author: Bastien Nocera <hadess hadess net>
Date:   Wed May 23 18:06:22 2012 +0100

    shell: Fix --verbose not working anymore

 shell/cc-shell-log.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/shell/cc-shell-log.c b/shell/cc-shell-log.c
index 6301772..b5ebc23 100644
--- a/shell/cc-shell-log.c
+++ b/shell/cc-shell-log.c
@@ -54,6 +54,8 @@ cc_shell_log_init (void)
 void
 cc_shell_log_set_debug (gboolean debug)
 {
+        g_setenv ("G_MESSAGES_DEBUG", "all", TRUE);
+
         if (debug) {
                 log_levels |= (G_LOG_LEVEL_DEBUG | G_LOG_LEVEL_INFO);
                 g_debug ("Enabling debugging");



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