Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2008-05-03 18:09:20 -0400
committerslewis2008-05-03 18:09:20 -0400
commita2ef4ab86cc30d9feb006859e2712ed6f24521ea (patch)
tree35bfa1a6653f30b5c018bf162550c22b1d51f05f
parent15f082a40ab982c59af01208deab622fe57a121e (diff)
downloadorg.eclipse.ecf-a2ef4ab86cc30d9feb006859e2712ed6f24521ea.tar.gz
org.eclipse.ecf-a2ef4ab86cc30d9feb006859e2712ed6f24521ea.tar.xz
org.eclipse.ecf-a2ef4ab86cc30d9feb006859e2712ed6f24521ea.zip
Fix for bug 229237.
-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