Commit 7568d17a authored by Matthias Clasen's avatar Matthias Clasen

toolpalette: Use element names

Give the GtkToolPalette and GtkToolItemGroup the element
names toolpalette and toolitemgroup.
parent cacc63ea
......@@ -48,6 +48,10 @@
* #GtkToolItems to a palette like container with different
* categories and drag and drop support.
*
* # CSS nodes
*
* GtkToolItemGroup has a single CSS node named toolitemgroup.
*
* Since: 2.20
*/
......@@ -1684,6 +1688,8 @@ gtk_tool_item_group_class_init (GtkToolItemGroupClass *cls)
G_MAXINT,
0,
GTK_PARAM_READWRITE));
gtk_widget_class_set_css_name (wclass, "toolitemgroup");
}
/**
......
......@@ -109,6 +109,10 @@
* GDK_ACTION_COPY);
* ]|
*
* # CSS nodes
*
* GtkToolPalette has a single CSS node named toolpalette.
*
* Since: 2.20
*/
......@@ -1024,6 +1028,8 @@ gtk_tool_palette_class_init (GtkToolPaletteClass *cls)
P_("Whether the item group should receive extra space when the palette grows"),
DEFAULT_CHILD_EXPAND,
GTK_PARAM_READWRITE));
gtk_widget_class_set_css_name (wclass, "toolpalette");
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment