summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorDaniel Rolka2013-04-22 07:35:52 (EDT)
committer Gerrit Code Review @ Eclipse.org2013-04-22 12:01:35 (EDT)
commit5547b776fa7ddac9184eb6c6553ca8d1757aafc4 (patch)
tree0b9b63b1e33f6406121de2feb157e232cea5e04a
parent03f659aedd88f2cb9d98d271fe93ea07f1e9bfac (diff)
downloadeclipse.platform.ui-5547b776fa7ddac9184eb6c6553ca8d1757aafc4.zip
eclipse.platform.ui-5547b776fa7ddac9184eb6c6553ca8d1757aafc4.tar.gz
eclipse.platform.ui-5547b776fa7ddac9184eb6c6553ca8d1757aafc4.tar.bz2
Bug 406109 - View title still italic (busy) when view is up-to-daterefs/changes/92/12092/2
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/WorkbenchSiteProgressService.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/WorkbenchSiteProgressService.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/WorkbenchSiteProgressService.java
index 84c6b24..46922e0 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/WorkbenchSiteProgressService.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/WorkbenchSiteProgressService.java
@@ -170,6 +170,7 @@ public class WorkbenchSiteProgressService implements
}
ProgressManager.getInstance().removeListener(this);
+ showBusy(false);
if (waitCursor == null) {
return;
@@ -453,11 +454,9 @@ public class WorkbenchSiteProgressService implements
protected void showBusy(boolean busy) {
MPart part = site.getModel();
- boolean containsBusyTag = part.getTags().contains(CSSConstants.CSS_BUSY_CLASS);
-
- if (busy && !containsBusyTag) {
+ if (busy) {
part.getTags().add(CSSConstants.CSS_BUSY_CLASS);
- } else if (!busy && containsBusyTag) {
+ } else {
part.getTags().remove(CSSConstants.CSS_BUSY_CLASS);
}
}