diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-11-30 06:54:41 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-11-30 06:54:41 +0800 |
commit | 292bd39bea7088a4db85fa2d5aecf62555da1ed2 (patch) | |
tree | 9f267566ddf931b299951dc942a3b782df8cfbc7 /python/pyempathygtk | |
parent | 80643282a0dabfb6945c38c62ae3b458c51b54f8 (diff) | |
download | gsoc2013-empathy-292bd39bea7088a4db85fa2d5aecf62555da1ed2.tar gsoc2013-empathy-292bd39bea7088a4db85fa2d5aecf62555da1ed2.tar.gz gsoc2013-empathy-292bd39bea7088a4db85fa2d5aecf62555da1ed2.tar.bz2 gsoc2013-empathy-292bd39bea7088a4db85fa2d5aecf62555da1ed2.tar.lz gsoc2013-empathy-292bd39bea7088a4db85fa2d5aecf62555da1ed2.tar.xz gsoc2013-empathy-292bd39bea7088a4db85fa2d5aecf62555da1ed2.tar.zst gsoc2013-empathy-292bd39bea7088a4db85fa2d5aecf62555da1ed2.zip |
Update python binding to have EmpathyTpFile API.
svn path=/trunk/; revision=1930
Diffstat (limited to 'python/pyempathygtk')
-rw-r--r-- | python/pyempathygtk/pyempathygtk.defs | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/python/pyempathygtk/pyempathygtk.defs b/python/pyempathygtk/pyempathygtk.defs index 2065e4823..e4044668f 100644 --- a/python/pyempathygtk/pyempathygtk.defs +++ b/python/pyempathygtk/pyempathygtk.defs @@ -1164,6 +1164,18 @@ (return-type "GtkWidget*") ) +(define-method invite_menu_item_new + (of-object "EmpathyContact") + (c-name "empathy_contact_invite_menu_item_new") + (return-type "GtkWidget*") +) + +(define-method file_transfer_menu_item_new + (of-object "EmpathyContact") + (c-name "empathy_contact_file_transfer_menu_item_new") + (return-type "GtkWidget*") +) + ;; From empathy-contact-widget.h @@ -1690,6 +1702,16 @@ ) ) +(define-function pixbuf_from_data_and_mime + (c-name "empathy_pixbuf_from_data_and_mime") + (return-type "GdkPixbuf*") + (parameters + '("gchar*" "data") + '("gsize" "data_size") + '("gchar**" "mime_type") + ) +) + (define-function pixbuf_from_avatar_scaled (c-name "empathy_pixbuf_from_avatar_scaled") (return-type "GdkPixbuf*") @@ -1826,4 +1848,12 @@ (varargs #t) ) +(define-function send_file_with_file_chooser + (c-name "empathy_send_file_with_file_chooser") + (return-type "none") + (parameters + '("EmpathyContact*" "contact") + ) +) + |