gnome-keyring/init-dbus-later.patch

29 lines
751 B
Diff

Author: Yanko Kanetii <yaneti@declera.com>
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;
}