[f-spot] Remove unnecessary pages list of Sidebar.cs



commit 7ca2798e44c0f094180e340fb4f4932d3a13c2ce
Author: Paul Wellner Bou <paul purecodes org>
Date:   Wed Jun 30 10:59:35 2010 +0200

    Remove unnecessary pages list of Sidebar.cs

 src/Widgets/Sidebar.cs |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/Widgets/Sidebar.cs b/src/Widgets/Sidebar.cs
index 5b4b6ac..067ad21 100644
--- a/src/Widgets/Sidebar.cs
+++ b/src/Widgets/Sidebar.cs
@@ -67,8 +67,6 @@ namespace FSpot.Widgets
 		private List<string> menu_list;
 		private List<string> image_list;
 
-		private List<SidebarPage> pages;
-
 		public event EventHandler CloseRequested;
 
         	// Selection change events, sidebar pages can subscribed to this.
@@ -128,7 +126,6 @@ namespace FSpot.Widgets
 
 			menu_list = new List<string> ();
 			image_list = new List<string> ();
-			pages = new List<SidebarPage> ();
 		}
 
 		private void HandleContextChanged (object sender, EventArgs args)
@@ -159,7 +156,6 @@ namespace FSpot.Widgets
 		{	
 			page.Sidebar = this;
 			page.CanSelectChanged += HandleCanSelectChanged;
-			pages.Add (page);
 
 			string label = page.Label;
 			string icon_name = page.IconName;



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