comparison src/gtkrequest.c @ 8332:f4a878d48254

[gaim-migrate @ 9056] Minor tweaks to the list box in the multi-field request dialogs so they work without a label and scrollbar (Pekka Riikonen) committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Wed, 25 Feb 2004 19:34:26 +0000
parents 4786adbe8720
children 4cfb32f78d71
comparison
equal deleted inserted replaced
8331:19c664c54ce5 8332:f4a878d48254
901 const GList *l; 901 const GList *l;
902 902
903 /* Create the scrolled window */ 903 /* Create the scrolled window */
904 sw = gtk_scrolled_window_new(NULL, NULL); 904 sw = gtk_scrolled_window_new(NULL, NULL);
905 gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw), 905 gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw),
906 GTK_POLICY_AUTOMATIC, 906 GTK_POLICY_AUTOMATIC,
907 GTK_POLICY_ALWAYS); 907 GTK_POLICY_AUTOMATIC);
908 gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(sw), 908 gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(sw),
909 GTK_SHADOW_IN); 909 GTK_SHADOW_IN);
910 gtk_widget_show(sw); 910 gtk_widget_show(sw);
911 911
912 /* Create the list store */ 912 /* Create the list store */
1132 continue; 1132 continue;
1133 } 1133 }
1134 1134
1135 type = gaim_request_field_get_type(field); 1135 type = gaim_request_field_get_type(field);
1136 1136
1137 if (type != GAIM_REQUEST_FIELD_BOOLEAN) 1137 if (type != GAIM_REQUEST_FIELD_BOOLEAN &&
1138 gaim_request_field_get_label(field))
1138 { 1139 {
1139 char *text; 1140 char *text;
1140 1141
1141 text = g_strdup_printf("%s:", 1142 text = g_strdup_printf("%s:",
1142 gaim_request_field_get_label(field)); 1143 gaim_request_field_get_label(field));