diff options
author | Michael Valenta | 2005-10-27 15:02:38 +0000 |
---|---|---|
committer | Michael Valenta | 2005-10-27 15:02:38 +0000 |
commit | 26c499f23693380a5b852584ee1c4a10241b7125 (patch) | |
tree | 70cda4cc64db3b63e421c7c8a752e2a38a9ca453 /bundles/org.eclipse.team.ui/src/org/eclipse/team/ui/synchronize/SubscriberParticipant.java | |
parent | 9eff4725f0bd0c8d99f407cf26a3ae8d278044ec (diff) | |
download | eclipse.platform.team-26c499f23693380a5b852584ee1c4a10241b7125.tar.gz eclipse.platform.team-26c499f23693380a5b852584ee1c4a10241b7125.tar.xz eclipse.platform.team-26c499f23693380a5b852584ee1c4a10241b7125.zip |
Bug 113969 (PatchAttached) Add "schedule" icon marker for scheduled syncronizations in the "synchronize" drop-down
Diffstat (limited to 'bundles/org.eclipse.team.ui/src/org/eclipse/team/ui/synchronize/SubscriberParticipant.java')
-rw-r--r-- | bundles/org.eclipse.team.ui/src/org/eclipse/team/ui/synchronize/SubscriberParticipant.java | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/ui/synchronize/SubscriberParticipant.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/ui/synchronize/SubscriberParticipant.java index 78ba88f37..62da7e69d 100644 --- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/ui/synchronize/SubscriberParticipant.java +++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/ui/synchronize/SubscriberParticipant.java @@ -312,11 +312,14 @@ public abstract class SubscriberParticipant extends AbstractSynchronizeParticipa * Not to be called by clients. */ public void setRefreshSchedule(SubscriberRefreshSchedule schedule) { - if (refreshSchedule == schedule) return; - if (refreshSchedule != null) { - refreshSchedule.dispose(); + if (refreshSchedule != schedule) { + if (refreshSchedule != null) { + refreshSchedule.dispose(); + } + this.refreshSchedule = schedule; } - this.refreshSchedule = schedule; + // Always fir the event since the schedule may have been changed + firePropertyChange(this, AbstractSynchronizeParticipant.P_SCHEDULED, schedule, schedule); } /* (non-Javadoc) |