GNOME Bugzilla – Bug 140776
'Show Desktop' button doesn't react on icon theme changes
Last modified: 2015-03-24 13:00:49 UTC
Running GNOME built using gnome-panel-2.6.0-7 source tarball: -Change the theme to High Contrast Large Print Inverse -Ensure the 'show desktop' button is added to the panel See that the button does not theme for such a11y-related GNOME themes. It needs to have icons as follows: High Contrast High Contrast Inverse Low Contrast Low Contrast Inverse
where do icons go ? icon name: gnome-fs-desktop
Should just need to add an appropriate version to each of: gnome-themes/HighContrastLargePrint/icons/48x48/filesystems gnome-themes/HighContrastLargePrintInverse/icons/48x48/filesystems gnome-themes/LowContrastLargePrint/icons/48x48/filesystems
This now has a High Contrast/High Contrast inverse icon. However, the change doesnt come into effect until the user logs out and logs back in again.
That sounds like a gnome-panel bug, then-- reassigning.
Indeed, this is a panel issue. applets/wncklet/showdesktop.c should react on icon theme changes.
Apologies for spam-- ensuring Sun a11y team are cc'ed on all current a11y bugs. Filter on "SUN A11Y SPAM" to ignore.
Sorry for the spam. Mass-marking some bugs to the 2.10.x milestone. Filter on "VINCENT WANTS THIS FOR 2.10" to ignore.
Created attachment 36218 [details] [review] proposed patch The patch fixes the reported issue by porting the applet from GnomeIconTheme to GtkIconTheme and connecting to the theme-changed signal: each time the icon is updated (either because of a theme change or because of a size change etc) the old pixbuf is unrefed and a new one is retrieved from the theme.
I somewhat hoped for this patch to get into 2.9.90 since marked mileston is set to 2.10... anyway, before I forget, the above patch has two minor issues: - it duplicates an include - it unref the GtkIconTheme... this has not caused problem when I tested, but I was told it isn't necessary
Paolo: sorry for not getting this in in 2.9.90. I have been pretty busy these last few days, so I couldn't review anything. I just made the release... It'll probably go for the next release since it's in my TODO list :-)
I committed a modified version of your patch so that it works well on multiscreen environment.