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



commit e3b9159bf2c0cfc467e1c9bb8965d4f002ea0fe0
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
    
    (cherry picked from commit 9f90e0e0fe1ea236d55f2ead46d07ecda7e9827e)

 .../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 130951a..2e17a80 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]