Mention theme-specific settings in the migration guide
This commit is contained in:
parent
02d952ca6d
commit
cbc4e82314
@ -27,6 +27,13 @@
|
|||||||
with possible variants such as the dark theme being named
|
with possible variants such as the dark theme being named
|
||||||
<filename>gtk-dark.css</filename> in the same directory.
|
<filename>gtk-dark.css</filename> in the same directory.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
If your theme gtkrc file was providing values for #GtkSettings, you
|
||||||
|
can install a <filename>settings.ini</filename> keyfile along with
|
||||||
|
the <filename>gtk.css</filename> to provide theme-specific defaults
|
||||||
|
for settings.
|
||||||
|
</para>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section id="gtk-migrating-theme-GtkStyleContext-engines">
|
<section id="gtk-migrating-theme-GtkStyleContext-engines">
|
||||||
@ -414,8 +421,8 @@
|
|||||||
|
|
||||||
<orderedlist>
|
<orderedlist>
|
||||||
<listitem>
|
<listitem>
|
||||||
Replace <literal>style_set()</literal> calls with
|
Replace #GtkWidget::style-set handlers with
|
||||||
<literal>style_updated()</literal>.
|
#GtkWidget::style-updated handlers.
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
|
Loading…
Reference in New Issue
Block a user