f-spot r3705 - trunk/src



Author: sdelcroix
Date: Wed Feb 20 16:49:48 2008
New Revision: 3705
URL: http://svn.gnome.org/viewvc/f-spot?rev=3705&view=rev

Log:
Patch from Robert Paskowitz. Fixes bgo #517223

Modified:
   trunk/src/InfoBox.cs
   trunk/src/TimeDialog.cs

Modified: trunk/src/InfoBox.cs
==============================================================================
--- trunk/src/InfoBox.cs	(original)
+++ trunk/src/InfoBox.cs	Wed Feb 20 16:49:48 2008
@@ -265,7 +265,7 @@
 			return false;
 		}
 		
-		name_label.Text = photo.Name != null ? photo.Name : String.Empty;
+		name_label.Text = photo.Name != null ? System.Uri.UnescapeDataString(photo.Name) : String.Empty;
 		try {
 			//using (new Timer ("building info")) {
 				using (ImageFile img = ImageFile.Create (photo.DefaultVersionUri))

Modified: trunk/src/TimeDialog.cs
==============================================================================
--- trunk/src/TimeDialog.cs	(original)
+++ trunk/src/TimeDialog.cs	Wed Feb 20 16:49:48 2008
@@ -133,7 +133,7 @@
 			if (Item.IsValid) {
 				IBrowsableItem item = Item.Current;
 				
-				name_label.Text = item.Name;;
+				name_label.Text = System.Uri.UnescapeDataString(item.Name);
 				old_label.Text = item.Time.ToLocalTime ().ToString ();
 				
 				int i = collection.Count > 0 ? Item.Index + 1: 0;



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