Ok this is my first patch so don't eat me alive
This patch enables plugins to add components to the toolbar at the top of the main SC window (net.java.sip.communicator.impl.gui.main.menus.QuickMenu
). I found, when trying to build a plugin, that any component added to this menu would be registered but never actually painted on the window. This is because, when the menu is created, it never calls the initPluginComponents method to search for plugin components.
This is a trivial oversight but in my opinion still an important one from a usability standpoint.
The initPluginsComponents() call has also been omitted from net.java.sip.communicator.impl.gui.main.menus.ExtendedQuickMenu, and the patch will correct ExtendedQuickMenu as well.
If you have any questions, let me know.
add plugin component to gui toolbar.patch (835 Bytes)