widget: Add name to widget paths

Desktop / GNOME / GTK - Benjamin Otte [redhat.com] - 26 October 2015 21:13 UTC

This changes widget paths for widgets with a CSS name to return that CSS name, now that we have added API for it. This means that style properties are now matches using the CSS name.

Also fix the theme to use the correct name when matching style properties.

a648afa widget: Add name to widget paths
gtk/gtkwidget.c | 1 +
gtk/theme/Adwaita/_common.scss | 4 +-
gtk/theme/Adwaita/gtk-contained-dark.css | 757 +++++++++++++-----------------
gtk/theme/Adwaita/gtk-contained.css | 679 ++++++++++++---------------
gtk/theme/HighContrast/_common.scss | 4 +-
gtk/theme/HighContrast/gtk.css | 596 ++++++++++++-----------
6 files changed, 937 insertions(+), 1104 deletions(-)

Upstream: git.gnome.org


  • Share