]> git.0d.be Git - empathy.git/commitdiff
Update Python bindings.
authorXavier Claessens <xclaesse@src.gnome.org>
Tue, 6 Jan 2009 16:47:53 +0000 (16:47 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Tue, 6 Jan 2009 16:47:53 +0000 (16:47 +0000)
svn path=/trunk/; revision=2061

python/pyempathy/pyempathy.defs
python/pyempathy/pyempathy.override
python/pyempathygtk/pyempathygtk.defs

index 1cf0b69dd5db2b81d74b19631dcacf6cbdc1e0d2..f8b552c20bc5f50bd9f26e74daffc8b07f4537eb 100644 (file)
   (return-type "int")
 )
 
+(define-method is_account_just_connected
+  (of-object "EmpathyAccountManager")
+  (c-name "empathy_account_manager_is_account_just_connected")
+  (return-type "gboolean")
+  (parameters
+    '("McAccount*" "account")
+  )
+)
+
 
 
 ;; From empathy-chatroom.h
   )
 )
 
+(define-method get_monitor
+  (of-object "EmpathyContactList")
+  (c-name "empathy_contact_list_get_monitor")
+  (return-type "EmpathyContactMonitor*")
+)
+
 
 
 ;; From empathy-contact-manager.h
   )
 )
 
+(define-method can_add
+  (of-object "EmpathyContactManager")
+  (c-name "empathy_contact_manager_can_add")
+  (return-type "gboolean")
+  (parameters
+    '("McAccount*" "account")
+  )
+)
+
 
 
 ;; From empathy-debug.h
   (return-type "McAccount*")
 )
 
+(define-method can_add
+  (of-object "EmpathyTpContactList")
+  (c-name "empathy_tp_contact_list_can_add")
+  (return-type "gboolean")
+)
+
 
 
 ;; From empathy-tp-file.h
   (return-type "none")
 )
 
+(define-method get_flags
+  (of-object "EmpathyTpGroup")
+  (c-name "empathy_tp_group_get_flags")
+  (return-type "TpChannelGroupFlags")
+)
+
 
 
 ;; From empathy-tp-roomlist.h
 
 ;; From empathy-utils.h
 
+(define-function init
+  (c-name "empathy_init")
+  (return-type "none")
+)
+
 (define-function substring
   (c-name "empathy_substring")
   (return-type "gchar*")
index 32b1e3e761c7e3538f7685ccdd29e8d96fe18ff3..c90e69b7d27d1e57829eab668eea827c3da67a9a 100644 (file)
@@ -2,6 +2,7 @@
 headers
 #include <Python.h>
 #include <pygobject.h>
+#include "empathy-account-manager.h"
 #include "empathy-chatroom.h"
 #include "empathy-chatroom-manager.h"
 #include "empathy-contact.h"
@@ -9,6 +10,7 @@ headers
 #include "empathy-contact-groups.h"
 #include "empathy-contact-list.h"
 #include "empathy-contact-manager.h"
+#include "empathy-contact-monitor.h"
 #include "empathy-debug.h"
 #include "empathy-dispatcher.h"
 #include "empathy-enum-types.h"
index 18941abae5097d72674635a800f8d1f4e850a763..90bfa0c2fab464684d5aea30a763a4e229f2b2b1 100644 (file)
 
 ;; From empathy-ui-utils.h
 
+(define-function gtk_init
+  (c-name "empathy_gtk_init")
+  (return-type "none")
+)
+
 (define-function glade_get_file_simple
   (c-name "empathy_glade_get_file_simple")
   (return-type "none")