comparison src/gtkconn.c @ 9944:e4a27c9aec4c

[gaim-migrate @ 10838] with much rejoicing, and massive thanks to the efforts of Christian, and all who have helped him, I present to you the incomplete status rewrite! committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Fri, 03 Sep 2004 21:35:52 +0000
parents 4a15962c344a
children bdec08a8fc5b
comparison
equal deleted inserted replaced
9943:f8e395a054e2 9944:e4a27c9aec4c
241 { 241 {
242 struct signon_meter *meter = find_signon_meter(gc); 242 struct signon_meter *meter = find_signon_meter(gc);
243 243
244 gaim_setup(gc); 244 gaim_setup(gc);
245 245
246 #if 0 /* XXX CORE/UI */
246 do_away_menu(); 247 do_away_menu();
248 #endif
247 gaim_gtk_blist_update_protocol_actions(); 249 gaim_gtk_blist_update_protocol_actions();
248 250
249 if (meter) 251 if (meter)
250 kill_meter(meter, _("Done.")); 252 kill_meter(meter, _("Done."));
251 } 253 }
252 254
253 static void gaim_gtk_connection_disconnected(GaimConnection *gc) 255 static void gaim_gtk_connection_disconnected(GaimConnection *gc)
254 { 256 {
255 struct signon_meter *meter = find_signon_meter(gc); 257 struct signon_meter *meter = find_signon_meter(gc);
256 258
259 #if 0 /* XXX CORE/UI */
257 do_away_menu(); 260 do_away_menu();
261 #endif
258 gaim_gtk_blist_update_protocol_actions(); 262 gaim_gtk_blist_update_protocol_actions();
259 263
260 if (meter) 264 if (meter)
261 kill_meter(meter, _("Done.")); 265 kill_meter(meter, _("Done."));
262 266
680 { 684 {
681 return &conn_ui_ops; 685 return &conn_ui_ops;
682 } 686 }
683 687
684 /* 688 /*
685 * This function needs to be moved out of here once away messages are 689 * This function needs to be moved out of here once away messages are
686 * core/UI split. 690 * core/UI split.
687 */ 691 */
688 void away_on_login(const char *mesg) 692 void away_on_login(const char *mesg)
689 { 693 {
694 #if 0 /* XXX CORE/UI */
690 GSList *awy = away_messages; 695 GSList *awy = away_messages;
691 struct away_message *a, *message = NULL; 696 struct away_message *a, *message = NULL;
692 GaimGtkBuddyList *gtkblist; 697 GaimGtkBuddyList *gtkblist;
693 698
694 gtkblist = GAIM_GTK_BLIST(gaim_get_blist()); 699 gtkblist = GAIM_GTK_BLIST(gaim_get_blist());
711 if(!away_messages) 716 if(!away_messages)
712 return; 717 return;
713 message = away_messages->data; 718 message = away_messages->data;
714 } 719 }
715 do_away_message(NULL, message); 720 do_away_message(NULL, message);
716 } 721 #endif
722 }