#1994 NORM Trial-3: Toolbar button states do not match visual design
Zarro Boogs per Child
bugtracker at laptop.org
Sat Aug 11 10:53:27 EDT 2007
#1994: Toolbar button states do not match visual design
-------------------------------+--------------------------------------------
Reporter: Eben | Owner: Eben
Type: defect | Status: new
Priority: normal | Milestone: Trial-3
Component: interface-design | Version:
Resolution: | Keywords: review+
Verified: 0 |
-------------------------------+--------------------------------------------
Changes (by benzea):
* cc: benjamin at sipsolutions.net (added)
Comment:
Replying to [comment:19 marco]:
> benzea,
>
> {{{
> --- a/gtk/theme/gtkrc.em
> +++ b/gtk/theme/gtkrc.em
> @@ -379,7 +379,7 @@ style "button"
> {
> fg[NORMAL] = $white
>
> - bg[NORMAL] = $button_grey
> + bg[NORMAL] = $black
> }
> }}}
>
> I need that patch to get black background on hover... Does that make any
sense to you? I'd expect bg[PRELIGHT] to affect that. Also if I set the
same on the toolbutton it does not work.
Yes, it makes sense. The normal sugar buttons do not have any PRELIGHT
state, so I added a hack in the engine which ignores prelight and draws
with NORMAL or ACTIVE instead. Which explains the current behaviour.
--
Ticket URL: <http://dev.laptop.org/ticket/1994#comment:20>
One Laptop Per Child <http://laptop.org/>
More information about the Bugs
mailing list