[gtk+] file chooser: Set a CSS name
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] file chooser: Set a CSS name
- Date: Thu, 14 Jan 2016 04:44:15 +0000 (UTC)
commit 704b41b504b452a963be0d7ad09f82b8fe61e21c
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Jan 13 23:35:22 2016 -0500
file chooser: Set a CSS name
The CSS name for GtkFileChooserWidget is ... filechooser.
gtk/gtkfilechooserwidget.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c
index 3143497..01aeedf 100644
--- a/gtk/gtkfilechooserwidget.c
+++ b/gtk/gtkfilechooserwidget.c
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]