Updating branch refs/heads/master
         to f55d99279abd6ad5ae6604a52266276895212fb2 (commit)
       from 4890ab2cf2a048c2ed637f0630e2b4b7036de157 (commit)

commit f55d99279abd6ad5ae6604a52266276895212fb2
Author: Harald Judt <[email protected]>
Date:   Wed Jun 27 08:16:26 2012 +0200

    Show start and end of timeslice in summary tab.

 panel-plugin/weather-summary.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/panel-plugin/weather-summary.c b/panel-plugin/weather-summary.c
index 27687d9..64e4b0e 100644
--- a/panel-plugin/weather-summary.c
+++ b/panel-plugin/weather-summary.c
@@ -273,14 +273,16 @@ create_summary_tab (xfceweather_data *data)
   value = g_strdup_printf (_("\tAltitude: %s %s\n"
                              "\tLatitude: %s%s\n"
                              "\tLongitude: %s%s\n\n"
-                             "\tData applies to: %s"),
+                             "\tData applies to time interval\n"
+                             "\tfrom %s\tto %s"),
                            get_data(timeslice, ALTITUDE),
                            get_unit(timeslice, data->unit, ALTITUDE),
                            get_data(timeslice, LATITUDE),
                            get_unit(timeslice, data->unit, LATITUDE),
                            get_data(timeslice, LONGITUDE),
                            get_unit(timeslice, data->unit, LONGITUDE),
-                           ctime(&timeslice->start));
+                           ctime(&timeslice->start),
+                           ctime(&timeslice->end));
   APPEND_TEXT_ITEM_REAL (value);
 
   /* Temperature */
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to