summaryrefslogtreecommitdiff
path: root/gtk/gtkplacessidebar.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-11-05 10:51:54 -0500
committerMatthias Clasen <mclasen@redhat.com>2015-11-05 12:56:16 -0500
commitcd798d5aed6b008d39eba8f31d0823075988edc8 (patch)
treeec307339c3a434f31713d08a40ad2d85e5508729 /gtk/gtkplacessidebar.c
parent5744c757c21e359556dc246cd4c87fba218e4d6c (diff)
downloadgtk+-cd798d5aed6b008d39eba8f31d0823075988edc8.tar.gz
places sidebar: Document style classes
Document the style classes that GtkPlacesSidebar uses on its rows.
Diffstat (limited to 'gtk/gtkplacessidebar.c')
-rw-r--r--gtk/gtkplacessidebar.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c
index a34ae6748e..19e171df99 100644
--- a/gtk/gtkplacessidebar.c
+++ b/gtk/gtkplacessidebar.c
@@ -95,6 +95,12 @@
*
* GtkPlacesSidebar uses a single CSS node with name placesidebar and style
* class .sidebar.
+ *
+ * Among the children of the places sidebar, the following style classes can
+ * be used:
+ * - .sidebar-new-bookmark-row for the 'Add new bookmark' row
+ * - .sidebar-placeholder-row for a row that is a placeholder
+ * - .has-open-popup when a popup is open for a row
*/
/* These are used when a destination-side DND operation is taking place.