f-spot r4640 - in trunk: . src/Widgets



Author: sdelcroix
Date: Thu Nov 27 20:39:23 2008
New Revision: 4640
URL: http://svn.gnome.org/viewvc/f-spot?rev=4640&view=rev

Log:
replace HashSet<> by List<>

2008-11-27  Stephane Delcroix  <sdelcroix novell com>

	* src/Widgets/OpenWithMenu.cs: use List<> instead of HashSet<>, as it's
	only available on mono >= 1.9

Modified:
   trunk/ChangeLog
   trunk/src/Widgets/OpenWithMenu.cs

Modified: trunk/src/Widgets/OpenWithMenu.cs
==============================================================================
--- trunk/src/Widgets/OpenWithMenu.cs	(original)
+++ trunk/src/Widgets/OpenWithMenu.cs	Thu Nov 27 20:39:23 2008
@@ -102,7 +102,7 @@
 #else
 			List<Gnome.Vfs.MimeApplication> app_infos = new List<Gnome.Vfs.MimeApplication> ();
 #endif
-			HashSet<string> existing_ids = new HashSet<string> ();
+			List<string> existing_ids = new List<string> ();
 			foreach (string type in types)
 #if GTK_SHARP_2_12_6
 				foreach (AppInfo appinfo in AppInfoAdapter.GetAllForType (type)) {
@@ -164,6 +164,8 @@
 				if (!show_icon)
 					return;
 
+//FIXME: GTK_SHARP_2_14 should provide a way to get the image directly out of app.Icon
+
 				Pixbuf pixbuf = null;
 #if GTK_SHARP_2_12_6
 				if (app.Icon is ThemedIcon) {



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