Removed two calls to load vcard.

git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@5581 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Derek DeMoro
2006-10-02 04:44:45 +00:00
committed by derek
parent 2763fa5c72
commit 956419329a
3 changed files with 140 additions and 125 deletions

View File

@ -77,7 +77,7 @@ import javax.swing.UIManager;
*/
public class Workspace extends JPanel implements PacketListener {
private SparkTabbedPane workspacePane;
private final StatusBar statusBox = new StatusBar();
private StatusBar statusBox;
private ContactList contactList;
private Conferences conferences;
@ -163,6 +163,8 @@ public class Workspace extends JPanel implements PacketListener {
alerts.getTitlePane().setVisible(false);
alerts.setVisible(false);
statusBox = new StatusBar();
// Build default workspace
this.setLayout(new GridBagLayout());
add(workspacePane, new GridBagConstraints(0, 9, 1, 1, 1.0, 1.0, GridBagConstraints.WEST, GridBagConstraints.BOTH, new Insets(2, 4, 4, 4), 0, 0));
@ -195,6 +197,9 @@ public class Workspace extends JPanel implements PacketListener {
contactList = new ContactList();
contactList.initialize();
// Load VCard information for status box
statusBox.loadVCard();
conferences = new Conferences();
conferences.initialize();