Mercurial > pidgin.yaz
comparison src/multi.c @ 3517:6b0cb60162f4
[gaim-migrate @ 3590]
Rob McQueen added a mute feature to his nice little docklet. I added a
queuing feature. Configure the docklet in the plugins dialog to queue
unread messages, and when you receive a message the docklet will eat it up
and show a little message pending icon. Click on it, and read your message.
ICQ people will like it.
I also made plugin_event use a va_list.
I bet this breaks perl.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Mon, 16 Sep 2002 08:35:24 +0000 |
parents | e23909729192 |
children | cf00549c53d7 |
comparison
equal
deleted
inserted
replaced
3516:db00eb77997d | 3517:6b0cb60162f4 |
---|---|
38 #include "pixmaps/no_icon.xpm" | 38 #include "pixmaps/no_icon.xpm" |
39 | 39 |
40 #define LOGIN_STEPS 5 | 40 #define LOGIN_STEPS 5 |
41 | 41 |
42 GSList *connections; | 42 GSList *connections; |
43 int connecting_count = 0; | |
43 | 44 |
44 static GtkWidget *acctedit = NULL; | 45 static GtkWidget *acctedit = NULL; |
45 static GtkWidget *list = NULL; /* the clist of names in the accteditor */ | 46 static GtkWidget *list = NULL; /* the clist of names in the accteditor */ |
46 | 47 |
47 static GSList *mod_users = NULL; | 48 static GSList *mod_users = NULL; |
1154 do_proto_menu(); | 1155 do_proto_menu(); |
1155 redo_convo_menus(); | 1156 redo_convo_menus(); |
1156 gaim_setup(gc); | 1157 gaim_setup(gc); |
1157 | 1158 |
1158 gc->user->connecting = FALSE; | 1159 gc->user->connecting = FALSE; |
1159 plugin_event(event_signon, gc, 0, 0, 0); | 1160 connecting_count--; |
1161 | |
1162 plugin_event(event_signon, gc); | |
1160 system_log(log_signon, gc, NULL, OPT_LOG_BUDDY_SIGNON | OPT_LOG_MY_SIGNON); | 1163 system_log(log_signon, gc, NULL, OPT_LOG_BUDDY_SIGNON | OPT_LOG_MY_SIGNON); |
1161 | 1164 |
1162 /* away option given? */ | 1165 /* away option given? */ |
1163 if (opt_away) { | 1166 if (opt_away) { |
1164 away_on_login(opt_away_arg); | 1167 away_on_login(opt_away_arg); |
1443 | 1446 |
1444 /* core stuff */ | 1447 /* core stuff */ |
1445 /* remove this here so plugins get a sensible count of connections */ | 1448 /* remove this here so plugins get a sensible count of connections */ |
1446 connections = g_slist_remove(connections, gc); | 1449 connections = g_slist_remove(connections, gc); |
1447 debug_printf("date: %s\n", full_date()); | 1450 debug_printf("date: %s\n", full_date()); |
1448 plugin_event(event_signoff, gc, 0, 0, 0); | 1451 plugin_event(event_signoff, gc); |
1449 system_log(log_signoff, gc, NULL, OPT_LOG_BUDDY_SIGNON | OPT_LOG_MY_SIGNON); | 1452 system_log(log_signoff, gc, NULL, OPT_LOG_BUDDY_SIGNON | OPT_LOG_MY_SIGNON); |
1450 /* set this in case the plugin died before really connecting. | 1453 /* set this in case the plugin died before really connecting. |
1451 do it after calling the plugins so they can determine if | 1454 do it after calling the plugins so they can determine if |
1452 this user was ever on-line or not */ | 1455 this user was ever on-line or not */ |
1453 gc->user->connecting = FALSE; | 1456 if (gc->user->connecting) { |
1457 gc->user->connecting = FALSE; | |
1458 connecting_count--; | |
1459 } | |
1454 serv_close(gc); | 1460 serv_close(gc); |
1455 | 1461 |
1456 /* more UI stuff */ | 1462 /* more UI stuff */ |
1457 redo_buddy_list(); | 1463 redo_buddy_list(); |
1458 build_edit_tree(); | 1464 build_edit_tree(); |