[gedit-plugins] Fix check on set_uri (should be set_location)
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-plugins] Fix check on set_uri (should be set_location)
- Date: Sun, 30 May 2010 22:59:11 +0000 (UTC)
commit d31d4c1e1393aeb910e4f464b0eb26f0a0f75854
Author: Jesse van den Kieboom <jesse icecrew nl>
Date: Mon May 31 00:59:00 2010 +0200
Fix check on set_uri (should be set_location)
plugins/commander/modules/edit.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/commander/modules/edit.py b/plugins/commander/modules/edit.py
index 21590a5..a6163c2 100644
--- a/plugins/commander/modules/edit.py
+++ b/plugins/commander/modules/edit.py
@@ -54,7 +54,7 @@ def rename(view, newfile):
doc = view.get_buffer()
- if not hasattr(doc, 'set_uri'):
+ if not hasattr(doc, 'set_location'):
raise commander.commands.exceptions.Execute('Your version of gedit does not support this action')
if doc.is_untitled():
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]