gnome-keyring [PATCH] dbus init reoder



Hi,

With recent sesssion+dbus related changes I need the following patch so
that the daemon ssh agent functionality works as expected.

Also mentioned in this downstream fedora report
https://bugzilla.redhat.com/show_bug.cgi?id=476300



Yanko

-------------------------------------------------------------------
Date:   Tue Dec 16 02:31:16 2008 +0200

    On daemon initialisation move the dbus setup after the plugins setup
    so that all supported environment variables are exported to the session.

diff --git a/daemon/gkr-daemon.c b/daemon/gkr-daemon.c
index c1966a4..9e26511 100644
--- a/daemon/gkr-daemon.c
+++ b/daemon/gkr-daemon.c
@@ -634,8 +634,6 @@ gkr_daemon_complete_initialization(void)
 		return TRUE;
 	}
 	
-	gkr_daemon_dbus_setup ();
-	
 	/* Initialize object storage */
 	if (!gkr_pk_object_storage_initialize ())
 		return FALSE;
@@ -660,6 +658,8 @@ gkr_daemon_complete_initialization(void)
 			return FALSE;
 	}
 	
+	gkr_daemon_dbus_setup ();
+	
 	initialization_completed = TRUE;
 	return TRUE;
 }




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