summaryrefslogtreecommitdiff
path: root/gtk/gtkprogressbar.c
diff options
context:
space:
mode:
authorLapo Calamandrei <calamandrei@gmail.com>2016-01-09 20:05:41 +0100
committerLapo Calamandrei <calamandrei@gmail.com>2016-01-09 20:05:41 +0100
commit152171e60c1393e7856579e8af4831c1407d8fcf (patch)
tree5511ed5aa6cdf8321769e4b27effdb1fc4300e92 /gtk/gtkprogressbar.c
parent6da0a0a106cebb1f06194c711820ddfa8c127ca8 (diff)
downloadgtk+-152171e60c1393e7856579e8af4831c1407d8fcf.tar.gz
Adwaita: transparent background for progressbar.osd
Hopefully fixes https://bugzilla.gnome.org/show_bug.cgi?id=760331 Added the .osd style class to the progressbar docs.
Diffstat (limited to 'gtk/gtkprogressbar.c')
-rw-r--r--gtk/gtkprogressbar.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/gtkprogressbar.c b/gtk/gtkprogressbar.c
index 405e003d8d..13731c3a43 100644
--- a/gtk/gtkprogressbar.c
+++ b/gtk/gtkprogressbar.c
@@ -72,7 +72,7 @@
* # CSS nodes
*
* |[<!-- language="plain" -->
- * progressbar
+ * progressbar[.osd]
* ╰── trough
* ├── [text]
* ╰── progress[.pulse]
@@ -83,6 +83,8 @@
* is shown. The progress subnode has the style class .pulse when in activity
* mode. It gets the style classes .left, .right, .top or .bottom added when
* the progress 'touches' the corresponding end of the GtkProgressBar.
+ * The .osd class on the progressbar node is for use in overlays like the one
+ * epiphany has for page loading progress.
*/
#define MIN_HORIZONTAL_BAR_WIDTH 150