[Goodies-commits] r6442 - in sion/trunk: . src
Enrico Troeger
enrico at xfce.org
Mon Jan 12 20:19:21 CET 2009
Author: enrico
Date: 2009-01-12 19:19:21 +0000 (Mon, 12 Jan 2009)
New Revision: 6442
Modified:
sion/trunk/ChangeLog
sion/trunk/src/preferencesdialog.c
Log:
Add a separator between the heading and the content in the prefs dialog to make it look more like the original.
Modified: sion/trunk/ChangeLog
===================================================================
--- sion/trunk/ChangeLog 2009-01-12 19:19:15 UTC (rev 6441)
+++ sion/trunk/ChangeLog 2009-01-12 19:19:21 UTC (rev 6442)
@@ -2,6 +2,9 @@
* src/main.c:
Make user-defined keyboard shortcuts for menu items persistent.
+ * src/preferencesdialog.c:
+ Add a separator between the heading and the content in the prefs
+ dialog to make it look more like the original.
2009-01-11 Enrico Tröger <enrico(at)xfce(dot)org>
Modified: sion/trunk/src/preferencesdialog.c
===================================================================
--- sion/trunk/src/preferencesdialog.c 2009-01-12 19:19:15 UTC (rev 6441)
+++ sion/trunk/src/preferencesdialog.c 2009-01-12 19:19:21 UTC (rev 6442)
@@ -88,6 +88,8 @@
GtkWidget *hbox;
GtkWidget *image;
GtkWidget *label;
+ GtkWidget* vbox;
+ GtkWidget* separator;
GdkColor *color;
xfce_heading = gtk_event_box_new();
@@ -109,7 +111,13 @@
gtk_widget_destroy(entry);
- return xfce_heading;
+ vbox = gtk_vbox_new(FALSE, 0);
+ gtk_box_pack_start(GTK_BOX(vbox), xfce_heading, FALSE, FALSE, 0);
+
+ separator = gtk_hseparator_new();
+ gtk_box_pack_start(GTK_BOX(vbox), separator, FALSE, FALSE, 0);
+
+ return vbox;
}
More information about the Goodies-commits
mailing list