gdm r6208 - in branches/gnome-2-20: . daemon
- From: bcameron svn gnome org
- To: svn-commits-list gnome org
- Subject: gdm r6208 - in branches/gnome-2-20: . daemon
- Date: Fri, 2 May 2008 18:25:02 +0100 (BST)
Author: bcameron
Date: Fri May 2 17:25:02 2008
New Revision: 6208
URL: http://svn.gnome.org/viewvc/gdm?rev=6208&view=rev
Log:
2008-05-02 Brian Cameron <brian cameron sun com>
* daemon/gdm-daemon-config.c: Remove call to gdm_config_load from
gdm_daemon_config_update_key. This function is only called when
the UPDATE_KEY message is passed to the daemon, which is typically
sent from gdmsetup when a specific configuration value has changed.
Calling gdm_config_load before processing the key will cause the
entire configuration to get reloaded since the datestamp on the
file will, of course, be newer than the last read. It is more
efficient to simply re-process the single key value requested via
the UPDATE_KEY command. This makes GDM behave more like it did
in GDM 2.18 and earlier.
Modified:
branches/gnome-2-20/ChangeLog
branches/gnome-2-20/daemon/gdm-daemon-config.c
Modified: branches/gnome-2-20/daemon/gdm-daemon-config.c
==============================================================================
--- branches/gnome-2-20/daemon/gdm-daemon-config.c (original)
+++ branches/gnome-2-20/daemon/gdm-daemon-config.c Fri May 2 17:25:02 2008
@@ -1272,9 +1272,6 @@
return FALSE;
}
- /* reload backend files if necessary */
- gdm_config_load (daemon_config, NULL);
-
/* Shortcut for updating all XDMCP parameters */
if (is_key (keystring, "xdmcp/PARAMETERS")) {
rc = gdm_daemon_config_update_key (GDM_KEY_DISPLAYS_PER_HOST);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]