[evolution-data-server/openismus-work-3-8] EDataBook: Create proxy to org.freedesktop.locale1 with a special flag.
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/openismus-work-3-8] EDataBook: Create proxy to org.freedesktop.locale1 with a special flag.
- Date: Thu, 4 Jul 2013 19:11:39 +0000 (UTC)
commit d4f0de3952ed5707883e3ba732f37643f55aa172
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 9a29980..e4fe3c7 100644
--- a/addressbook/libedata-book/e-data-book.c
+++ b/addressbook/libedata-book/e-data-book.c
@@ -1911,7 +1911,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]