[gnome-subtitles] Fixed problem opening subtitles with drag-and-drop having spaces in their path



commit 9e51268b2a78a6edfcbcd523c536e9c51cc9e046
Author: Pedro Castro <mail>
Date:   Tue Feb 23 00:05:11 2010 +0000

    Fixed problem opening subtitles with drag-and-drop having spaces in their path

 src/GnomeSubtitles/Core/EventHandlers.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/GnomeSubtitles/Core/EventHandlers.cs b/src/GnomeSubtitles/Core/EventHandlers.cs
index 1774258..81ae4ef 100644
--- a/src/GnomeSubtitles/Core/EventHandlers.cs
+++ b/src/GnomeSubtitles/Core/EventHandlers.cs
@@ -348,7 +348,7 @@ public class EventHandlers {
 		Uri fileUri;
 
 		if (Uri.TryCreate(uriString, UriKind.Absolute, out fileUri) && (args.Info == DragDrop.DragDropTargetUriList)) {
-			Base.Ui.Open(fileUri.AbsolutePath);
+			Base.Ui.Open(fileUri.LocalPath);
 			success = true;
 		}
 



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