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.
success = e_book_backend_set_locale (
backend, locale, 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);
+ }
g_object_unref (backend);