diff options
author | Michael Valenta | 2007-02-01 20:05:16 +0000 |
---|---|---|
committer | Michael Valenta | 2007-02-01 20:05:16 +0000 |
commit | 6eb066f4ecababeb4f34fe60e797f68409bc1a94 (patch) | |
tree | de3d15ffe76f35b518f3ec95a0e954ed6dbebbea /bundles | |
parent | 2d9674ebab33024d629303651e9b2588fc21d738 (diff) | |
download | eclipse.platform.team-6eb066f4ecababeb4f34fe60e797f68409bc1a94.tar.gz eclipse.platform.team-6eb066f4ecababeb4f34fe60e797f68409bc1a94.tar.xz eclipse.platform.team-6eb066f4ecababeb4f34fe60e797f68409bc1a94.zip |
Bug 156503 [Sync View] Prompted twice to switch perspectives
Diffstat (limited to 'bundles')
-rw-r--r-- | bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/RefreshUserNotificationPolicy.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/RefreshUserNotificationPolicy.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/RefreshUserNotificationPolicy.java index d2873bb44..a989a4a37 100644 --- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/RefreshUserNotificationPolicy.java +++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/RefreshUserNotificationPolicy.java @@ -43,7 +43,7 @@ public class RefreshUserNotificationPolicy implements IRefreshSubscriberListener public void refreshStarted(final IRefreshEvent event) { TeamUIPlugin.getStandardDisplay().asyncExec(new Runnable() { public void run() { - if (event.getRefreshType() == IRefreshEvent.USER_REFRESH) { + if (event.getRefreshType() == IRefreshEvent.USER_REFRESH && event.getParticipant() == participant) { ISynchronizeView view = TeamUI.getSynchronizeManager().showSynchronizeViewInActivePage(); if (view != null) { view.display(participant); |