Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--framework/bundles/org.eclipse.ecf.presence.ui/src/org/eclipse/ecf/presence/ui/MultiRosterView.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/framework/bundles/org.eclipse.ecf.presence.ui/src/org/eclipse/ecf/presence/ui/MultiRosterView.java b/framework/bundles/org.eclipse.ecf.presence.ui/src/org/eclipse/ecf/presence/ui/MultiRosterView.java
index f05b6eb07..4a4cda43f 100644
--- a/framework/bundles/org.eclipse.ecf.presence.ui/src/org/eclipse/ecf/presence/ui/MultiRosterView.java
+++ b/framework/bundles/org.eclipse.ecf.presence.ui/src/org/eclipse/ecf/presence/ui/MultiRosterView.java
@@ -150,7 +150,8 @@ public class MultiRosterView extends ViewPart implements IMultiRosterViewPart {
createHelpMessage(pageBook);
setupTreeViewer(pageBook);
- pageBook.showPage(helpMessageLabel);
+ if (rosterAccounts.size() == 0)
+ pageBook.showPage(helpMessageLabel);
}
private void createHelpMessage(Composite parent) {
@@ -183,8 +184,8 @@ public class MultiRosterView extends ViewPart implements IMultiRosterViewPart {
makeActions();
hookContextMenu();
contributeToActionBars();
- retrieveServices();
hookDropSupport();
+ retrieveServices();
treeViewer.expandToLevel(DEFAULT_EXPAND_LEVEL);
}

Back to the top