[kupfer] fileactions: Use .get_path()



commit 96cb0fe068f576103e91a2fe73785644b771a4dc
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date:   Sun Mar 13 17:30:29 2011 +0100

    fileactions: Use .get_path()

 kupfer/plugin/fileactions.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/kupfer/plugin/fileactions.py b/kupfer/plugin/fileactions.py
index e164bec..4be41f3 100644
--- a/kupfer/plugin/fileactions.py
+++ b/kupfer/plugin/fileactions.py
@@ -166,7 +166,7 @@ class Rename (Action, pretty.OutputMixin):
 		except gio.Error, exc:
 			raise OperationError(unicode(exc))
 		else:
-			return FileLeaf(dest)
+			return FileLeaf(dfile.get_path())
 
 	def activate_multiple(self, objs, iobjs):
 		raise NotImplementedError



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