[Xfce4-commits] <xfce4-weather-plugin:master> Make left click toggle the forecast window (bug #8805).
Harald Judt
noreply at xfce.org
Mon Jul 2 12:38:19 CEST 2012
Updating branch refs/heads/master
to 78eb3300efe9ce0cc7246c5fe84800a143ae1842 (commit)
from a1160b9f6b1cccdec05ebcc976f1defc264d27eb (commit)
commit 78eb3300efe9ce0cc7246c5fe84800a143ae1842
Author: Harald Judt <h.judt at gmx.at>
Date: Mon Jul 2 12:27:22 2012 +0200
Make left click toggle the forecast window (bug #8805).
panel-plugin/weather.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/panel-plugin/weather.c b/panel-plugin/weather.c
index 25fbc2a..0f1ffbe 100644
--- a/panel-plugin/weather.c
+++ b/panel-plugin/weather.c
@@ -630,10 +630,7 @@ forecast_click (GtkWidget *widget,
xfceweather_data *data = (xfceweather_data *) user_data;
if (data->summary_window != NULL)
- {
-
- gtk_window_present (GTK_WINDOW (data->summary_window));
- }
+ gtk_widget_destroy (data->summary_window);
else
{
data->summary_window = create_summary_window (data);
More information about the Xfce4-commits
mailing list