[tasque/viewmodel: 61/78] mv MainWindowContextMenuModel.cs TaskContextMenuModel.cs



commit 7f84d172e15923da0edcad739c0c685fb06ddcab
Author: Antonius Riha <antoniusriha gmail com>
Date:   Wed Aug 8 18:37:27 2012 +0200

    mv MainWindowContextMenuModel.cs TaskContextMenuModel.cs
    
    * This context model belongs to a task rather than to the main window.

 ...ContextMenuModel.cs => TaskContextMenuModel.cs} |    6 +++---
 src/libtasqueui/libtasqueui.csproj                 |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/libtasqueui/Legacy/MainWindowContextMenuModel.cs b/src/libtasqueui/Legacy/TaskContextMenuModel.cs
similarity index 91%
rename from src/libtasqueui/Legacy/MainWindowContextMenuModel.cs
rename to src/libtasqueui/Legacy/TaskContextMenuModel.cs
index 6b0a03f..3ef09a1 100644
--- a/src/libtasqueui/Legacy/MainWindowContextMenuModel.cs
+++ b/src/libtasqueui/Legacy/TaskContextMenuModel.cs
@@ -1,5 +1,5 @@
 // 
-// MainWindowContextMenuModel.cs
+// TaskContextMenuModel.cs
 //  
 // Author:
 //       Antonius Riha <antoniusriha gmail com>
@@ -27,9 +27,9 @@ using System;
 
 namespace Tasque.UIModel.Legacy
 {
-	public class MainWindowContextMenuModel : ViewModelBase
+	public class TaskContextMenuModel : ViewModel
 	{
-		public MainWindowContextMenuModel (MainWindowModel mainWindowModel)
+		public TaskContextMenuModel (MainWindowModel mainWindowModel)
 		{
 			removeTaskCommand = new RemoveTaskCommand (Backend);
 		}
diff --git a/src/libtasqueui/libtasqueui.csproj b/src/libtasqueui/libtasqueui.csproj
index 4489421..9362b33 100644
--- a/src/libtasqueui/libtasqueui.csproj
+++ b/src/libtasqueui/libtasqueui.csproj
@@ -99,7 +99,6 @@
     <Compile Include="Legacy\CompletionDateRange.cs" />
     <Compile Include="ITimeAware.cs" />
     <Compile Include="Legacy\MainWindowTopPanelModel.cs" />
-    <Compile Include="Legacy\MainWindowContextMenuModel.cs" />
     <Compile Include="Legacy\Commands\ComponentCommands.cs" />
     <Compile Include="Legacy\Commands\TaskCommands.cs" />
     <Compile Include="Legacy\NativeApplication.cs" />
@@ -117,6 +116,7 @@
     <Compile Include="ValueConverter.cs" />
     <Compile Include="Legacy\CompletionDateRangeConverter.cs" />
     <Compile Include="Legacy\TaskGroupNameConverter.cs" />
+    <Compile Include="Legacy\TaskContextMenuModel.cs" />
     <Compile Include="ViewModel.cs" />
   </ItemGroup>
   <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]