Modify

Opened 12 years ago

Closed 12 years ago

#123 closed defect (wontfix)

Plugin actions cannot be registered and put in the toolbar

Reported by: frsantos@… Owned by: imi
Priority: major Milestone:
Component: Core Version: latest
Keywords: Cc:

Description

The toolbar is initialized on the constructor of the "Main" object, before loading the plugins. So, any actions provided by these plugins are not added to the toolbar until a new refresh (when accepting the preferences window) and an empty box appears instead of the action icon.

A workaround may be calling Main.toolbar.refreshToolbarControl(); in the plugin constructor, but this should be done in the main application.

Attachments (0)

Change History (1)

comment:1 Changed 12 years ago by imi

Resolution: wontfix
Status: newclosed

The "workaround" was the intention of refreshToolbarControl(). I added a comment to make it clear ;-).

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain imi.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.