comparison src/multi.c @ 3570:b791019b2492

[gaim-migrate @ 3666] You win, McQueen. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sun, 29 Sep 2002 04:48:40 +0000
parents cf00549c53d7
children bdd0bebd2d04
comparison
equal deleted inserted replaced
3569:d6468f276d24 3570:b791019b2492
1130 /* then we do the buddy list stuff */ 1130 /* then we do the buddy list stuff */
1131 if (mainwindow) 1131 if (mainwindow)
1132 gtk_widget_hide(mainwindow); 1132 gtk_widget_hide(mainwindow);
1133 1133
1134 show_buddy_list(); 1134 show_buddy_list();
1135 refresh_buddy_window();
1136 1135
1137 update_privacy_connections(); 1136 update_privacy_connections();
1138 do_away_menu(); 1137 do_away_menu();
1139 do_proto_menu(); 1138 do_proto_menu();
1140 redo_convo_menus(); 1139 redo_convo_menus();
1141 gaim_setup(gc); 1140 gaim_setup(gc);
1142 1141
1143 gc->user->connecting = FALSE; 1142 gc->user->connecting = FALSE;
1144 connecting_count--; 1143 if (connecting_count) {
1145 1144 connecting_count--;
1145 }
1146 debug_printf("connecting_count: %d\n", connecting_count);
1147
1146 plugin_event(event_signon, gc); 1148 plugin_event(event_signon, gc);
1147 system_log(log_signon, gc, NULL, OPT_LOG_BUDDY_SIGNON | OPT_LOG_MY_SIGNON); 1149 system_log(log_signon, gc, NULL, OPT_LOG_BUDDY_SIGNON | OPT_LOG_MY_SIGNON);
1148 1150
1149 /* away option given? */ 1151 /* away option given? */
1150 if (opt_away) { 1152 if (opt_away) {
1437 /* set this in case the plugin died before really connecting. 1439 /* set this in case the plugin died before really connecting.
1438 do it after calling the plugins so they can determine if 1440 do it after calling the plugins so they can determine if
1439 this user was ever on-line or not */ 1441 this user was ever on-line or not */
1440 if (gc->user->connecting) { 1442 if (gc->user->connecting) {
1441 gc->user->connecting = FALSE; 1443 gc->user->connecting = FALSE;
1442 connecting_count--; 1444 if (connecting_count) {
1443 } 1445 connecting_count--;
1446 }
1447 }
1448 debug_printf("connecting_count: %d\n", connecting_count);
1444 serv_close(gc); 1449 serv_close(gc);
1445 1450
1446 /* more UI stuff */ 1451 /* more UI stuff */
1447 redo_buddy_list(); 1452 redo_buddy_list();
1448 build_edit_tree(); 1453 build_edit_tree();