Zeeshan Ali (Khattak)
59634b2cf5
location: Rename _updateMenuVisibility to _updateMenu
...
We'll soon be doing more than just toggling the accuracy of menu itself
in this function. Hence the renaming.
https://bugzilla.gnome.org/show_bug.cgi?id=723684
2014-02-17 12:08:40 +00:00
Zeeshan Ali (Khattak)
7c3892f5a2
location: disconnect from 'g-properties-changed' signal
...
https://bugzilla.gnome.org/show_bug.cgi?id=723684
2014-02-17 12:08:40 +00:00
Zeeshan Ali (Khattak)
19406a238b
location: 'MaxAccuracyLevel' property is now read-only
...
https://bugzilla.gnome.org/show_bug.cgi?id=723684
2014-02-17 12:08:40 +00:00
Zeeshan Ali (Khattak)
d6146197dd
location,schema: Keep max accuracy in gsetting
...
Instead of relying on geoclue to store this user configuration, lets
keep it in gsettings. Geoclue is a system service and therefore is not
the appropriate entity to keep this info.
https://bugzilla.gnome.org/show_bug.cgi?id=723684
2014-02-17 12:08:39 +00:00
Zeeshan Ali (Khattak)
38f241479c
location: Coding style fixes
...
No space between identifier and '('.
https://bugzilla.gnome.org/show_bug.cgi?id=723684
2014-02-17 12:08:39 +00:00
Zeeshan Ali (Khattak)
aa45999824
location: Rename _setAccuracy to setMaxAccuracyLevel
...
More descriptive name to avoid any confusion.
https://bugzilla.gnome.org/show_bug.cgi?id=723684
2014-02-17 12:08:39 +00:00
Zeeshan Ali (Khattak)
3113bac8e6
location: React to changes in available accuracy level
...
GPS could be plugged in and out, network can go up and down and
therefore available accuracy level can also change.
https://bugzilla.gnome.org/show_bug.cgi?id=723684
2014-02-15 17:41:26 +00:00
Zeeshan Ali (Khattak)
9217f2c916
location: Don't show menu if geoclue is totally incapable
...
If geoclue can't provide location at all (no GPS or network), don't
bother to show controls that don't serve any purpose.
https://bugzilla.gnome.org/show_bug.cgi?id=723684
2014-02-15 17:41:26 +00:00
Zeeshan Ali (Khattak)
32a49b7846
location: Provide a way to disable geolocation
...
Now that we are indicating 'geolocation in use' to user, we better also
provide at least a way to disable geolocation. Once this is in place, we
can provide slightly better controls rather than simply on/off switch.
https://bugzilla.gnome.org/show_bug.cgi?id=723684
2014-02-15 17:41:26 +00:00
Zeeshan Ali (Khattak)
12ef034b7b
location: Make _connectToGeoclue() reentrent
...
https://bugzilla.gnome.org/show_bug.cgi?id=723684
2014-02-15 17:41:26 +00:00
Zeeshan Ali (Khattak)
e70e4a21f2
location: Rename _onGeoclueAppeared to _connectToGeoclue
...
Rename _onGeoclueAppeared to _connectToGeoclue as in the following patch
we'll call it from other contexts then geoclue appearing.
https://bugzilla.gnome.org/show_bug.cgi?id=723684
2014-02-15 17:41:26 +00:00
Zeeshan Ali (Khattak)
7826fb4f04
location: Create Geoclue proxy asynchronously
...
https://bugzilla.gnome.org/show_bug.cgi?id=723684
2014-02-15 17:41:26 +00:00
Zeeshan Ali (Khattak)
d163b92e0b
Add indicator for location service being used
...
If an application is accessing location through geoclue, show an
indicator in the panel for that so that user knows.
https://bugzilla.gnome.org/show_bug.cgi?id=709372
2014-01-28 18:39:12 +00:00