mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-16 07:04:29 +00:00
dropdown: Use our own CSS name
Use the name dropdown for the css node, and document it.
This commit is contained in:
parent
6ff8f1b2fd
commit
b0bb413faa
@ -88,7 +88,11 @@
|
||||
* </items>
|
||||
* </object>
|
||||
* ]|
|
||||
|
||||
*
|
||||
* * # CSS nodes
|
||||
*
|
||||
* GtkDropDown has a single CSS node with name dropdown,
|
||||
* with the button and popover nodes as children.
|
||||
*/
|
||||
|
||||
struct _GtkDropDown
|
||||
@ -526,7 +530,7 @@ gtk_drop_down_class_init (GtkDropDownClass *klass)
|
||||
gtk_widget_class_bind_template_callback (widget_class, search_changed);
|
||||
gtk_widget_class_bind_template_callback (widget_class, search_stop);
|
||||
|
||||
gtk_widget_class_set_css_name (widget_class, I_("combobox"));
|
||||
gtk_widget_class_set_css_name (widget_class, I_("dropdown"));
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user