Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Keppler2018-07-06 08:24:45 -0400
committerThomas Wolf2018-07-07 12:11:28 -0400
commit70d01ef871f64de26390f243613beb5ad6ac8978 (patch)
tree06e261103b2a1e48f08f469534158cb6613b73a4 /org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal
parentb5764723c1bef281a3d7d00d6f64af1d016472ca (diff)
downloadegit-70d01ef871f64de26390f243613beb5ad6ac8978.tar.gz
egit-70d01ef871f64de26390f243613beb5ad6ac8978.tar.xz
egit-70d01ef871f64de26390f243613beb5ad6ac8978.zip
mark more jobs as system or user
When browsing some job creations, I noticed that some of the egit internal jobs are not marked as system or user. Change-Id: I8d557bcf5ccfc54e5d27e0f3c1f4455dc62a751a Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
Diffstat (limited to 'org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal')
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/CreateTagDialog.java1
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/tree/command/GarbageCollectCommand.java1
2 files changed, 2 insertions, 0 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/CreateTagDialog.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/CreateTagDialog.java
index 42ed47322..0279a90d6 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/CreateTagDialog.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/CreateTagDialog.java
@@ -341,6 +341,7 @@ public class CreateTagDialog extends TitleAreaDialog {
}
};
job.setSystem(true);
+ job.setUser(false);
job.schedule();
}
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/tree/command/GarbageCollectCommand.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/tree/command/GarbageCollectCommand.java
index f74378d9f..c8e525fb0 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/tree/command/GarbageCollectCommand.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/tree/command/GarbageCollectCommand.java
@@ -82,6 +82,7 @@ public class GarbageCollectCommand extends
return Status.OK_STATUS;
}
};
+ job.setUser(true);
IServiceLocator serviceLocator = HandlerUtil.getActiveSite(event);
if (serviceLocator != null) {
IWorkbenchSiteProgressService service = CommonUtils.getService(

Back to the top