On Wed, 2014-02-12 at 12:32 +0000, Potrola, MateuszX wrote: > Hi, > > > > I’m using version of EDS from openismus-work-3-8 branch and I’m using > it as a direct reader of address books. I’ve noticed that after > changing system locale after some time I’m receiving notifications > about locale change from each of address books - which is something > expected. The problem is that I’m getting this notifications from all > of them at the same time - after the last of address books updated its > locale. Time needed to update locale for all address books depends on > number and size of them, and in my case can take up to 1 or 2 minutes, > I would like to be notified as soon as possible about locale change > for given address book, so I can for example present results from > given address book with new sorting order to the user (assuming that > user intention for locale change was getting different sorting order > of results). > > I think that this behaviour may be caused by similar issue like this > one https://bugzilla.gnome.org/show_bug.cgi?id=693464. > The openismus-work-3-8 branch still has a bug with locale changes specifically if you have more than one addressbook present.
Please use master/gnome-3-10 - or at least look into the patch on this bug: https://bugzilla.gnome.org/show_bug.cgi?id=723276 Regarding your specific issue - it's probably working the same way in master as in the branch - my guess is that this is due to D-Bus property changes being delayed until the main loop is hit. It may be that a simple call to g_dbus_interface_skeleton_flush() inside the loop which sets locale on each book would fix this. Cheers, -Tristan > > Regards, > > Mateusz Polrola > > > > > Intel GmbH > Dornacher Strasse 1 > 85622 Feldkirchen/Muenchen, Deutschland > Sitz der Gesellschaft: Feldkirchen bei Muenchen > Geschaeftsfuehrer: Christian Lamprechter, Hannes Schwaderer, Douglas > Lusk > Registergericht: Muenchen HRB 47456 > Ust.-IdNr./VAT Registration No.: DE129385895 > Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052 > > _______________________________________________ > evolution-hackers mailing list > evolution-hackers@gnome.org > To change your list options or unsubscribe, visit ... > https://mail.gnome.org/mailman/listinfo/evolution-hackers _______________________________________________ evolution-hackers mailing list evolution-hackers@gnome.org To change your list options or unsubscribe, visit ... https://mail.gnome.org/mailman/listinfo/evolution-hackers