Show the climb rate more precisely release-1.0-11
authorDr. Johann Pfefferl <pfefferl@gmx.net>
Mon, 7 Jun 2010 09:50:34 +0000 (11:50 +0200)
committerDr. Johann Pfefferl <pfefferl@gmx.net>
Mon, 7 Jun 2010 09:51:59 +0000 (11:51 +0200)
debian/changelog
gps-tracker.c

index 81368e6..28f9118 100644 (file)
@@ -1,3 +1,9 @@
+gps-tracker (1.0-11) unstable; urgency=low
+
+  * Show the climb rate more precisely
+
+ -- Dr. Johann Pfefferl <pfefferl@gmx.net>  Mon, 07 Jun 2010 11:51:39 +0200
+
 gps-tracker (1.0-10) unstable; urgency=low
 
   * Extended the tool to write more than one track segment
index cb3ebdb..0e39111 100644 (file)
@@ -237,7 +237,7 @@ static void on_gps_device_changed (LocationGPSDevice *device, gpointer data)
 
       if (device->fix->fields & LOCATION_GPS_DEVICE_CLIMB_SET) {
         //g_print ("climb = %f\n", device->fix->climb);
-        CHANGE_LABEL(app_data->climb_val_label, "%+4.0fm/s", device->fix->climb);
+        CHANGE_LABEL(app_data->climb_val_label, "%+6.2fm/s", device->fix->climb);
       }
       else
         CHANGE_LABEL(app_data->climb_val_label, " ?", NULL);