| 807 |
807 |
| 808 if (purple_request_field_get_type(fld) == PURPLE_REQUEST_FIELD_ACCOUNT && |
808 if (purple_request_field_get_type(fld) == PURPLE_REQUEST_FIELD_ACCOUNT && |
| 809 purple_request_field_is_visible(fld)) |
809 purple_request_field_is_visible(fld)) |
| 810 { |
810 { |
| 811 const char *type_hint = purple_request_field_get_type_hint(fld); |
811 const char *type_hint = purple_request_field_get_type_hint(fld); |
| 812 if (type_hint != NULL && strcmp(type_hint, "account") == 0) |
812 if (type_hint != NULL && purple_strequal(type_hint, "account")) |
| 813 { |
813 { |
| 814 optmenu = GTK_WIDGET(purple_request_field_get_ui_data(fld)); |
814 optmenu = GTK_WIDGET(purple_request_field_get_ui_data(fld)); |
| 815 if (optmenu == NULL) { |
815 if (optmenu == NULL) { |
| 816 optmenu = GTK_WIDGET(create_account_field(fld)); |
816 optmenu = GTK_WIDGET(create_account_field(fld)); |
| 817 purple_request_field_set_ui_data(fld, optmenu); |
817 purple_request_field_set_ui_data(fld, optmenu); |