changeset 32094:d1ed820fa416

use a table to display the options neatly.
author tdrhq@soc.pidgin.im
date Mon, 10 Aug 2009 20:16:39 +0000
parents a6d6b0867cd3
children d25e6f4a239a
files pidgin/plugins/adiumthemes/webkit.c
diffstat 1 files changed, 7 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/plugins/adiumthemes/webkit.c	Mon Aug 10 17:45:16 2009 +0000
+++ b/pidgin/plugins/adiumthemes/webkit.c	Mon Aug 10 20:16:39 2009 +0000
@@ -964,11 +964,13 @@
 static GtkWidget*
 get_config_frame(PurplePlugin* plugin)
 {
-	GtkWidget *vbox = gtk_vbox_new (TRUE, 0);
-
-	gtk_box_pack_start (GTK_BOX(vbox), get_style_config_frame (), TRUE, TRUE, 0);
-	gtk_box_pack_end (GTK_BOX(vbox), get_variant_config_frame (), TRUE, TRUE, 0);
-	return vbox;
+	GtkWidget *table = gtk_table_new (2, 2, FALSE);
+	
+	gtk_table_attach_defaults (GTK_TABLE(table), gtk_label_new ("Message Style"), 0, 1, 0, 1);
+	gtk_table_attach_defaults (GTK_TABLE(table), get_style_config_frame (), 1, 2, 0, 1);
+	gtk_table_attach_defaults (GTK_TABLE(table), gtk_label_new ("Style Variant"), 0, 1, 1, 2);
+	gtk_table_attach_defaults (GTK_TABLE(table), get_variant_config_frame (), 1, 2, 1, 2);
+	return table;
 }
 
 PidginPluginUiInfo ui_info =