Re: Recolorable themes



Bouncing my original e-mail (below) to desktop-devel, as I didn't have any replies on gnome-themes-list.

Basically, I think I am now going to have to take the saving custom colour schemes feature out of the theme manager capplet, since there has been no decision on the best place to save this information (one name field, and six key/value pairs). I can see three options at the moment:

1) save the information in gconf somewhere
2) Save in a custom xml format file in ~/.gnome2/color_schemes.xml (similar to the way the gnome background manager saves the current background settings) 3) Save a ini format file in ~/.gnome2/color_schemes.ini (in a similar was to index.theme)

I think it would also be nice to be able to read a set of alternative schemes from the index.theme file, which has the added bonus of allowing the scheme names to be translated.

If we can reach a consensus on this, then I'd be happy to finish the implementation before next weekend.

I'd also like (if possible) someone to do a UI review on the new Colors tab before next weekend. There is a bug open <http://bugzilla.gnome.org/show_bug.cgi?id=382517> for HIG fixes, but it hasn't had any comments for some time.

-Thomas

Thomas Wood wrote:
On 9 Dec 2006, at 05:13, Matthias Clasen wrote:

[...]
Would it be possible for themes to be able to suggest alternate named
schemes?
Thats probably something to be solved between the yet-to-be written
color capplet and the meta-theme file.
I'm still trying to think about how to solve this one. Would adding an
xml file to the gtk+-2.0 directory have any adverse ramifications?

Not as far as GTK+ is concerned. How will these xml files relate to the
existing metatheme desktop files ? Would it be easier to just add the
colors to these files instead ?

This had been my first thought as well. However, I wanted to associate colour schemes to a particular GTK+ theme, rather than to the metatheme.

For GNOME 2.18 however, the only feature that will be available to the user is saving their local custom colour schemes. At the moment, there are several ways this could be implemented. We can save the schemes to keys in gconf or we can save the schemes to a file. For saving to a file, it could be an xml or .desktop format file in $HOME/.gnome2/colour_schemes. I think there are advantages and disadvantages to both methods, so I would like to know if anyone has any strong opinions either way.

-Thomas

_______________________________________________
gnome-themes-list mailing list
gnome-themes-list gnome org
http://mail.gnome.org/mailman/listinfo/gnome-themes-list




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