# HG changeset patch # User Kevin Stange # Date 1177893390 0 # Node ID 7fad94837f9eac38301fab7cd976531f96751bdb # Parent bb902111bd9ce4689961e84b8df7c43b5443a3ca Make the icon show up when you change the global buddy icon pref, even if all the accounts have per-account icons. diff -r bb902111bd9c -r 7fad94837f9e pidgin/gtkstatusbox.c --- a/pidgin/gtkstatusbox.c Sun Apr 29 23:50:23 2007 +0000 +++ b/pidgin/gtkstatusbox.c Mon Apr 30 00:36:30 2007 +0000 @@ -1452,6 +1452,17 @@ } } } + + /* Even if no accounts were processed, load the icon that was set. */ + if (filename != NULL) + { + gchar *contents; + gsize size; + if (g_file_get_contents(filename, &contents, &size, NULL)) + { + img = purple_imgstore_add(contents, size, filename); + } + } } pidgin_status_box_set_buddy_icon(box, img);