[evolution-data-server/openismus-work-master: 54/137] EDataBook: Create proxy to org.freedesktop.locale1 with a special flag.



commit 382f96803390ab6ebd3822b90243ec3ab05ad429
Author: Tristan Van Berkom <tristanvb openismus com>
Date:   Thu Jul 4 17:39:51 2013 +0900

    EDataBook: Create proxy to org.freedesktop.locale1 with a special flag.
    
    Use G_DBUS_PROXY_FLAGS_GET_INVALIDATED_PROPERTIES so that locale
    property changes will be explicitly fetched when invalidation
    messages are received.
    
    Also remove the DO_NOT_AUTOSTART flag which was not really useful.

 addressbook/libedata-book/e-data-book.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/addressbook/libedata-book/e-data-book.c b/addressbook/libedata-book/e-data-book.c
index f27006b..9384fe1 100644
--- a/addressbook/libedata-book/e-data-book.c
+++ b/addressbook/libedata-book/e-data-book.c
@@ -1582,7 +1582,7 @@ data_book_localed_appeared (GDBusConnection *connection,
        book->priv->localed_cancel = g_cancellable_new ();
 
        e_dbus_locale1_proxy_new (connection,
-                                 G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START,
+                                 G_DBUS_PROXY_FLAGS_GET_INVALIDATED_PROPERTIES,
                                  "org.freedesktop.locale1",
                                  "/org/freedesktop/locale1",
                                  book->priv->localed_cancel,


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