<br><div class="gmail_quote">On Mon, Mar 26, 2012 at 3:07 PM, Vincent Untz <span dir="ltr"><<a href="mailto:vuntz@gnome.org">vuntz@gnome.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Le lundi 26 mars 2012, à 14:53 +0100, Jerome Leclanche a écrit :<br>
<div class="im">> On Mon, Mar 26, 2012 at 2:43 PM, Vincent Untz <<a href="mailto:vuntz@gnome.org">vuntz@gnome.org</a>> wrote:<br>
<br>
</div>[...]<br>
<div class="im"><br>
> > I would think that the right way to get the themes would be through<br>
> > xsettings:<br>
> ><br>
> ><br>
> > <a href="http://specifications.freedesktop.org/xsettings-spec/xsettings-latest.html" target="_blank">http://specifications.freedesktop.org/xsettings-spec/xsettings-latest.html</a><br>
> > <a href="http://www.freedesktop.org/wiki/Specifications/XSettingsRegistry" target="_blank">http://www.freedesktop.org/wiki/Specifications/XSettingsRegistry</a><br>
> ><br>
> > (more settings could be added to the registry, if needed)<br>
<br>
</div>[...]<br>
<div class="im"><br>
> The issue is not just changing the theme, it's also getting it. This is an<br>
> issue for libraries that provide tools to get file paths for a theme action<br>
> (in this case, Qt's QIcon.fromTheme:<br>
> <a href="http://qt-project.org/doc/qt-4.8/qicon.html#fromTheme" target="_blank">http://qt-project.org/doc/qt-4.8/qicon.html#fromTheme</a>).<br>
<br>
</div>See my quote above about xsettings :-)<br>
<div class="im"><br>
> And while it's true<br>
> DEs provide custom ways to change the local theme, someone may wish to<br>
> create a cross-platform cross-desktop one.<br>
<br>
</div>I don't think "may wish" is something that we'll want to cover with a<br>
spec, to be honest. Unless there's a need acknowledged by people from<br>
various desktops, of course.<br>
<br>
Cheers,<br>
<div class="HOEnZb"><div class="h5"><br>
Vincent<br>
<br>
--<br>
Les gens heureux ne sont pas pressés.<br>
_______________________________________________<br>
xdg mailing list<br>
<a href="mailto:xdg@lists.freedesktop.org">xdg@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/xdg" target="_blank">http://lists.freedesktop.org/mailman/listinfo/xdg</a><br>
</div></div></blockquote></div><div><br></div><div>I don't believe xsettings fits the needs brought forward by this spec:</div><div> - Human readable/editable</div><div> - Ease of use and implementation</div><div> - Usable by all DEs with simple fallbacks</div>
<div> - Multiple-level configuration (with XDG_DATA_DIRS)</div><div><br></div><div>Additionally, please correct me if I'm mistaken, xsettings is barely in use by all DEs. It would be hard to convince DEs to use it for this, I think. Am I incorrect?</div>
<br clear="all">J. Leclanche<br><br>