diff --git a/src/net/java/sip/communicator/impl/gui/main/presence/AccountStatusPanel.java b/src/net/java/sip/communicator/impl/gui/main/presence/AccountStatusPanel.java index ce3f05cf9..93a8377b3 100644 --- a/src/net/java/sip/communicator/impl/gui/main/presence/AccountStatusPanel.java +++ b/src/net/java/sip/communicator/impl/gui/main/presence/AccountStatusPanel.java @@ -76,11 +76,6 @@ public class AccountStatusPanel */ private final TexturePaint texture; - /** - * Container for plugins. - */ - private final PluginContainer pluginContainer; - /** * Creates an instance of AccountStatusPanel by specifying the * main window, where this panel is added. @@ -122,9 +117,7 @@ public AccountStatusPanel(MainFrame mainFrame) TransparentPanel pluginPanel = new TransparentPanel(new FlowLayout(FlowLayout.RIGHT)); - pluginContainer = new PluginContainer( - new TransparentPanel(new FlowLayout(FlowLayout.RIGHT)), - Container.CONTAINER_MAIN_TOOL_BAR); + new PluginContainer(pluginPanel, Container.CONTAINER_MAIN_TOOL_BAR); statusToolsPanel.add(pluginPanel, BorderLayout.EAST); @@ -136,6 +129,15 @@ public AccountStatusPanel(MainFrame mainFrame) this.add(accountImageLabel, BorderLayout.WEST); this.add(rightPanel, BorderLayout.CENTER); + TransparentPanel southPluginPanel + = new TransparentPanel(new BorderLayout()); + + new PluginContainer( + new TransparentPanel(new BorderLayout()), + Container.CONTAINER_ACCOUNT_SOUTH); + + this.add(southPluginPanel, BorderLayout.SOUTH); + // texture BufferedImage bgImage = ImageLoader.getImage(ImageLoader.WINDOW_TITLE_BAR_BG); diff --git a/src/net/java/sip/communicator/service/gui/Container.java b/src/net/java/sip/communicator/service/gui/Container.java index 951908c9a..38de88e2d 100644 --- a/src/net/java/sip/communicator/service/gui/Container.java +++ b/src/net/java/sip/communicator/service/gui/Container.java @@ -46,7 +46,15 @@ public class Container * Main application window main toolbar container. */ public static final Container CONTAINER_MAIN_TOOL_BAR - = new Container("CONTAINER_MAIN_TOOL_BAR"); + = new Container("CONTAINER_MAIN_TOOL_BAR"); + + /** + * The container added on the south of the account panel above the + * contact list. + */ + public static final Container CONTAINER_ACCOUNT_SOUTH + = new Container("CONTAINER_ACCOUNT_SOUTH"); + /** * Main application window main tabbedpane container. */