[evolution-data-server] Fix UOA accounts accumulating on startup.



commit 9f90e0e0fe1ea236d55f2ead46d07ecda7e9827e
Author: Michael Blennerhassett <mjblenner launchpad net>
Date:   Tue Sep 30 13:26:26 2014 -0400

    Fix UOA accounts accumulating on startup.
    
    Contributed by an Ubuntu user:
    https://bugs.launchpad.net/ubuntu/+source/evolution-data-server/+bug/1373908

 .../module-ubuntu-online-accounts.c                |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/modules/ubuntu-online-accounts/module-ubuntu-online-accounts.c 
b/modules/ubuntu-online-accounts/module-ubuntu-online-accounts.c
index 535c7d0..4caec66 100644
--- a/modules/ubuntu-online-accounts/module-ubuntu-online-accounts.c
+++ b/modules/ubuntu-online-accounts/module-ubuntu-online-accounts.c
@@ -891,9 +891,10 @@ ubuntu_online_accounts_constructed (GObject *object)
        extensible = e_extension_get_extensible (extension);
 
        /* Wait for the registry service to acquire its well-known
-        * bus name so we don't do anything destructive beforehand. */
+        * bus name so we don't do anything destructive beforehand.
+        * Run last so that all the sources get loaded first. */
 
-       g_signal_connect (
+       g_signal_connect_after (
                extensible, "bus-acquired",
                G_CALLBACK (ubuntu_online_accounts_bus_acquired_cb),
                extension);


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