[gdm/gnome-2-20] Fix the dialog that asks the user if they want to change their default session



commit 2f5914175a8a9eced569c619c09fe56e6166f1f5
Author: Brian Cameron <Brian Cameron sun com>
Date:   Wed May 13 20:55:26 2009 -0500

    Fix the dialog that asks the user if they want to change their default session
    when the one in the user's .dmrc file is not installed on the system.
---
 ChangeLog             |   14 ++++++++++++++
 gui/gdmlogin.c        |    4 ++--
 gui/greeter/greeter.c |    4 ++--
 3 files changed, 18 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5be887e..d047f7a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2009-05-13 Brian Cameron <brian cameron sun com>
+
+	* gui/gdmlogin.c, gui/greeter/greeter.c: Fix the dialog that asks the
+	  user if they want to change their default session when the one in the
+	  user's .dmrc file is not installed on the system.
+
+2009-04-24 Brian Cameron <brian cameron sun com>
+
+	* configure.ac: Now configure favors the Xfree Xinerama interfaces over
+	  the obsolete Solaris specific interfaces.  This ensures that Xinerama
+	  works on OpenSolaris where Xfree should be used, and also on Solaris
+	  10 where the Solaris specific interfaces should be used.  Fixes bug
+	  #580060.  Also move DEFOPEN configure checks before Xinerama checks.
+
 2009-03-19 Brian Cameron <brian cameron sun com>
 
 	* Release 2.20.10:
diff --git a/gui/gdmlogin.c b/gui/gdmlogin.c
index 33d4227..bd204c6 100644
--- a/gui/gdmlogin.c
+++ b/gui/gdmlogin.c
@@ -1500,10 +1500,10 @@ process_operation (guchar       op_code,
 		case SESSION_LOOKUP_PREFERRED_MISSING:
 			firstmsg = g_strdup_printf (_("Do you wish to make %s the default for "
 						      "future sessions?"),
-						    gdm_session_name (tmp));	    
+						      gdm_session_name (gdm_get_default_session ()));
 			secondmsg = g_strdup_printf (_("Your preferred session type %s is not "
 						       "installed on this computer."),
-						     gdm_session_name (gdm_get_default_session ()));
+						       gdm_session_name (tmp));	    
 			save_session = gdm_wm_query_dialog (firstmsg, secondmsg,
 							    _("Make _Default"), _("Just _Log In"), TRUE);			
 			g_free (firstmsg);
diff --git a/gui/greeter/greeter.c b/gui/greeter/greeter.c
index 4a0cdf1..86704ba 100644
--- a/gui/greeter/greeter.c
+++ b/gui/greeter/greeter.c
@@ -332,10 +332,10 @@ process_operation (guchar       op_code,
 		case SESSION_LOOKUP_PREFERRED_MISSING:
 			firstmsg = g_strdup_printf (_("Do you wish to make %s the default for "
 						      "future sessions?"),
-						    gdm_session_name (tmp));	    
+						      gdm_session_name (gdm_get_default_session ()));
 			secondmsg = g_strdup_printf (_("Your preferred session type %s is not "
 						       "installed on this computer."),
-						     gdm_session_name (gdm_get_default_session ()));
+						       gdm_session_name (tmp));	    
 			save_session = gdm_wm_query_dialog (firstmsg, secondmsg,
 							    _("Make _Default"), _("Just _Log In"), TRUE);
 			



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