comparison src/buddy.c @ 3544:7afbc063038d

[gaim-migrate @ 3619] now the blist won't steal focus from a conversation committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Tue, 24 Sep 2002 00:46:39 +0000
parents 785292d72aed
children cd938f18f3f8
comparison
equal deleted inserted replaced
3543:66412281881e 3544:7afbc063038d
2350 } 2350 }
2351 if (b->present == 1) { 2351 if (b->present == 1) {
2352 if (bs->sound != 2) 2352 if (bs->sound != 2)
2353 play_sound(SND_BUDDY_ARRIVE); 2353 play_sound(SND_BUDDY_ARRIVE);
2354 if (blist_options & OPT_BLIST_POPUP) 2354 if (blist_options & OPT_BLIST_POPUP)
2355 unhide_buddy_list(); 2355 gdk_window_show(blist->window);
2356 pm = gdk_pixmap_create_from_xpm_d(blist->window, &bm, 2356 pm = gdk_pixmap_create_from_xpm_d(blist->window, &bm,
2357 NULL, (char **)login_icon_xpm); 2357 NULL, (char **)login_icon_xpm);
2358 gtk_widget_hide(bs->pix); 2358 gtk_widget_hide(bs->pix);
2359 gtk_pixmap_set(GTK_PIXMAP(bs->pix), pm, bm); 2359 gtk_pixmap_set(GTK_PIXMAP(bs->pix), pm, bm);
2360 gtk_widget_show(bs->pix); 2360 gtk_widget_show(bs->pix);
2409 buddies that have already signed 2409 buddies that have already signed
2410 off */ 2410 off */
2411 if (bs->sound != 1) 2411 if (bs->sound != 1)
2412 play_sound(SND_BUDDY_LEAVE); 2412 play_sound(SND_BUDDY_LEAVE);
2413 if (blist_options & OPT_BLIST_POPUP) 2413 if (blist_options & OPT_BLIST_POPUP)
2414 unhide_buddy_list(); 2414 gdk_window_show(blist->window);
2415 bs->connlist = g_slist_remove(bs->connlist, gc); 2415 bs->connlist = g_slist_remove(bs->connlist, gc);
2416 update_num_group(gs); 2416 update_num_group(gs);
2417 if (bs->log_timer > 0) 2417 if (bs->log_timer > 0)
2418 gtk_timeout_remove(bs->log_timer); 2418 gtk_timeout_remove(bs->log_timer);
2419 bs->log_timer = gtk_timeout_add(10000, (GtkFunction)log_timeout, bs); 2419 bs->log_timer = gtk_timeout_add(10000, (GtkFunction)log_timeout, bs);