Index: src/HipoMainWindow.cs
===================================================================
RCS file: /cvs/gnome/hipo/src/HipoMainWindow.cs,v
retrieving revision 1.15
diff -u -p -r1.15 HipoMainWindow.cs
--- src/HipoMainWindow.cs	26 Dec 2006 22:24:17 -0000	1.15
+++ src/HipoMainWindow.cs	7 Jan 2007 09:41:41 -0000
@@ -384,6 +384,22 @@ namespace Hipo
 				Console.Error.WriteLine (e);
 			}
 		}
+
+		private void SetGreyedObjects (bool greyed)
+		{
+			if (!greyed) {
+				group["AddFile"].Sensitive = false;
+				group["AddFolder"].Sensitive = false;
+				group["Remove"].Sensitive = false;
+				group["AddToPlaylist"].Sensitive = false;
+				group["Eject"].Sensitive = false;
+				group["NewPlaylist"].Sensitive = false;
+				ipodCapacityBar.Text = Catalog.GetString ("No iPod Found");
+				ipodCapacityBar.Fraction = 0.0;
+				playlists.Clear ();
+				tracks.Clear ();
+			}
+		}
 		
 		private void PopulateView ()
 		{
