comparison src/gtkrequest.c @ 7905:1d0bc32f8038

[gaim-migrate @ 8565] This should be sufficient for a working label field type. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sun, 21 Dec 2003 09:04:43 +0000
parents 9b478c6e0bfa
children 5be22af4ebfc
comparison
equal deleted inserted replaced
7904:9b478c6e0bfa 7905:1d0bc32f8038
852 852
853 gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); 853 gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5);
854 854
855 gtk_size_group_add_widget(sg, label); 855 gtk_size_group_add_widget(sg, label);
856 856
857 if (type == GAIM_REQUEST_FIELD_STRING && 857 if (type == GAIM_REQUEST_FIELD_LABEL ||
858 gaim_request_field_string_is_multiline(field)) 858 (type == GAIM_REQUEST_FIELD_STRING &&
859 gaim_request_field_string_is_multiline(field)))
859 { 860 {
860 gtk_table_attach_defaults(GTK_TABLE(table), label, 861 gtk_table_attach_defaults(GTK_TABLE(table), label,
861 0, 2 * cols, 862 0, 2 * cols,
862 row_num, row_num + 1); 863 row_num, row_num + 1);
863 864