GNOME Bugzilla – Bug 773799
GtkLevelBar doesn't update blocks on discrete mode
Last modified: 2016-11-04 17:11:04 UTC
See patch below. Please, cherry-pick to gnome-3-22 if possible.
Created attachment 338922 [details] [review]
levelbar: update css nodes even when no offset value is found
GtkLevelBar supports adding custom offsets as style classes, and they
are applied whenever the :value property matches. The current code,
however, only updates any CSS nodes when an offset is found, causing
it to not update when a discrete value changes but no custom offset
Fix that by always updating the CSS nodes.