projects
/
beifahrer
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11f159c
)
Ignore location change signals without an actual fix
author
Philipp Zabel
<philipp.zabel@gmail.com>
Mon, 26 Apr 2010 19:18:08 +0000
(21:18 +0200)
committer
Philipp Zabel
<philipp.zabel@gmail.com>
Tue, 27 Apr 2010 16:59:13 +0000
(18:59 +0200)
src/query-window.vala
patch
|
blob
|
history
diff --git
a/src/query-window.vala
b/src/query-window.vala
index
1b4a1d7
..
1730193
100644
(file)
--- a/
src/query-window.vala
+++ b/
src/query-window.vala
@@
-179,7
+179,7
@@
public class QueryWindow : StackableWindow {
}
void on_location_changed () requires (device.fix != null) {
- if (!want_location)
+ if (!want_location || device.status == Location.GPSDeviceStatus.NO_FIX)
return;
if (Location.GPS_DEVICE_LATLONG_SET in (int) device.fix.fields) {