[Xfce4-commits] <xfce4-weather-plugin:master> Config dialog: Add separator to scrollbox page.
Harald Judt
noreply at xfce.org
Tue Dec 18 18:44:01 CET 2012
Updating branch refs/heads/master
to 99f61010187b4bcea6c82f6725305986bee7cef2 (commit)
from 3b5268908ea1690cb1e69219e9ba8326069e7e27 (commit)
commit 99f61010187b4bcea6c82f6725305986bee7cef2
Author: Harald Judt <h.judt at gmx.at>
Date: Tue Dec 18 18:40:16 2012 +0100
Config dialog: Add separator to scrollbox page.
It looks a bit jammed together, so add a bit more space between
font and color and the widgets below.
panel-plugin/weather-config.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/panel-plugin/weather-config.c b/panel-plugin/weather-config.c
index ff26a40..1eee0c5 100644
--- a/panel-plugin/weather-config.c
+++ b/panel-plugin/weather-config.c
@@ -1201,7 +1201,7 @@ check_scrollbox_animate_toggled(GtkWidget *button,
static GtkWidget *
create_scrollbox_page(xfceweather_dialog *dialog)
{
- GtkWidget *palign, *page, *hbox, *table, *scroll, *label, *image;
+ GtkWidget *palign, *page, *hbox, *table, *scroll, *label, *image, *sep;
GtkSizeGroup *sg_misc, *sg_button;
GtkWidget *button_add, *button_del, *button_up, *button_down;
GtkTreeViewColumn *column;
@@ -1266,6 +1266,10 @@ create_scrollbox_page(xfceweather_dialog *dialog)
FALSE, FALSE, 0 );
gtk_box_pack_start(GTK_BOX(page), hbox, FALSE, FALSE, 0);
+ /* separator */
+ sep = gtk_hseparator_new();
+ gtk_box_pack_start(GTK_BOX(page), sep, FALSE, FALSE, BORDER * 2);
+
/* labels and buttons */
hbox = gtk_hbox_new(FALSE, BORDER);
sg_button = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL);
More information about the Xfce4-commits
mailing list