[Xfce4-commits] <xfce4-weather-plugin:master> Initialize new plugin variables with sane defaults.

Harald Judt noreply at xfce.org
Tue Nov 27 16:46:23 CET 2012


Updating branch refs/heads/master
         to 9aa8645e8c6d33baaa78bf8d8e5ae1af19684cd9 (commit)
       from 64c54269e6102df7f19a11e19562e2d9bf1d4738 (commit)

commit 9aa8645e8c6d33baaa78bf8d8e5ae1af19684cd9
Author: Harald Judt <h.judt at gmx.at>
Date:   Sat Nov 24 16:29:28 2012 +0100

    Initialize new plugin variables with sane defaults.

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

diff --git a/panel-plugin/weather.c b/panel-plugin/weather.c
index d1f3c72..6ab52eb 100644
--- a/panel-plugin/weather.c
+++ b/panel-plugin/weather.c
@@ -983,7 +983,11 @@ xfceweather_create_control(XfcePanelPlugin *plugin)
     data->plugin = plugin;
     data->units = g_slice_new0(units_config);
     data->weatherdata = NULL;
+    data->show_scrollbox = TRUE;
+    data->scrollbox_lines = 1;
+    data->scrollbox_animate = TRUE;
     data->forecast_days = DEFAULT_FORECAST_DAYS;
+    data->round = TRUE;
 
     /* Setup session for HTTP connections */
     data->session = soup_session_async_new();


More information about the Xfce4-commits mailing list