projects
/
gps-tracker
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e35d2c2
)
Show some satellite info on the gui
author
Dr. Johann Pfefferl
<pfefferl@nghape.jpnet>
Fri, 7 May 2010 20:08:38 +0000
(22:08 +0200)
committer
Dr. Johann Pfefferl
<pfefferl@nghape.jpnet>
Fri, 7 May 2010 20:08:38 +0000
(22:08 +0200)
gps-tracker.c
patch
|
blob
|
history
diff --git
a/gps-tracker.c
b/gps-tracker.c
index
7d7761d
..
2f7c8ba
100644
(file)
--- a/
gps-tracker.c
+++ b/
gps-tracker.c
@@
-65,6
+65,7
@@
on_gps_device_changed (LocationGPSDevice *device, gpointer data)
g_print ("Satellites in view: %d\n", device->satellites_in_view);
g_print ("Satellites in use: %d\n", device->satellites_in_use);
+ g_string_append_printf (msg, "Satellites = % 2d/% 2d\n", device->satellites_in_use, device->satellites_in_view);
g_print ("GPS status: %d\n", device->status);
hildon_gtk_window_set_progress_indicator(GTK_WINDOW(window), device->status == LOCATION_GPS_DEVICE_STATUS_NO_FIX);