Mercurial > pidgin
changeset 14785:36b55cb22bc2
[gaim-migrate @ 17549]
Fix bug #1580569
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Thu, 19 Oct 2006 22:02:25 +0000 |
parents | bcc210a3c4a6 |
children | 6d0ca3a1d464 |
files | gtk/gtkstatusbox.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/gtk/gtkstatusbox.c Thu Oct 19 14:05:30 2006 +0000 +++ b/gtk/gtkstatusbox.c Thu Oct 19 22:02:25 2006 +0000 @@ -1231,19 +1231,19 @@ } gtk_gaim_status_box_set_buddy_icon(box, filename); } - - box->buddy_icon_sel = NULL; } static void icon_choose_cb(const char *filename, gpointer data) { GtkGaimStatusBox *box = data; - if (box->account == NULL) + if (box->account == NULL && filename) /* The pref-connect callback does the actual work */ gaim_prefs_set_string("/gaim/gtk/accounts/buddyicon", filename); else buddy_icon_set_cb(filename, data); + + box->buddy_icon_sel = NULL; } static void