[gdm] Don't ever bubble up messages about "workers" to the user



commit c187baa574ae99203ec0a071da730aea32810aaa
Author: Ray Strode <rstrode redhat com>
Date:   Fri Jul 17 14:34:56 2009 -0400

    Don't ever bubble up messages about "workers" to the user
    
    That's a made up concept used solely by the implementation,
    and is not something the user should ever be confronted with.

 daemon/gdm-session-direct.c |   12 ++----------
 1 files changed, 2 insertions(+), 10 deletions(-)
---
diff --git a/daemon/gdm-session-direct.c b/daemon/gdm-session-direct.c
index 64b217a..e1ea8a0 100644
--- a/daemon/gdm-session-direct.c
+++ b/daemon/gdm-session-direct.c
@@ -1559,11 +1559,7 @@ worker_exited (GdmSessionWorkerJob *job,
         g_debug ("GdmSessionDirect: Worker job exited: %d", code);
 
         if (!session->priv->is_authenticated) {
-                char *msg;
-
-                msg = g_strdup_printf (_("worker exited with status %d"), code);
-                _gdm_session_authentication_failed (GDM_SESSION (session), msg);
-                g_free (msg);
+                _gdm_session_authentication_failed (GDM_SESSION (session), NULL);
         } else if (session->priv->is_running) {
                 _gdm_session_session_exited (GDM_SESSION (session), code);
         }
@@ -1577,11 +1573,7 @@ worker_died (GdmSessionWorkerJob *job,
         g_debug ("GdmSessionDirect: Worker job died: %d", signum);
 
         if (!session->priv->is_authenticated) {
-                char *msg;
-
-                msg = g_strdup_printf (_("worker exited with status %d"), signum);
-                _gdm_session_authentication_failed (GDM_SESSION (session), msg);
-                g_free (msg);
+                _gdm_session_authentication_failed (GDM_SESSION (session), NULL);
         } else if (session->priv->is_running) {
                 _gdm_session_session_died (GDM_SESSION (session), signum);
         }



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