[gdm] daemon: add some more debug spew



commit 90b6d7f55d1f60eb8131400fde924fb630ba9d4b
Author: Ray Strode <rstrode redhat com>
Date:   Tue Mar 8 13:15:46 2011 -0500

    daemon: add some more debug spew

 daemon/gdm-session-settings.c |    2 ++
 daemon/gdm-session-worker.c   |    5 +++++
 2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/daemon/gdm-session-settings.c b/daemon/gdm-session-settings.c
index ec56dc0..9473fa4 100644
--- a/daemon/gdm-session-settings.c
+++ b/daemon/gdm-session-settings.c
@@ -262,6 +262,7 @@ load_settings_from_user (GdmSessionSettings *settings)
         }
 
         session_name = act_user_get_x_session (settings->priv->user);
+        g_debug ("GdmSessionSettings: saved session is %s", session_name);
 
         if (session_name != NULL) {
                 gdm_session_settings_set_session_name (settings, session_name);
@@ -269,6 +270,7 @@ load_settings_from_user (GdmSessionSettings *settings)
 
         language_name = act_user_get_language (settings->priv->user);
 
+        g_debug ("GdmSessionSettings: saved language is %s", language_name);
         if (language_name != NULL) {
                 gdm_session_settings_set_language_name (settings, language_name);
         }
diff --git a/daemon/gdm-session-worker.c b/daemon/gdm-session-worker.c
index e2d16e9..137b69d 100644
--- a/daemon/gdm-session-worker.c
+++ b/daemon/gdm-session-worker.c
@@ -592,6 +592,7 @@ static void
 attempt_to_load_user_settings (GdmSessionWorker *worker,
                                const char       *username)
 {
+        g_debug ("GdmSessionWorker: attempting to load user settings");
         gdm_session_settings_load (worker->priv->user_settings,
                                    username);
 }
@@ -1955,6 +1956,8 @@ on_saved_language_name_read (GdmSessionWorker *worker)
         char *language_name;
 
         language_name = gdm_session_settings_get_language_name (worker->priv->user_settings);
+
+        g_debug ("GdmSessionWorker: Saved language is %s", language_name);
         send_dbus_string_method (worker->priv->connection,
                                  "SavedLanguageNameRead",
                                  language_name);
@@ -1967,6 +1970,8 @@ on_saved_session_name_read (GdmSessionWorker *worker)
         char *session_name;
 
         session_name = gdm_session_settings_get_session_name (worker->priv->user_settings);
+
+        g_debug ("GdmSessionWorker: Saved session is %s", session_name);
         send_dbus_string_method (worker->priv->connection,
                                  "SavedSessionNameRead",
                                  session_name);



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