From eb000cd565e229249b4896ada6404459c0579dc7 Mon Sep 17 00:00:00 2001 From: Simon Steinbeiss Date: Sun, 31 Dec 2017 00:48:22 +0100 Subject: [PATCH] Fix empty progressbars showing content This was fixed by me upstream both in Gtk+ as well as in Adwaita. Somehow I must have forgotten to push this to Greybird... See https://bugzilla.gnome.org/show_bug.cgi?id=774695 --- gtk-3.0/_common.scss | 2 ++ gtk-3.0/gtk-contained-dark.css | 2 ++ gtk-3.0/gtk-contained.css | 2 ++ 3 files changed, 6 insertions(+) diff --git a/gtk-3.0/_common.scss b/gtk-3.0/_common.scss index d9cc2e16..fc505216 100644 --- a/gtk-3.0/_common.scss +++ b/gtk-3.0/_common.scss @@ -3220,6 +3220,8 @@ progressbar { border-radius: 0; } } + + trough.empty progress { all: unset; } // makes the progress indicator disappear, when the fraction is 0 } diff --git a/gtk-3.0/gtk-contained-dark.css b/gtk-3.0/gtk-contained-dark.css index 7f707712..db411216 100644 --- a/gtk-3.0/gtk-contained-dark.css +++ b/gtk-3.0/gtk-contained-dark.css @@ -3266,6 +3266,8 @@ progressbar { progressbar.osd progress { border-style: none; border-radius: 0; } + progressbar trough.empty progress { + all: unset; } /************* * Level Bar * diff --git a/gtk-3.0/gtk-contained.css b/gtk-3.0/gtk-contained.css index 83409659..a9db7024 100644 --- a/gtk-3.0/gtk-contained.css +++ b/gtk-3.0/gtk-contained.css @@ -3296,6 +3296,8 @@ progressbar { progressbar.osd progress { border-style: none; border-radius: 0; } + progressbar trough.empty progress { + all: unset; } /************* * Level Bar *