comparison src/conversation.c @ 2323:bde2481bb4db

[gaim-migrate @ 2333] option to hide icons committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 20 Sep 2001 09:12:29 +0000
parents bd9d403fb15b
children b53cd5b63a99
comparison
equal deleted inserted replaced
2322:2752abc68646 2323:bde2481bb4db
2607 if (!c) 2607 if (!c)
2608 return; 2608 return;
2609 2609
2610 remove_icon(c); 2610 remove_icon(c);
2611 2611
2612 if (im_options & OPT_IM_HIDE_ICONS)
2613 return;
2614
2612 if (!c->gc) 2615 if (!c->gc)
2613 return; 2616 return;
2614 2617
2615 data = get_icon_data(c->gc, normalize(c->name), &len); 2618 data = get_icon_data(c->gc, normalize(c->name), &len);
2616 if (!data) 2619 if (!data)
2666 struct conversation *c = find_conversation(who); 2669 struct conversation *c = find_conversation(who);
2667 if (c && (c->gc == gc)) 2670 if (c && (c->gc == gc))
2668 update_icon(c); 2671 update_icon(c);
2669 } 2672 }
2670 2673
2674 void set_hide_icons()
2675 {
2676 GList *c = conversations;
2677 while (c) {
2678 update_icon(c->data);
2679 c = c->next;
2680 }
2681 }
2682
2671 static void remove_checkbox(struct conversation *c) 2683 static void remove_checkbox(struct conversation *c)
2672 { 2684 {
2673 if (c->check) 2685 if (c->check)
2674 gtk_container_remove(GTK_CONTAINER(c->lbox), c->check); 2686 gtk_container_remove(GTK_CONTAINER(c->lbox), c->check);
2675 c->check = NULL; 2687 c->check = NULL;