[Xfce4-commits] <xfce4-weather-plugin:master> Fix certain labels not appearing in scrollbox (bug #9120).

Harald Judt noreply at xfce.org
Tue Jul 17 10:32:01 CEST 2012


Updating branch refs/heads/master
         to dd50f8b36b511e3983b286b285c39a9e60c04458 (commit)
       from 5a00a49cd9756c820b3b37e0f9ec9fa9722e74d8 (commit)

commit dd50f8b36b511e3983b286b285c39a9e60c04458
Author: Harald Judt <h.judt at gmx.at>
Date:   Tue Jul 17 10:30:16 2012 +0200

    Fix certain labels not appearing in scrollbox (bug #9120).
    
    Entries for some labels were missing in make_label().
    Thanks to Masato Hashimoto for reporting.

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

diff --git a/panel-plugin/weather.c b/panel-plugin/weather.c
index 802761f..22fcd78 100644
--- a/panel-plugin/weather.c
+++ b/panel-plugin/weather.c
@@ -132,9 +132,15 @@ make_label (xfceweather_data *data,
     case WIND_SPEED:
       lbl = _("WS");
       break;
+    case WIND_BEAUFORT:
+      lbl = _("WB");
+      break;
     case WIND_DIRECTION:
       lbl = _("WD");
       break;
+    case WIND_DIRECTION_DEG:
+      lbl = _("WD");
+      break;
     case HUMIDITY:
       lbl = _("H");
       break;


More information about the Xfce4-commits mailing list