appchooserdialog: Add "appchooser" style class
authorAlexander Mikhaylenko <alexm@gnome.org>
Wed, 5 Apr 2023 20:10:25 +0000 (00:10 +0400)
committerAlexander Mikhaylenko <alexm@gnome.org>
Wed, 5 Apr 2023 20:58:38 +0000 (00:58 +0400)
gtk/deprecated/gtkappchooserdialog.c
gtk/ui/gtkappchooserdialog.ui

index 4575c18d68558b5deea3062d41e6457fcd03986c..48becc324d53f136e39d6418830478ab7a3b37d5 100644 (file)
  * To set the heading that is shown above the `GtkAppChooserWidget`,
  * use [method@Gtk.AppChooserDialog.set_heading].
  *
+ * ## CSS nodes
+ *
+ * `GtkAppChooserDialog` has a single CSS node with the name `window` and style
+ * class `.appchooser`.
+ *
  * Deprecated: 4.10: The application selection widgets should be
  *   implemented according to the design of each platform and/or
  *   application requiring them.
index 1e8faf5cead530123d774c00eda8369d6cc3b254..2437d601d44bdf31147f4fcedc420cff8db75332 100644 (file)
@@ -2,6 +2,9 @@
 <interface domain="gtk40">
   <template class="GtkAppChooserDialog" parent="GtkDialog">
     <property name="title" translatable="yes">Select App</property>
+    <style>
+      <class name="appchooser"/>
+    </style>
     <child internal-child="content_area">
       <object class="GtkBox" id="dialog-vbox1">
         <property name="orientation">1</property>