Where to store color settings?

Matthew Woehlke mw_triad at users.sourceforge.net
Wed Jun 6 15:13:26 BST 2007


Aaron J. Seigo wrote:
> On Tuesday 05 June 2007, Matthew Woehlke wrote:
>> Is there an overriding reason why they /must/ be in the "General" group,
> 
> no
> 
>> with the current names, or is that just 'the way it's been done'?
> 
> yes
> 
>> The "problem" is that there are soon to be many more colors (currently
>> 5*12 = 60, although most users probably won't set more than ~20 of
>> them), and I'm trying to come up with a consistent way of storing
>> them... It would make for cleaner code/configs if I can just say
>> group="Color:<set>", key="<role>" or some permutation thereof.
> 
> it would probably make for more straight forward configs, dunno if it would 
> make for clearer code or not but that would depend on what the code is doing 
> (so hard to say without seeing =) i don't see any particular reason why not, 
> though.

Yes, I really should say "more consistent code". :-) Anyway, thanks!

-- 
Matthew
...yzarc gniog ylwols era uoY





More information about the kde-core-devel mailing list