[nautilus-python] Added NautilusFileInfo.get_mount method
- From: Adam Plumb <adamplumb src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [nautilus-python] Added NautilusFileInfo.get_mount method
- Date: Thu, 14 Jan 2010 16:51:57 +0000 (UTC)
commit 6b9f0be6c9a96621caa3aa8046b89da74cf14176
Author: Adam Plumb <adamplumb gmail com>
Date: Thu Jan 14 11:51:45 2010 -0500
Added NautilusFileInfo.get_mount method
examples/documentation.py | 6 ++++++
src/nautilus.defs | 6 ++++++
2 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/examples/documentation.py b/examples/documentation.py
index 4ee1115..17598f6 100644
--- a/examples/documentation.py
+++ b/examples/documentation.py
@@ -140,6 +140,12 @@ class FileInfo:
"""
pass
+ def get_mount(self):
+ """
+ @rtype gio.Mount
+ """
+ pass
+
def get_uri_scheme(self):
"""
@rtype string
diff --git a/src/nautilus.defs b/src/nautilus.defs
index be43c16..0724d58 100644
--- a/src/nautilus.defs
+++ b/src/nautilus.defs
@@ -177,6 +177,12 @@
(return-type "char*")
)
+(define-method get_mount
+ (of-object "NautilusFileInfo")
+ (c-name "nautilus_file_info_get_mount")
+ (return-type "GMount*")
+)
+
(define-method get_uri_scheme
(of-object "NautilusFileInfo")
(c-name "nautilus_file_info_get_uri_scheme")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]