[kupfer] fileactions: Use .get_path()
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [kupfer] fileactions: Use .get_path()
- Date: Sun, 13 Mar 2011 16:32:58 +0000 (UTC)
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]