Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Krüger <mkrueger@xamarin.com>2015-02-19 12:01:00 +0300
committerMike Krüger <mkrueger@xamarin.com>2015-02-19 12:01:00 +0300
commitcb54725dc5e0ba4fd211a4a98d21a5c39d09cb99 (patch)
tree9dcf11951e7c19f6f44d0d823737de54d17eb73b /main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor
parentf756af36697a1f88f7d74d74757b520b3bdbd37e (diff)
[Ide] Ported task system to roslyn.
Renamed Task -> TaskListEntry. With the new task based APIs it was really annoying to have a custom 'Task' class.
Diffstat (limited to 'main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor')
-rw-r--r--main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor/POEditorWidget.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor/POEditorWidget.cs b/main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor/POEditorWidget.cs
index b2c876dc35..40930f4b0d 100644
--- a/main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor/POEditorWidget.cs
+++ b/main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor/POEditorWidget.cs
@@ -960,7 +960,7 @@ namespace MonoDevelop.Gettext
base.OnDestroyed ();
}
#region Tasks
- public class TranslationTask : Task
+ public class TranslationTask : TaskListEntry
{
POEditorWidget widget;
CatalogEntry entry;
@@ -984,7 +984,7 @@ namespace MonoDevelop.Gettext
TaskService.Errors.ClearByOwner (this);
}
- static bool CompareTasks (List<Task> list1, List<Task> list2)
+ static bool CompareTasks (List<TaskListEntry> list1, List<TaskListEntry> list2)
{
if (list1.Count != list2.Count)
return false;
@@ -1112,7 +1112,7 @@ namespace MonoDevelop.Gettext
}
- List<Task> currentTasks = new List<Task> ();
+ List<TaskListEntry> currentTasks = new List<TaskListEntry> ();
BackgroundWorker updateTaskThread = null;
@@ -1124,7 +1124,7 @@ namespace MonoDevelop.Gettext
return;
}
- List<Task> tasks = new List<Task> ();
+ List<TaskListEntry> tasks = new List<TaskListEntry> ();
try {
foreach (CatalogEntryRule rule in rules) {
foreach (CatalogEntry entry in catalog) {