Mercurial > pidgin
changeset 508:1181582366f5
[gaim-migrate @ 518]
finally, current_user works correctly, and no more problems entering new names.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Thu, 20 Jul 2000 03:14:04 +0000 |
parents | d17547ff9c2a |
children | 0f3a97c115bb |
files | src/aim.c |
diffstat | 1 files changed, 3 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/aim.c Wed Jul 19 23:55:53 2000 +0000 +++ b/src/aim.c Thu Jul 20 03:14:04 2000 +0000 @@ -468,11 +468,9 @@ gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(remember), (general_options & OPT_GEN_REMEMBER_PASS)); if (current_user) { - GList *all = aim_users; - GList *srch = g_list_find(all, (void *)current_user); - int length = g_list_length(all) - g_list_length(srch); - - gtk_combo_set_value_in_list(GTK_COMBO(name), length, 0); + sprintf(debug_buff, "Current user is %s\n", current_user->username); + debug_print(debug_buff); + gtk_entry_set_text(GTK_ENTRY(GTK_COMBO(name)->entry), current_user->username); if ((general_options & OPT_GEN_REMEMBER_PASS)) { combo_changed(NULL, name); gtk_widget_grab_focus(signon);