[gdm] Forward accreditation failed messages to greeter
- From: Ray Strode <halfline src gnome org>
- To: svn-commits-list gnome org
- Subject: [gdm] Forward accreditation failed messages to greeter
- Date: Fri, 17 Jul 2009 20:04:46 +0000 (UTC)
commit 6b68c285be50c183d75ed802932130b9270520cf
Author: Vincent Untz <vuntz gnome org>
Date: Fri Jul 17 16:02:47 2009 -0400
Forward accreditation failed messages to greeter
Before the details were getting dropped.
See http://bugzilla.gnome.org/show_bug.cgi?id=569741
daemon/gdm-simple-slave.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gdm-simple-slave.c b/daemon/gdm-simple-slave.c
index 72efdfd..8b161bb 100644
--- a/daemon/gdm-simple-slave.c
+++ b/daemon/gdm-simple-slave.c
@@ -425,8 +425,14 @@ on_session_accreditation_failed (GdmSession *session,
accreditation fails */
if (! migrated) {
if (slave->priv->greeter_server != NULL) {
+ const char *problem;
+ if (message) {
+ problem = message;
+ } else {
+ problem = _("Unable to establish credentials");
+ }
gdm_greeter_server_problem (slave->priv->greeter_server,
- _("Unable establish credentials"));
+ problem);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]