Merge branch 'wip/jimmac/app-icon-helpers' into 'gtk-3-24'

Theme: add helper class names for Adwaita

See merge request GNOME/gtk!449
This commit is contained in:
Matthias Clasen 2019-01-08 01:26:58 +00:00
commit d79de8657b
3 changed files with 11 additions and 2 deletions

View File

@ -134,7 +134,8 @@
*
* # CSS nodes
*
* GtkImage has a single CSS node with the name image.
* GtkImage has a single CSS node with the name image. The style classes
* may appear on image CSS nodes: .icon-dropshadow, .lowres-icon.
*/

View File

@ -33,6 +33,9 @@
<property name="spacing">12</property>
<child>
<object class="GtkImage" id="logo_image">
<style>
<class name="icon-dropshadow"/>
</style>
<property name="visible">1</property>
<property name="icon-name">image-missing</property>
</object>

View File

@ -75,7 +75,12 @@
<object class="GtkCellRendererText" id="secondary_padding"/>
</child>
<child>
<object class="GtkCellRendererPixbuf" id="app_icon"/>
<object class="GtkCellRendererPixbuf" id="app_icon">
<style>
<class name="lowres-icon"/>
</style>
<property name="stock-size">5</property>
</object>
<attributes>
<attribute name="gicon">1</attribute>
</attributes>