PDA

View Full Version : ToolbarButton enablement



michael.mest
07-06-2010, 02:20 AM
Hi,

i would like to change the "enabled/disabled" state of the print-Button in the main-toolbar in dependency of the url of the current selected tab.

How is this possible?

I found the "disabled" atribute in the main_toolbar.xul, but this seems to be static. I didn't found the place in the source code to change the button's state on runtime.

Can anyone help me?

Thx!