Code

Update name list
authorjoncruz <joncruz@users.sourceforge.net>
Mon, 4 May 2009 09:26:57 +0000 (09:26 +0000)
committerjoncruz <joncruz@users.sourceforge.net>
Mon, 4 May 2009 09:26:57 +0000 (09:26 +0000)
src/widgets/icon.cpp

index b913816cd1a20bc12d26b45f75956950465ca110..6be4b49b36d305ec196d1e1c13ab0d922f9e8614 100644 (file)
@@ -1207,6 +1207,9 @@ bool prerender_icon(gchar const *name, GtkIconSize lsize, unsigned psize)
                 pb_cache[key] = pb;
                 addToIconSet(pb, name, lsize, psize);
                 loadNeeded = true;
+                if (internalNames.find(name) == internalNames.end()) {
+                    internalNames.insert(name);
+                }
             } else if (dump) {
                 g_message("XXXXXXXXXXXXXXXXXXXXXXXXXXXXX  error!!! pixels not found for '%s'", name);
             }