I was thinking of creating a control panel applet that invokes winecfg to only display the appearance/theme tab. This is to allow the theme selection command-line to share the code with the displaying of the configuration UI. That would be harder to do using a control panel.
Well, this is actually what I originally implemented during the summer - I wrote some code in winecfg to allow certain applets to be invoked depending on which arguments were passed, and had a desk.cpl as just a wrapper. I was advised that it'd be better just to move the code into a separate cpl entirely though, so that's what I did. The theory is that the Desktop control panel could of course grow to feature other desktop-related settings, too.
Sure. In that case, we could probably drop the "Folder" groupbox, rename the tab "Folders" and just have the content of what is currently within the Shell folders section here.
Yep, that was pretty much my plan.
The winecfg code supports colour schemes. I know because I added some fixes to support importing a Ubuntu Human colour scheme based theme file :).
Ah, good. :-) Then in theory this should be quite straightforward.
That way, winecfg and desk.cpl can be kept in sync with each other, we can avoid copy/paste-style duplication and winecfg can be used to provide the command-line functionality.
Yes, this is something we were thinking about at WineConf - whether to have all the command-line features in one app (winecfg would seem sensible here), or whether to manipulate individual applets/programs (reg.exe, uninstaller.exe, etc) separately. My opinion is that it's probably best to keep them all in one app, and have that app import whatever logic is needed from individual applets, etc.
So, coordinating this: I'm happy to hold of on doing major changes in this area until you land desk.cpl.
I shall try to get this done over the next couple of weeks - I've not really had much time to think about wine recently due to a whole pile of academic work, but I'm hoping things might quieten down for at least a weekend so I can get some hacking done. :-)
Cheers,