Hi guys,

it's now possible to specify location (representation) of buttons added via 
addMainTabActionButton API.

For example:

    api.addMainTabActionButton('Host', 'My Button', {
        location: 'OnlyFromContext',
        onClick: function() { ... },
        ...
    });

Supported values for button location:
* 'OnlyFromContext' - button available only from context menu
* 'OnlyFromToolBar' - button available only from toolbar (action panel)
* 'ContextAndToolBar' (default) - button available from both context menu and 
toolbar (action panel)

Regards,
Vojtech
_______________________________________________
Engine-devel mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-devel

Reply via email to