[f-spot] Remove obsolete (and unused) transitions.



commit 8c285e6a0c58842daf82a6bc84d205bd6c812eca
Author: Ruben Vermeersch <ruben savanne be>
Date:   Tue Aug 10 13:19:17 2010 +0200

    Remove obsolete (and unused) transitions.

 src/Clients/MainApp/FSpot.Widgets/Dissolve.cs    |  113 --------------
 src/Clients/MainApp/FSpot.Widgets/IEffect.cs     |   15 --
 src/Clients/MainApp/FSpot.Widgets/ITransition.cs |   17 --
 src/Clients/MainApp/FSpot.Widgets/ImageInfo.cs   |    9 -
 src/Clients/MainApp/FSpot.Widgets/PanZoom.cs     |  175 ----------------------
 src/Clients/MainApp/FSpot.Widgets/Push.cs        |   91 -----------
 src/Clients/MainApp/FSpot.Widgets/Reveal.cs      |   86 -----------
 src/Clients/MainApp/FSpot.Widgets/Wipe.cs        |   98 ------------
 src/Clients/MainApp/MainApp.csproj               |    9 +-
 src/Clients/MainApp/Makefile.am                  |    7 -
 10 files changed, 2 insertions(+), 618 deletions(-)
---
diff --git a/src/Clients/MainApp/FSpot.Widgets/ImageInfo.cs b/src/Clients/MainApp/FSpot.Widgets/ImageInfo.cs
index 1284324..5148294 100644
--- a/src/Clients/MainApp/FSpot.Widgets/ImageInfo.cs
+++ b/src/Clients/MainApp/FSpot.Widgets/ImageInfo.cs
@@ -54,20 +54,11 @@ namespace FSpot.Widgets {
 
 		public ImageInfo (ImageInfo info, Gdk.Rectangle allocation)
 		{
-			#if false
-			Surface = new ImageSurface (Format.RGB24,
-						    allocation.Width,
-						    allocation.Height);
-			Context ctx = new Context (Surface);
-			#else
-			Log.DebugFormat ("source status = {0}", info.Surface.Status);
 			Surface = info.Surface.CreateSimilar (Content.Color,
 							      allocation.Width,
 							      allocation.Height);
 
-			Log.DebugFormat ("status = {1} pointer = {0}", Surface.Handle.ToString (), Surface.Status);
 			Context ctx = new Context (Surface);
-			#endif
 			Bounds = allocation;
 
 			ctx.Matrix = info.Fill (allocation);
diff --git a/src/Clients/MainApp/MainApp.csproj b/src/Clients/MainApp/MainApp.csproj
index 262818a..cd514f2 100644
--- a/src/Clients/MainApp/MainApp.csproj
+++ b/src/Clients/MainApp/MainApp.csproj
@@ -160,7 +160,6 @@
     <Compile Include="FSpot\UriCollection.cs" />
     <Compile Include="FSpot.Widgets\CellRendererTextProgress.cs" />
     <Compile Include="FSpot.Widgets\CompositeUtils.cs" />
-    <Compile Include="FSpot.Widgets\Dissolve.cs" />
     <Compile Include="FSpot.Widgets\EditorPage.cs" />
     <Compile Include="FSpot.Widgets\Filmstrip.cs" />
     <Compile Include="FSpot.Widgets\FindBar.cs" />
@@ -168,19 +167,14 @@
     <Compile Include="FSpot.Widgets\FolderTreePage.cs" />
     <Compile Include="FSpot.Widgets\FolderTreeView.cs" />
     <Compile Include="FSpot.Widgets\IconView.cs" />
-    <Compile Include="FSpot.Widgets\IEffect.cs" />
     <Compile Include="FSpot.Widgets\ImageInfo.cs" />
     <Compile Include="FSpot.Widgets\InfoBox.cs" />
-    <Compile Include="FSpot.Widgets\ITransition.cs" />
     <Compile Include="FSpot.Widgets\Loupe.cs" />
     <Compile Include="FSpot.Widgets\MetadataDisplay.cs" />
-    <Compile Include="FSpot.Widgets\PanZoom.cs" />
     <Compile Include="FSpot.Widgets\PhotoImageView.cs" />
     <Compile Include="FSpot.Widgets\PreviewPopup.cs" />
-    <Compile Include="FSpot.Widgets\Push.cs" />
     <Compile Include="FSpot.Widgets\QueryView.cs" />
     <Compile Include="FSpot.Widgets\RatingMenuItem.cs" />
-    <Compile Include="FSpot.Widgets\Reveal.cs" />
     <Compile Include="FSpot.Widgets\ScalingIconView.cs" />
     <Compile Include="FSpot.Widgets\Sharpener.cs" />
     <Compile Include="FSpot.Widgets\Sidebar.cs" />
@@ -192,7 +186,6 @@
     <Compile Include="FSpot.Widgets\Tests\FindBarTests.cs" />
     <Compile Include="FSpot.Widgets\TrayView.cs" />
     <Compile Include="FSpot.Widgets\ViewContext.cs" />
-    <Compile Include="FSpot.Widgets\Wipe.cs" />
     <Compile Include="FSpot\XScreenSaverSlide.cs" />
     <Compile Include="ImageLoaderThread.cs" />
     <Compile Include="PhotoTagMenu.cs" />
@@ -380,5 +373,7 @@
   </ItemGroup>
   <ItemGroup>
     <Folder Include="FSpot\" />
+    <Folder Include="FSpot.Transitions\" />
+    <Folder Include="FSpot.Widgets\" />
   </ItemGroup>
 </Project>
\ No newline at end of file
diff --git a/src/Clients/MainApp/Makefile.am b/src/Clients/MainApp/Makefile.am
index 195855d..fc0c8e9 100644
--- a/src/Clients/MainApp/Makefile.am
+++ b/src/Clients/MainApp/Makefile.am
@@ -90,7 +90,6 @@ SOURCES =  \
 	FSpot.UI.Dialog/ThreadProgressDialog.cs \
 	FSpot.Widgets/CellRendererTextProgress.cs \
 	FSpot.Widgets/CompositeUtils.cs \
-	FSpot.Widgets/Dissolve.cs \
 	FSpot.Widgets/EditorPage.cs \
 	FSpot.Widgets/Filmstrip.cs \
 	FSpot.Widgets/FindBar.cs \
@@ -98,19 +97,14 @@ SOURCES =  \
 	FSpot.Widgets/FolderTreePage.cs \
 	FSpot.Widgets/FolderTreeView.cs \
 	FSpot.Widgets/IconView.cs \
-	FSpot.Widgets/IEffect.cs \
 	FSpot.Widgets/ImageInfo.cs \
 	FSpot.Widgets/InfoBox.cs \
-	FSpot.Widgets/ITransition.cs \
 	FSpot.Widgets/Loupe.cs \
 	FSpot.Widgets/MetadataDisplay.cs \
-	FSpot.Widgets/PanZoom.cs \
 	FSpot.Widgets/PhotoImageView.cs \
 	FSpot.Widgets/PreviewPopup.cs \
-	FSpot.Widgets/Push.cs \
 	FSpot.Widgets/QueryView.cs \
 	FSpot.Widgets/RatingMenuItem.cs \
-	FSpot.Widgets/Reveal.cs \
 	FSpot.Widgets/ScalingIconView.cs \
 	FSpot.Widgets/Sharpener.cs \
 	FSpot.Widgets/Sidebar.cs \
@@ -122,7 +116,6 @@ SOURCES =  \
 	FSpot.Widgets/Tests/FindBarTests.cs \
 	FSpot.Widgets/TrayView.cs \
 	FSpot.Widgets/ViewContext.cs \
-	FSpot.Widgets/Wipe.cs \
 	FSpot/Accelerometer.cs \
 	FSpot/App.cs \
 	FSpot/BitConverter.cs \



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