[gnome-session] gsm: Add some debug message in gsm-shell.c



commit 13b7b47f26646592785b9a4facf13b0e404d19ae
Author: Vincent Untz <vuntz gnome org>
Date:   Wed Feb 2 04:08:01 2011 +0100

    gsm: Add some debug message in gsm-shell.c

 gnome-session/gsm-shell.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/gnome-session/gsm-shell.c b/gnome-session/gsm-shell.c
index 922bf57..c1346b6 100644
--- a/gnome-session/gsm-shell.c
+++ b/gnome-session/gsm-shell.c
@@ -267,6 +267,8 @@ gsm_shell_ensure_connection (GsmShell  *shell,
                 }
         }
 
+        g_debug ("GsmShell: Connected to the shell");
+
         is_running = TRUE;
 
  out:
@@ -276,6 +278,8 @@ gsm_shell_ensure_connection (GsmShell  *shell,
         }
 
         if (!is_running) {
+                g_debug ("GsmShell: Not connected to the shell");
+
                 if (shell->priv->bus_connection == NULL) {
                         if (shell->priv->bus_proxy != NULL) {
                                 g_object_unref (shell->priv->bus_proxy);
@@ -326,7 +330,7 @@ gsm_shell_init (GsmShell *shell)
         error = NULL;
 
         if (!gsm_shell_ensure_connection (shell, &error)) {
-                g_debug ("Could not connect to the shell: %s",
+                g_debug ("GsmShell: Could not connect to the shell: %s",
                          error->message);
                 g_error_free (error);
         }



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