summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooserbutton.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2016-03-11 18:30:36 -0500
committerMatthias Clasen <mclasen@redhat.com>2016-03-11 21:42:33 -0500
commit07e6eae3e59c9c0eba9fde23492b566b9c474840 (patch)
tree49d05e3b565b49e453e8561a6094d3d8eda8634e /gtk/gtkfilechooserbutton.c
parent4d84e7a8f774f1c82d5ee3e6dd460a6d61024525 (diff)
downloadgtk+-07e6eae3e59c9c0eba9fde23492b566b9c474840.tar.gz
file chooser button: Set a CSS name
This lets us differentiate the main node from regular boxes.
Diffstat (limited to 'gtk/gtkfilechooserbutton.c')
-rw-r--r--gtk/gtkfilechooserbutton.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkfilechooserbutton.c b/gtk/gtkfilechooserbutton.c
index e9e81471b9..5178b777bd 100644
--- a/gtk/gtkfilechooserbutton.c
+++ b/gtk/gtkfilechooserbutton.c
@@ -471,6 +471,8 @@ gtk_file_chooser_button_class_init (GtkFileChooserButtonClass * class)
gtk_widget_class_bind_template_callback (widget_class, button_clicked_cb);
gtk_widget_class_bind_template_callback (widget_class, combo_box_changed_cb);
gtk_widget_class_bind_template_callback (widget_class, combo_box_notify_popup_shown_cb);
+
+ gtk_widget_class_set_css_name (widget_class, "filechooserbutton");
}
static void