[Xfce4-commits] <xfce4-weather-plugin:master> Clear datatypes model after closing configuration dialog.

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


Updating branch refs/heads/master
         to f37354fe6f2858c4feb9dadff79ad5023ccd0d2c (commit)
       from 402646ca5d8ddef4ffc5c777a9a12d3618546025 (commit)

commit f37354fe6f2858c4feb9dadff79ad5023ccd0d2c
Author: Harald Judt <h.judt at gmx.at>
Date:   Sun Nov 25 15:42:23 2012 +0100

    Clear datatypes model after closing configuration dialog.

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

diff --git a/panel-plugin/weather.c b/panel-plugin/weather.c
index a4b8f03..7f670cf 100644
--- a/panel-plugin/weather.c
+++ b/panel-plugin/weather.c
@@ -765,9 +765,9 @@ xfceweather_dialog_response(GtkWidget *dlg,
         weather_dump(weather_dump_plugindata, data);
 
         gtk_widget_destroy(dlg);
-#if 0
-        gtk_list_store_clear(dialog->mdl_xmloption);
-#endif
+
+        gtk_list_store_clear(dialog->model_datatypes);
+
         g_slice_free(xfceweather_dialog, dialog);
 
         xfce_panel_plugin_unblock_menu(data->plugin);


More information about the Xfce4-commits mailing list