[gnome-session] Reduce GConf roundtrips



commit 0ca3f5f4dec579f5943368fda55aa1597932b394
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Apr 23 21:45:41 2009 -0400

    Reduce GConf roundtrips
    
    Don't preload a whole directory tree when watching a single key
    as an autostart condition. (#578533)
---
 gnome-session/gsm-autostart-app.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gnome-session/gsm-autostart-app.c b/gnome-session/gsm-autostart-app.c
index 19210b9..167afe9 100644
--- a/gnome-session/gsm-autostart-app.c
+++ b/gnome-session/gsm-autostart-app.c
@@ -356,7 +356,7 @@ setup_condition_monitor (GsmAutostartApp *app)
 
                 gconf_client_add_dir (client,
                                       dir,
-                                      GCONF_CLIENT_PRELOAD_RECURSIVE, NULL);
+                                      GCONF_CLIENT_PRELOAD_NONE, NULL);
                 g_free (dir);
 
                 app->priv->condition_notify_id = gconf_client_notify_add (client,



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