Re: desktop hook for theme changes



On 05.11.2010 00:03, Shaun McCance wrote:
> On Thu, 2010-11-04 at 22:34 +0200, Stefan Kost wrote:
>   
>> hi,
>>
>> people (including me) where wondering about the duplicated png files in each
>> gtk-doc manual. I believe this was historically done to avoid the gtk-doc
>> dependency for users (which I don't think is a problem nowadays - the package is
>> small).
>> Anyway I was wondering, if those 4 black icons could instead be symlinks to the
>> theme icons. This would safe a bit of space and would align the look more with
>> the theme. One could even patch the colors in the css.
>>     
> What are the images? Are they for the admonitions, like note,
> tip, warning, etc? Perhaps the installed HTML files could just
> reference those same images provided by gnome-doc-utils/yelp-xsl.
> Everybody will have that installed anyway.
>   
home.png, left.png, right.png, up.png

>> The only think needed would be a hook to update those symlinks when the theme
>> changes. Do we have anything like this in the platform?
>>     
> We should have a good chat about how we can better share code.
> Yelp does all this theme-tracking stuff for icons and colors
> already, but only for Docbook and Mallard, where it generates
> the HTML. We could solve each others' problems if we worked
> together more.
>
>   
Yelp, is an application. I was looking for ways to solve that for
pre-installed content. E.g. by having a /usr/share/icons/.current/
symlink and some hook when it changed. Its not so terrible important
(like Bastian feels like), but if there where mechanisms I would like to
try it.

I'd love to collaborate here - I'll ping you on irc.

Stefan


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