empathy r2061 - in trunk/python: pyempathy pyempathygtk



Author: xclaesse
Date: Tue Jan  6 16:47:53 2009
New Revision: 2061
URL: http://svn.gnome.org/viewvc/empathy?rev=2061&view=rev

Log:
Update Python bindings.

Modified:
   trunk/python/pyempathy/pyempathy.defs
   trunk/python/pyempathy/pyempathy.override
   trunk/python/pyempathygtk/pyempathygtk.defs

Modified: trunk/python/pyempathy/pyempathy.defs
==============================================================================
--- trunk/python/pyempathy/pyempathy.defs	(original)
+++ trunk/python/pyempathy/pyempathy.defs	Tue Jan  6 16:47:53 2009
@@ -244,6 +244,15 @@
   (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
@@ -892,6 +901,12 @@
   )
 )
 
+(define-method get_monitor
+  (of-object "EmpathyContactList")
+  (c-name "empathy_contact_list_get_monitor")
+  (return-type "EmpathyContactMonitor*")
+)
+
 
 
 ;; From empathy-contact-manager.h
@@ -916,6 +931,15 @@
   )
 )
 
+(define-method can_add
+  (of-object "EmpathyContactManager")
+  (c-name "empathy_contact_manager_can_add")
+  (return-type "gboolean")
+  (parameters
+    '("McAccount*" "account")
+  )
+)
+
 
 
 ;; From empathy-debug.h
@@ -1916,6 +1940,12 @@
   (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
@@ -2153,6 +2183,12 @@
   (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
@@ -2280,6 +2316,11 @@
 
 ;; From empathy-utils.h
 
+(define-function init
+  (c-name "empathy_init")
+  (return-type "none")
+)
+
 (define-function substring
   (c-name "empathy_substring")
   (return-type "gchar*")

Modified: trunk/python/pyempathy/pyempathy.override
==============================================================================
--- trunk/python/pyempathy/pyempathy.override	(original)
+++ trunk/python/pyempathy/pyempathy.override	Tue Jan  6 16:47:53 2009
@@ -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 @@
 #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"

Modified: trunk/python/pyempathygtk/pyempathygtk.defs
==============================================================================
--- trunk/python/pyempathygtk/pyempathygtk.defs	(original)
+++ trunk/python/pyempathygtk/pyempathygtk.defs	Tue Jan  6 16:47:53 2009
@@ -1504,6 +1504,11 @@
 
 ;; 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")



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]