[Xfce4-commits] <xfce4-weather-plugin:master> Fix summary window being too small when there's no data available.

Harald Judt noreply at xfce.org
Fri Jul 13 16:50:10 CEST 2012


Updating branch refs/heads/master
         to 06b98d2e57b5d5a731960201c40b9aec2f4f8adb (commit)
       from 47284ab74fe32c11838d139721636092165083da (commit)

commit 06b98d2e57b5d5a731960201c40b9aec2f4f8adb
Author: Harald Judt <h.judt at gmx.at>
Date:   Wed Jul 11 14:19:01 2012 +0200

    Fix summary window being too small when there's no data available.

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

diff --git a/panel-plugin/weather-summary.c b/panel-plugin/weather-summary.c
index 81777ac..2906ecc 100644
--- a/panel-plugin/weather-summary.c
+++ b/panel-plugin/weather-summary.c
@@ -601,6 +601,7 @@ create_summary_window (xfceweather_data *data)
 
     gtk_box_pack_start (GTK_BOX (vbox), GTK_WIDGET(hbox),
                         TRUE, TRUE, 0);
+    gtk_window_set_default_size (GTK_WINDOW (window), 500, 400);
   } else {
     notebook = gtk_notebook_new ();
     gtk_container_set_border_width (GTK_CONTAINER (notebook), BORDER);


More information about the Xfce4-commits mailing list