# HG changeset patch # User Christian Hammond # Date 1059456616 0 # Node ID 01ce15fb27ebfb6599501d79d9ede9a2ca6b4603 # Parent 5d7063e137dad0f886e1b513c1c080fb260686ac [gaim-migrate @ 6823] A few multi-field request fixes on the UI side. Labels with underscores in them are now interpreted as accelerator keys. The separator between the fields and buttons are now removed. Groups with a NULL title no longer appear indented or have a nasty "(null)" title appearing. More to come. committer: Tailor Script diff -r 5d7063e137da -r 01ce15fb27eb src/gtkrequest.c --- a/src/gtkrequest.c Tue Jul 29 04:42:12 2003 +0000 +++ b/src/gtkrequest.c Tue Jul 29 05:30:16 2003 +0000 @@ -483,8 +483,13 @@ group = gl->data; field_list = gaim_request_field_group_get_fields(group); - frame = gaim_gtk_make_frame(vbox, - gaim_request_field_group_get_title(group)); + if (gaim_request_field_group_get_title(group) != NULL) { + frame = gaim_gtk_make_frame(vbox, + gaim_request_field_group_get_title(group)); + } + else { + frame = vbox; + } field_count = g_list_length(field_list); @@ -524,8 +529,10 @@ if (type != GAIM_REQUEST_FIELD_BOOLEAN) { text = g_strdup_printf("%s:", - gaim_request_field_get_label(field)); - label = gtk_label_new(text); + gaim_request_field_get_label(field)); + + label = gtk_label_new(NULL); + gtk_label_set_markup_with_mnemonic(GTK_LABEL(label), text); g_free(text); gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); @@ -668,10 +675,12 @@ g_object_unref(sg); +#if 0 /* Separator */ sep = gtk_hseparator_new(); gtk_box_pack_start(GTK_BOX(vbox), sep, FALSE, FALSE, 0); gtk_widget_show(sep); +#endif /* Button box. */ bbox = gtk_hbutton_box_new();