comparison src/buddy.c @ 966:f7886476f9d9

[gaim-migrate @ 976] yay, the applet works again (mostly) committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 10 Oct 2000 10:35:05 +0000
parents fa681641643d
children a45991891aba
comparison
equal deleted inserted replaced
965:50f2977537d8 966:f7886476f9d9
273 } 273 }
274 274
275 #endif 275 #endif
276 276
277 277
278 static void signoff_all(GtkWidget *w, gpointer d) 278 void signoff_all(GtkWidget *w, gpointer d)
279 { 279 {
280 GSList *c = connections; 280 GSList *c = connections;
281 struct gaim_connection *g = NULL; 281 struct gaim_connection *g = NULL;
282 282
283 while (c) { 283 while (c) {
314 #ifdef USE_APPLET 314 #ifdef USE_APPLET
315 set_user_state(offline); 315 set_user_state(offline);
316 applet_buddy_show = FALSE; 316 applet_buddy_show = FALSE;
317 applet_widget_unregister_callback(APPLET_WIDGET(applet),"signoff"); 317 applet_widget_unregister_callback(APPLET_WIDGET(applet),"signoff");
318 remove_applet_away(); 318 remove_applet_away();
319 applet_widget_register_callback(APPLET_WIDGET(applet),
320 "signon",
321 _("Signon"),
322 applet_do_signon,
323 NULL);
324 #else 319 #else
325 show_login(); 320 show_login();
326 #endif /* USE_APPLET */ 321 #endif /* USE_APPLET */
327 if ( ticker_prefs & OPT_DISP_SHOW_BUDDYTICKER ) 322 if ( ticker_prefs & OPT_DISP_SHOW_BUDDYTICKER )
328 BuddyTickerSignoff(); 323 BuddyTickerSignoff();