Mercurial > pidgin.yaz
comparison pidgin/gtkft.c @ 29738:10eaca0bf01a
propagate from branch 'im.pidgin.pidgin' (head 8f0a3e68547fbc66188357edbf6694bd8dd2d557)
to branch 'im.pidgin.pidgin.next.minor' (head 63bbded7257d603ff4c002350caa652f85d2ff9e)
author | John Bailey <rekkanoryo@rekkanoryo.org> |
---|---|
date | Fri, 25 Dec 2009 22:08:46 +0000 |
parents | 224f9674a57e ac6c2dda0eae |
children | 2b9db39bd7ed |
comparison
equal
deleted
inserted
replaced
29737:bf4a33bd020b | 29738:10eaca0bf01a |
---|---|
714 GtkWidget *window; | 714 GtkWidget *window; |
715 GtkWidget *vbox1, *vbox2; | 715 GtkWidget *vbox1, *vbox2; |
716 GtkWidget *sw; | 716 GtkWidget *sw; |
717 GtkWidget *button; | 717 GtkWidget *button; |
718 GtkWidget *expander; | 718 GtkWidget *expander; |
719 GtkWidget *alignment; | |
719 GtkWidget *table; | 720 GtkWidget *table; |
720 GtkWidget *checkbox; | 721 GtkWidget *checkbox; |
721 | 722 |
722 dialog = g_new0(PidginXferDialog, 1); | 723 dialog = g_new0(PidginXferDialog, 1); |
723 dialog->keep_open = | 724 dialog->keep_open = |
771 gtk_box_pack_start(GTK_BOX(vbox2), expander, FALSE, FALSE, 0); | 772 gtk_box_pack_start(GTK_BOX(vbox2), expander, FALSE, FALSE, 0); |
772 gtk_widget_show(expander); | 773 gtk_widget_show(expander); |
773 | 774 |
774 gtk_widget_set_sensitive(expander, FALSE); | 775 gtk_widget_set_sensitive(expander, FALSE); |
775 | 776 |
777 /* Small indent make table fall under GtkExpander's label */ | |
778 alignment = gtk_alignment_new(1, 0, 1, 1); | |
779 gtk_alignment_set_padding(GTK_ALIGNMENT(alignment), 0, 0, 20, 0); | |
780 gtk_container_add(GTK_CONTAINER(expander), alignment); | |
781 gtk_widget_show(alignment); | |
782 | |
776 /* The table of information. */ | 783 /* The table of information. */ |
777 table = make_info_table(dialog); | 784 table = make_info_table(dialog); |
778 gtk_container_add(GTK_CONTAINER(expander), table); | 785 gtk_container_add(GTK_CONTAINER(alignment), table); |
779 gtk_widget_show(table); | 786 gtk_widget_show(table); |
780 | 787 |
781 /* Open button */ | 788 /* Open button */ |
782 button = pidgin_dialog_add_button(GTK_DIALOG(window), GTK_STOCK_OPEN, G_CALLBACK(open_button_cb), dialog); | 789 button = pidgin_dialog_add_button(GTK_DIALOG(window), GTK_STOCK_OPEN, G_CALLBACK(open_button_cb), dialog); |
783 gtk_widget_set_sensitive(button, FALSE); | 790 gtk_widget_set_sensitive(button, FALSE); |