diff options
author | Mateusz Polrola <mateuszx.potrola@intel.com> | 2014-02-21 09:02:55 +0100 |
---|---|---|
committer | Patrick Ohly <patrick.ohly@intel.com> | 2014-03-05 11:43:51 +0100 |
commit | 7656da4713b236568c0eefcd3be8371522522ffd (patch) | |
tree | 892df29a283b1cc105b16ae354d2e339f0742883 | |
parent | c3db199edad37fb3c8bcb5a016635a6e7c52d3a6 (diff) | |
download | evolution-data-server-openismus-work-3-8.tar.gz |
Addressbook: Flushing DBus properties after setting new locale.openismus-work-3-8
DBus signals about change of locale property for given address book are
deferred until all address books will update their locale.
Depending on the number of address books and their size delay between
changing address book's locale property and receiving signal about that
takes about one or two minutes.
Flushing DBus properties after changing locale property of address book
causes immediate emission of DBus signal.
(cherry picked from commit 69e94310c5dc8a55ff311f86e3fc40b59ea6fba3)
-rw-r--r-- | addressbook/libedata-book/e-data-book.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/addressbook/libedata-book/e-data-book.c b/addressbook/libedata-book/e-data-book.c index f45da7a20..1b91bce1b 100644 --- a/addressbook/libedata-book/e-data-book.c +++ b/addressbook/libedata-book/e-data-book.c @@ -2554,8 +2554,10 @@ e_data_book_set_locale (EDataBook *book, cancellable, error); - if (success) + if (success) { e_dbus_address_book_set_locale (book->priv->dbus_interface, locale); + g_dbus_interface_skeleton_flush (book->priv->dbus_interface); + } return success; } |