diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-10-30 17:44:36 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-10-30 17:44:36 -0400 |
commit | ee3799f151ed64ba5acde5ea1e33833608c0076a (patch) | |
tree | 138bbc7d7b5b74042aca5332c9421f8c1d19e302 /gtk/gtkiconview.c | |
parent | f97e2599e359fd0d03a777e8c9022ab5c7ed9f7d (diff) | |
download | gtk+-ee3799f151ed64ba5acde5ea1e33833608c0076a.tar.gz |
icon view: Add an element name
Not surprising anybody, I decided to call it iconview.
Diffstat (limited to 'gtk/gtkiconview.c')
-rw-r--r-- | gtk/gtkiconview.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkiconview.c b/gtk/gtkiconview.c index 4dbf096353..143acb6de6 100644 --- a/gtk/gtkiconview.c +++ b/gtk/gtkiconview.c @@ -62,6 +62,10 @@ * opposed to a flat list where the mapping to icons is obvious), * #GtkIconView will only display the first level of the tree and * ignore the tree’s branches. + * + * # CSS nodes + * + * GtkIconView has a single CSS node with name iconview and style class .view. */ #define SCROLL_EDGE_SIZE 15 @@ -930,6 +934,7 @@ gtk_icon_view_class_init (GtkIconViewClass *klass) GTK_MOVEMENT_VISUAL_POSITIONS, -1); gtk_widget_class_set_accessible_type (widget_class, GTK_TYPE_ICON_VIEW_ACCESSIBLE); + gtk_widget_class_set_css_name (widget_class, "iconview"); } static void |