Mercurial > pidgin
comparison src/conversation.c @ 2619:536198196dc6
[gaim-migrate @ 2632]
i hate you mid. i have that IM Me song stuck in my head.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Fri, 26 Oct 2001 10:11:33 +0000 |
parents | 5efa8077107f |
children | d8d2df2bdf01 |
comparison
equal
deleted
inserted
replaced
2618:047256035ec6 | 2619:536198196dc6 |
---|---|
2020 } | 2020 } |
2021 | 2021 |
2022 void update_buttons_by_protocol(struct conversation *c) | 2022 void update_buttons_by_protocol(struct conversation *c) |
2023 { | 2023 { |
2024 if (!c->gc) { | 2024 if (!c->gc) { |
2025 gtk_widget_set_sensitive(c->info, FALSE); | 2025 if (c->info) |
2026 gtk_widget_set_sensitive(c->send, FALSE); | 2026 gtk_widget_set_sensitive(c->info, FALSE); |
2027 gtk_widget_set_sensitive(c->warn, FALSE); | 2027 if (c->send) |
2028 gtk_widget_set_sensitive(c->block, FALSE); | 2028 gtk_widget_set_sensitive(c->send, FALSE); |
2029 gtk_widget_set_sensitive(c->add, FALSE); | 2029 if (c->warn) |
2030 | 2030 gtk_widget_set_sensitive(c->warn, FALSE); |
2031 if (c->block) | |
2032 gtk_widget_set_sensitive(c->block, FALSE); | |
2033 if (c->add) | |
2034 gtk_widget_set_sensitive(c->add, FALSE); | |
2031 if (c->whisper) | 2035 if (c->whisper) |
2032 gtk_widget_set_sensitive(c->whisper, FALSE); | 2036 gtk_widget_set_sensitive(c->whisper, FALSE); |
2033 if (c->invite) | 2037 if (c->invite) |
2034 gtk_widget_set_sensitive(c->invite, FALSE); | 2038 gtk_widget_set_sensitive(c->invite, FALSE); |
2035 | 2039 |