[f-spot] Remove SimpleCalendar, not used anyway.



commit 069ac0d26408dc73259dc83f1f77e7901605e559
Author: Ruben Vermeersch <ruben savanne be>
Date:   Sat May 15 01:18:19 2010 +0200

    Remove SimpleCalendar, not used anyway.

 f-spot.csproj         |    1 -
 src/MainWindow.cs     |   19 ---------------
 src/Makefile.am       |    1 -
 src/SimpleCalendar.cs |   61 -------------------------------------------------
 4 files changed, 0 insertions(+), 82 deletions(-)
---
diff --git a/f-spot.csproj b/f-spot.csproj
index 9eabdbd..2797b7b 100644
--- a/f-spot.csproj
+++ b/f-spot.csproj
@@ -98,7 +98,6 @@
     <Compile Include="src\RotateCommand.cs" />
     <Compile Include="src\Scanning.cs" />
     <Compile Include="src\SendEmail.cs" />
-    <Compile Include="src\SimpleCalendar.cs" />
     <Compile Include="src\SingleView.cs" />
     <Compile Include="src\SlideView.cs" />
     <Compile Include="src\TagCommands.cs" />
diff --git a/src/MainWindow.cs b/src/MainWindow.cs
index 69cbfae..f7455e3 100644
--- a/src/MainWindow.cs
+++ b/src/MainWindow.cs
@@ -412,11 +412,6 @@ namespace FSpot
 			Database.Tags.ItemsChanged += HandleTagsChanged;
 			Database.Tags.ItemsAdded += HandleTagsChanged;
 			Database.Tags.ItemsRemoved += HandleTagsChanged;
-	#if SHOW_CALENDAR
-			FSpot.SimpleCalendar cal = new FSpot.SimpleCalendar (query);
-			cal.DaySelected += HandleCalendarDaySelected;
-			left_vbox.PackStart (cal, false, true, 0);
-	#endif
 	
 			group_selector = new FSpot.GroupSelector ();
 			group_selector.Adaptor = new FSpot.TimeAdaptor (query, Preferences.Get<bool> (Preferences.GROUP_ADAPTOR_ORDER_ASC));
@@ -994,20 +989,6 @@ namespace FSpot
 	 		query_widget.Include (new Tag [] {tag_selection_widget.TagByPath (args.Path)});
 		}
 	
-	
-	#if SHOW_CALENDAR
-		void HandleCalendarDaySelected (object sender, System.EventArgs args)
-		{
-			FSpot.SimpleCalendar cal = sender as FSpot.SimpleCalendar;
-			JumpTo (cal.Date);
-		}
-	
-		void JumpTo (System.DateTime time)
-		{
-			JumpTo (query.LookupItem (time));*/
-		}
-	#endif
-	
 		void JumpTo (int index)
 		{
 			switch (ViewMode) {
diff --git a/src/Makefile.am b/src/Makefile.am
index 126e1c4..7a3bbe0 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -243,7 +243,6 @@ F_SPOT_CSDISTFILES =				\
 	$(srcdir)/SendEmail.cs                  \
 	$(srcdir)/XScreenSaverSlide.cs		\
 	$(srcdir)/SingleView.cs			\
-	$(srcdir)/SimpleCalendar.cs		\
 	$(srcdir)/Sharpener.cs			\
 	$(srcdir)/SoftFocus.cs		\
 	$(srcdir)/TagCommands.cs		\



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