comparison src/buddy.c @ 4280:57ab8f0a4263

[gaim-migrate @ 4531] (17:39:44) Robot101: this patch to back out a change that made the OPT_BLIST_POPUP steal focus in an evil way (17:39:45) Robot101: http://people.debian.org/~robot101/blist-avoid-focus-stealing3.diff (17:39:56) Robot101: (entirely my fault) committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Fri, 10 Jan 2003 22:41:04 +0000
parents 32fcf4cf5f80
children c5851f0e120e
comparison
equal deleted inserted replaced
4279:34e94878fdab 4280:57ab8f0a4263
2372 } 2372 }
2373 if (b->present == 1) { 2373 if (b->present == 1) {
2374 if (bs->sound != 2) 2374 if (bs->sound != 2)
2375 play_sound(SND_BUDDY_ARRIVE); 2375 play_sound(SND_BUDDY_ARRIVE);
2376 if (blist_options & OPT_BLIST_POPUP) 2376 if (blist_options & OPT_BLIST_POPUP)
2377 gtk_window_present(GTK_WINDOW(blist)); 2377 gdk_window_show(blist->window);
2378 pm = gdk_pixmap_create_from_xpm_d(blist->window, &bm, 2378 pm = gdk_pixmap_create_from_xpm_d(blist->window, &bm,
2379 NULL, (char **)login_icon_xpm); 2379 NULL, (char **)login_icon_xpm);
2380 gtk_widget_hide(bs->pix); 2380 gtk_widget_hide(bs->pix);
2381 gtk_pixmap_set(GTK_PIXMAP(bs->pix), pm, bm); 2381 gtk_pixmap_set(GTK_PIXMAP(bs->pix), pm, bm);
2382 gtk_widget_show(bs->pix); 2382 gtk_widget_show(bs->pix);
2433 buddies that have already signed 2433 buddies that have already signed
2434 off */ 2434 off */
2435 if (bs->sound != 1) 2435 if (bs->sound != 1)
2436 play_sound(SND_BUDDY_LEAVE); 2436 play_sound(SND_BUDDY_LEAVE);
2437 if (blist_options & OPT_BLIST_POPUP) 2437 if (blist_options & OPT_BLIST_POPUP)
2438 gtk_window_present(GTK_WINDOW(blist)); 2438 gdk_window_show(blist->window);
2439 bs->connlist = g_slist_remove(bs->connlist, gc); 2439 bs->connlist = g_slist_remove(bs->connlist, gc);
2440 update_num_group(gs); 2440 update_num_group(gs);
2441 if (bs->log_timer > 0) 2441 if (bs->log_timer > 0)
2442 g_source_remove(bs->log_timer); 2442 g_source_remove(bs->log_timer);
2443 bs->log_timer = g_timeout_add(10000, log_timeout, bs); 2443 bs->log_timer = g_timeout_add(10000, log_timeout, bs);