GNOME Bugzilla – Bug 785891
The location Services status does not get updated when it gets enabled or disabled
Last modified: 2017-11-23 14:50:31 UTC
The status of Location Services shown in the privacy setting does not get updated ones the user enables/disables the service. Steps to reproduce: Enable/disable location Service in gnome-control-center. Until the user exits the privacy settings the Location Service remains off(or on). Al other privacy settings are updated immediately.
I can confirm that with gnome-control-center-3.24.3-1.1 on oenSUSE Tumbleweed.
Created attachment 364070 [details] [review] [PATCH] update location state in panel when it changes I added a signal handler for changes of the location settings to update the panel.
Review of attachment 364070 [details] [review]: thanks, I'll push a slightly modified version but keeping attribution to you
Created attachment 364125 [details] [review] privacy: update location state in panel when it changes Add a signal handler for changes of the location setting to update (on/off/In use) lable.
Fine with me. Is there any special reason you use g_signal_connect_object () instate of g_signal_connect_swapped ()?
(In reply to Julian Sparber from comment #5) > Fine with me. > Is there any special reason you use g_signal_connect_object () instate of > g_signal_connect_swapped ()? GSettings instances (used to) have a non-obvious lifecycle[1] and in any case, experience has taught me that g_signal_connect_object() is almost always what you should use to be safe anyway. [1] https://bugzilla.gnome.org/show_bug.cgi?id=780861#c15
Attachment 364125 [details] pushed as b083343 - privacy: update location state in panel when it changes