[pitivi: 11/16] Make the URIs in FileListErrorDialog human-readable



commit b8664d8c4a7393e50724b563002d6b7654a5fd7a
Author: Jean-François Fortin Tam <nekohayo gmail com>
Date:   Sun Dec 26 22:35:10 2010 -0500

    Make the URIs in FileListErrorDialog human-readable

 pitivi/ui/filelisterrordialog.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/ui/filelisterrordialog.py b/pitivi/ui/filelisterrordialog.py
index 9ed5b9a..ba20950 100644
--- a/pitivi/ui/filelisterrordialog.py
+++ b/pitivi/ui/filelisterrordialog.py
@@ -29,6 +29,7 @@ import pango
 from gettext import gettext as _
 
 from pitivi.ui.glade import GladeWindow
+from urllib import unquote
 from pitivi.signalinterface import Signallable
 from pitivi.log.loggable import Loggable
 
@@ -66,6 +67,7 @@ class FileListErrorDialog(GladeWindow, Signallable, Loggable):
             if uri.startswith("file://"):
                 uri = uri[7:]
             uri = uri.split('/')[-1]
+            uri = unquote(uri)
             exp = gtk.Expander(uri)
         else:
             exp = gtk.Expander(reason)



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