Re: symbolic icon fallback failure



On Thu, Nov 21, 2013 at 10:40:42AM -0500, Jasper St. Pierre wrote:
On Thu, Nov 21, 2013 at 10:35 AM, Patrick Welche <prlw1 cam ac uk> wrote:

On Thu, Nov 21, 2013 at 10:07:55AM -0500, Jasper St. Pierre wrote:
On Thu, Nov 21, 2013 at 9:38 AM, Patrick Welche <prlw1 cam ac uk> wrote:

(gtk-update-icon-cache --validate returns 0 for those two directories
 so validates OK.
 Is there an easy way of dumping the contents of the cache?)

Is there a way of validating

   gnome/icon-theme.cache    gnome/index.theme

further?

I'd put a print statement inside the for loop near that if statement that
prints the theme name, e.g.

    g_print ("searching theme %s\n", theme->name);

It sounds to me like the gnome icon theme isn't being properly added. Maybe
also put lots of print statements in insert_theme. Is that being called
with "gnome" as a theme name? Is it bailing out at some point before it's
supposed to?

At least g_key_file_load_from_file() is not giving an error with
icons/gnome/index.theme

Probably why icons/gnome cache was found in earlier post? If there
were a problem, "found cache for ...icons/gnome" wouldn't have been
printed?

gtk_icon_theme_lookup_icon dialog-password
theme_lookup_icon: searching theme hicolor for dialog-password
...
theme_lookup_icon found dialog-password in dir (null)

I don't see "searching theme gnome for dialog-password" yet it is found.

gtk_icon_theme_lookup_icon go-up-symbolic
theme_lookup_icon: searching theme hicolor for go-up-symbolic
...
theme_lookup_icon: searching theme gnome for go-up-symbolic
...
theme_lookup_icon look for go-up-symbolic in dir .../hicolor/48x48/actions
theme_lookup_icon look for go-up-symbolic in dir .../gnome/48x48/actions
...

BUT not in icons/gnome/scalable/actions


Cheers,

Patrick

Attachment: patch-gtk_gtkicontheme.c
Description: Text document



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]