summaryrefslogtreecommitdiff
path: root/gtk/gtkappchooserwidget.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2016-01-13 23:38:14 -0500
committerMatthias Clasen <mclasen@redhat.com>2016-01-13 23:41:38 -0500
commitc80adc33a41ca8480b97614e4b51c4d006d8d50a (patch)
tree64e32de42556f6409bef0d5dbc8dedf3e24ec99b /gtk/gtkappchooserwidget.c
parent9657ec9331ef941d9aa11951f6fa02534a359fae (diff)
downloadgtk+-c80adc33a41ca8480b97614e4b51c4d006d8d50a.tar.gz
app chooser: Set a CSS name
The CSS name for GtkAppChooserWidget is appchooser.
Diffstat (limited to 'gtk/gtkappchooserwidget.c')
-rw-r--r--gtk/gtkappchooserwidget.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkappchooserwidget.c b/gtk/gtkappchooserwidget.c
index 7e2117ce80..2aeb2b9449 100644
--- a/gtk/gtkappchooserwidget.c
+++ b/gtk/gtkappchooserwidget.c
@@ -66,6 +66,10 @@
*
* To keep track of the selected application, use the
* #GtkAppChooserWidget::application-selected and #GtkAppChooserWidget::application-activated signals.
+ *
+ * # CSS nodes
+ *
+ * GtkAppChooserWidget has a single CSS node with name appchooser.
*/
struct _GtkAppChooserWidgetPrivate {
@@ -1108,6 +1112,8 @@ gtk_app_chooser_widget_class_init (GtkAppChooserWidgetClass *klass)
gtk_widget_class_bind_template_callback (widget_class, refresh_and_emit_app_selected);
gtk_widget_class_bind_template_callback (widget_class, program_list_selection_activated);
gtk_widget_class_bind_template_callback (widget_class, widget_button_press_event_cb);
+
+ gtk_widget_class_set_css_name (widget_class, "appchooser");
}
static void