Red Hat Bugzilla – Bug 477941
doesn't respect trough-side-details
Last modified: 2009-08-15 04:07:52 EDT
I was looking at turning off the filled in appearance of the lower half of the trough in scales for the 'fade' control in the new volume applet, since it is not appropriate there.
GTK+ has a GtkRange::trough-side-details style property that is supposed to control the ability of theme engines to differentiate between lower and upper half of the trough by passing in different details.
Clearlooks uses this mechanism, and consequently it is possible to turn off the filled in appearance by overriding the style property in the application.
Nodoka on the other hand, finds the adjustment value, and bases its fill drawing on that. Manually poking at the innards of the widget like that from a theme engine is bad. Nodoka should respect the trough-side-details style property and
base its fill drawing on the detail string: trough-lower vs trough-upper.
Thanks for the catch. I'll look at it later today or tomorrow (hopefully).
Created attachment 327869 [details]
Proposed Solution 1
I've just finished first approach on this matter. Can you try if it works with this patch as expected?
Package with this patch applied has just finished building for rawhide. I think it behaves now as expected, but would like you to check it as well before closing the bug. Thanks.
I will test it when I'm back in rawhide, thanks.
Works fine, thanks.
gtk-nodoka-engine-0.7.2-5.fc10 has been submitted as an update for Fedora 10.
gtk-nodoka-engine-0.7.2-5.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.