[nautilus-python] Added the NautilusFileInfo.can_write method
- From: Adam Plumb <adamplumb src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [nautilus-python] Added the NautilusFileInfo.can_write method
- Date: Thu, 14 Jan 2010 16:38:36 +0000 (UTC)
commit 291950b95803db7622f1664806cf775129069ae7
Author: Adam Plumb <adamplumb gmail com>
Date: Thu Jan 14 11:38:30 2010 -0500
Added the NautilusFileInfo.can_write method
examples/documentation.py | 3 +++
src/nautilus.defs | 6 ++++++
2 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/examples/documentation.py b/examples/documentation.py
index 78e06b7..6682826 100644
--- a/examples/documentation.py
+++ b/examples/documentation.py
@@ -127,6 +127,9 @@ class FileInfo:
def is_directory(self):
pass
+
+ def can_write(self):
+ pass
def add_emblem(self, emblem):
pass
diff --git a/src/nautilus.defs b/src/nautilus.defs
index 2055832..be43c16 100644
--- a/src/nautilus.defs
+++ b/src/nautilus.defs
@@ -204,6 +204,12 @@
(return-type "gboolean")
)
+(define-method can_write
+ (of-object "NautilusFileInfo")
+ (c-name "nautilus_file_info_can_write")
+ (return-type "gboolean")
+)
+
(define-method add_emblem
(of-object "NautilusFileInfo")
(c-name "nautilus_file_info_add_emblem")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]