Comment 11 for bug 665725

Revision history for this message
Clement Lefebvre (clementlefebvre) wrote :

Ok, so first.. looking at the error message, the basic problem is that Gnome (or its gtkrecentmanager to be precise) is looking for an icon and cannot find it. You'd like to think Gnome would use no icon or a generic one, but no... it prefers to crash.

Anyway, after downloading the source code for GTK+ and looking in gtkrecentmanager.c, it appears that the icon_fallback, is only looking for two different icons: GTK_STOCK_DIRECTORY and GTK_STOCK_FILE.

Gnome devs: It'd be great if you could output the path of the icon you're missing in the error msg.... and even if you could make it so it outputs a warning instead of crashing altogether.

Everyone else: The solution is to test your theme and see if it can find GTK_STOCK_DIRECTORY and GTK_STOCK_FILE in all traditional sizes (22, 24, 32, 48...). So for this, I wrote a script in Python which I'm attaching here.