|
|
Re: Re: improving KupuStateButton: small proposal: msg#00012
web.kupu.devel
|
Subject: |
Re: Re: improving KupuStateButton: small proposal |
Duncan Booth wrote:
At least in the repository KupuStateButton objects are only used for
browser commands. The browser already maintains a state of its commands.
We can get this state calling queryCommandState(command). This state is
not perfect, but much better than that currently maintained by Kupu.
The zoom tool is also a KupuStateButton and is not a browser command. +1 on
making the sort of change you suggest, but please don't break the zoom
tool.
Same here, a big fat +1 to improve this code, but be careful to not
break edge-case buttons...
Cheers,
Guido
|
|