soc.2009.webkitmessageview: fe4fa468: use a table to display the options neatl...
tdrhq at soc.pidgin.im
tdrhq at soc.pidgin.im
Tue Aug 25 12:06:45 EDT 2009
-----------------------------------------------------------------
Revision: fe4fa468522b55e1645974e34f067bd1758de1ac
Ancestor: 6dd287c993bb1c69af9b763a20e0902a2be0aaf2
Author: tdrhq at soc.pidgin.im
Date: 2009-08-10T20:16:39
Branch: im.pidgin.soc.2009.webkitmessageview
URL: http://d.pidgin.im/viewmtn/revision/info/fe4fa468522b55e1645974e34f067bd1758de1ac
Modified files:
pidgin/plugins/adiumthemes/webkit.c
ChangeLog:
use a table to display the options neatly.
-------------- next part --------------
============================================================
--- pidgin/plugins/adiumthemes/webkit.c 2ad250d10672420e98ded0689cfa8c9d647678ef
+++ pidgin/plugins/adiumthemes/webkit.c 36653119b9e136a4a4a078614dffd4fe273873b2
@@ -964,11 +964,13 @@ get_config_frame(PurplePlugin* plugin)
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 =
More information about the Commits
mailing list