Mercurial > pidgin.yaz
comparison src/conversation.c @ 2722:abecab600451
[gaim-migrate @ 2735]
shit
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Thu, 15 Nov 2001 20:18:07 +0000 |
parents | e841b14b5b89 |
children | f3c094e78609 |
comparison
equal
deleted
inserted
replaced
2721:74d1bbae4adc | 2722:abecab600451 |
---|---|
2016 } | 2016 } |
2017 } | 2017 } |
2018 | 2018 |
2019 void set_convo_gc(struct conversation *c, struct gaim_connection *gc) | 2019 void set_convo_gc(struct conversation *c, struct gaim_connection *gc) |
2020 { | 2020 { |
2021 if (c->gc == gc) | |
2022 return; | |
2023 | |
2024 c->gc = gc; | |
2025 | |
2026 if (gc) | 2021 if (gc) |
2027 gtk_option_menu_set_history(GTK_OPTION_MENU(c->menu), g_slist_index(connections, gc)); | 2022 gtk_option_menu_set_history(GTK_OPTION_MENU(c->menu), g_slist_index(connections, gc)); |
2023 | |
2024 if (c->gc == gc) | |
2025 return; | |
2026 | |
2027 c->gc = gc; | |
2028 | 2028 |
2029 update_buttons_by_protocol(c); | 2029 update_buttons_by_protocol(c); |
2030 | 2030 |
2031 update_icon(c); | 2031 update_icon(c); |
2032 update_checkbox(c); | 2032 update_checkbox(c); |