# HG changeset patch # User Sadrul Habib Chowdhury # Date 1240170353 0 # Node ID 7519de6ea00f36fdac46b0decd544547193b16bf # Parent 0dddfdb3a24a3aa75ef736fcdba3c47721d46388 We don't have huge status icons, and set only the icons changed from the editor. diff -r 0dddfdb3a24a -r 7519de6ea00f pidgin/plugins/themeedit-icon.c --- a/pidgin/plugins/themeedit-icon.c Sun Apr 19 17:30:59 2009 +0000 +++ b/pidgin/plugins/themeedit-icon.c Sun Apr 19 19:45:53 2009 +0000 @@ -39,8 +39,8 @@ PIDGIN_ICON_SIZE_TANGO_SMALL, PIDGIN_ICON_SIZE_TANGO_MEDIUM, PIDGIN_ICON_SIZE_TANGO_LARGE, - PIDGIN_ICON_SIZE_TANGO_HUGE, - NULL + NULL, + PIDGIN_ICON_SIZE_TANGO_HUGE, /* We don't have huge status icons, it seems! */ }; static const struct { @@ -67,6 +67,8 @@ for (i = 0; statuses[i].stockid; i++) { GtkWidget *image = g_object_get_data(G_OBJECT(window), statuses[i].stockid); GdkPixbuf *pixbuf = g_object_get_data(G_OBJECT(image), "pixbuf"); + if (!pixbuf) + continue; pidgin_icon_theme_set_icon(PIDGIN_ICON_THEME(theme), statuses[i].stockid, statuses[i].stockid); for (j = 0; stocksizes[j]; j++) {