Mercurial > pidgin.yaz
comparison gtk/gtkstatusbox.c @ 14743:01dcb6d7657d
[gaim-migrate @ 17500]
deryni noticed that the refresh call was redundant
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Tue, 17 Oct 2006 19:21:30 +0000 |
parents | f453cc774882 |
children | ab10f1467acb |
comparison
equal
deleted
inserted
replaced
14742:f453cc774882 | 14743:01dcb6d7657d |
---|---|
225 account_status_changed_cb(GaimAccount *account, GaimStatus *oldstatus, GaimStatus *newstatus, GtkGaimStatusBox *status_box) | 225 account_status_changed_cb(GaimAccount *account, GaimStatus *oldstatus, GaimStatus *newstatus, GtkGaimStatusBox *status_box) |
226 { | 226 { |
227 if (status_box->account == account) | 227 if (status_box->account == account) |
228 update_to_reflect_account_status(status_box, account, newstatus); | 228 update_to_reflect_account_status(status_box, account, newstatus); |
229 else if (status_box->token_status_account == account) | 229 else if (status_box->token_status_account == account) |
230 { | |
231 gtk_gaim_status_box_refresh(status_box); | |
232 status_menu_refresh_iter(status_box); | 230 status_menu_refresh_iter(status_box); |
233 } | |
234 } | 231 } |
235 | 232 |
236 static gboolean | 233 static gboolean |
237 icon_box_press_cb(GtkWidget *widget, GdkEventButton *event, GtkGaimStatusBox *box) | 234 icon_box_press_cb(GtkWidget *widget, GdkEventButton *event, GtkGaimStatusBox *box) |
238 { | 235 { |