
pastie-nognomevfs.patch
By: a guest on
Dec 3rd, 2010 | syntax:
Diff | size: 0.67 KB | hits: 113 | expires: Never
diff -uNr a/pastielib/history.py b/pastielib/history.py
--- a/pastielib/history.py 2010-10-01 02:48:02.000000000 +0800
+++ b/pastielib/history.py 2010-12-04 03:24:48.662999949 +0800
@@ -17,7 +17,6 @@
import gobject
import gtk
import gtk.gdk
-import gnomevfs
import os.path
from fractions import Fraction
@@ -206,7 +205,7 @@
files = path.split("\n")
file_paths = []
for copied_file in files:
- file_path = gnomevfs.escape_path_string(copied_file)
+ file_path = copied_file
file_paths.append('file://' + file_path)
selectiondata.set_uris(file_paths)
selectiondata.set('x-special/gnome-copied-files', 8, 'copy\n' + '\n'.join(file_paths))