file chooser: Set a CSS name

The CSS name for GtkFileChooserWidget is ... filechooser.
This commit is contained in:
Matthias Clasen 2016-01-13 23:35:22 -05:00
parent 2f169a493b
commit 704b41b504

View File

@ -97,6 +97,10 @@
* It exposes the #GtkFileChooser interface, and you should
* use the methods of this interface to interact with the
* widget.
*
* # CSS nodes
*
* GtkFileChooserWidget has a single CSS node with name filechooser.
*/
@ -8482,6 +8486,8 @@ gtk_file_chooser_widget_class_init (GtkFileChooserWidgetClass *class)
gtk_widget_class_bind_template_callback (widget_class, rename_file_name_changed);
gtk_widget_class_bind_template_callback (widget_class, rename_file_rename_clicked);
gtk_widget_class_bind_template_callback (widget_class, rename_file_end);
gtk_widget_class_set_css_name (widget_class, "filechooser");
}
static void