gdm r5836 - in trunk: . daemon



Author: halfline
Date: Thu Feb 21 06:06:00 2008
New Revision: 5836
URL: http://svn.gnome.org/viewvc/gdm?rev=5836&view=rev

Log:
2008-02-21  Ray Strode  <rstrode redhat com>

	* daemon/gdm-session-worker.c:
	(attempt_to_load_user_settings_as_root):
	Add FIXME comment to show "Last Session" 
	and "Last Language" (in favor of more
	specific values) more often


Modified:
   trunk/ChangeLog
   trunk/daemon/gdm-session-worker.c

Modified: trunk/daemon/gdm-session-worker.c
==============================================================================
--- trunk/daemon/gdm-session-worker.c	(original)
+++ trunk/daemon/gdm-session-worker.c	Thu Feb 21 06:06:00 2008
@@ -510,6 +510,16 @@
         setegid (passwd_entry->pw_gid);
         seteuid (passwd_entry->pw_uid);
 
+        /* FIXME: if this call fails, we should probably do some
+         * heuristics to try to figure out if .dmrc doesn't
+         * exist at all or just isn't readable yet.  If it doesn't
+         * exist at all (and won't exist by the end of the pam
+         * conversation) then we should send some sort of
+         * "NoSavedSettings" message to the slave so that it can
+         * tell the greeter to use specific default settings
+         * instead of the place holder "Last Session" "Last
+         * Language" items in the combo boxes in the panel
+         */
         gdm_session_settings_load (worker->priv->user_settings,
                                    passwd_entry->pw_dir,
                                    NULL);



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