# HG changeset patch # User tdrhq@soc.pidgin.im # Date 1249935399 0 # Node ID d1ed820fa416e1e2884540dde27ea8e07c9d08da # Parent a6d6b0867cd3c7abcfa50312e9abda1e66b2566e use a table to display the options neatly. diff -r a6d6b0867cd3 -r d1ed820fa416 pidgin/plugins/adiumthemes/webkit.c --- 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 =