*** backends/backend-ephybookmarks.cs.orig	2003-10-17 11:19:02.000000000 +1300
--- backends/backend-ephybookmarks.cs	2003-10-17 11:25:15.000000000 +1300
***************
*** 129,135 ****
  			int index = url.IndexOf ("/", 7);
  			Console.WriteLine (String.Format ("url is {0}; index is {1}", url, index));
  			if (index > -1)
! 			   url = url.Substring (1, index);
  			Console.WriteLine ("url base: " + url);
  
  			string xpath = "descendant::node[starts-with(child::property[1]/child::text(), '" + url + "')]";
--- 129,135 ----
  			int index = url.IndexOf ("/", 7);
  			Console.WriteLine (String.Format ("url is {0}; index is {1}", url, index));
  			if (index > -1)
! 			   url = url.Substring (0, index);
  			Console.WriteLine ("url base: " + url);
  
  			string xpath = "descendant::node[starts-with(child::property[1]/child::text(), '" + url + "')]";
***************
*** 156,171 ****
  		     			1, 1, // scaling x,y
  		     			Gdk.InterpType.Bilinear,
  		     			127); //Alpha
!       				icon.Composite (bookmark,
  		     			0, 0, //dest x,y
! 		     			48, 16, //height,width
! 		     			32, 0, //offset x,y
  		     			1, 1, // scaling x,y
  		     			Gdk.InterpType.Bilinear,
  		     			255); //Alpha
  
! 				iconfile = Path.GetFileName (path);
! 				iconfile = Path.Combine ("/tmp", iconfile);
  				bookmark.Savev (iconfile, "png", null, null);
  				return iconfile;
  			}
--- 156,182 ----
  		     			1, 1, // scaling x,y
  		     			Gdk.InterpType.Bilinear,
  		     			127); //Alpha
! 
! 				// I just want to make the icon be 16x16.
! 				// This does it for me!
!       				Gdk.Pixbuf small_icon = icon.ScaleSimple (
! 					16, 16, //dest x,y
! 					Gdk.InterpType.Bilinear);
! 
! 				small_icon.Composite(bookmark,
  					 0, 0, //dest x,y
! 					 48, 18, //height,width
! 					 31, 2, //offset x,y
  					 1, 1, // scaling x,y
  					 Gdk.InterpType.Bilinear,
  					 255); //Alpha
  
! 				iconfile = Path.GetFileName (iconfile);
! 				string home = Environment.GetEnvironmentVariable ("HOME");
! 				iconfile = Path.Combine( Path.Combine (home,
! 				String.Format (".dashboard/tmp/")),
! 				iconfile.ToString());
! 
  				bookmark.Savev (iconfile, "png", null, null);
  				return iconfile;
  			}

