diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2009-03-04 05:55:52 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2009-04-22 18:21:13 +0800 |
commit | 6927542d43fc5f22899d9a6824e5310864739550 (patch) | |
tree | ba6a4ed6999215844903b30a8710edd358302c23 /python/pyempathygtk | |
parent | ddf0c595150816eaaaaaf92852d32baa306e88b4 (diff) | |
download | gsoc2013-empathy-6927542d43fc5f22899d9a6824e5310864739550.tar gsoc2013-empathy-6927542d43fc5f22899d9a6824e5310864739550.tar.gz gsoc2013-empathy-6927542d43fc5f22899d9a6824e5310864739550.tar.bz2 gsoc2013-empathy-6927542d43fc5f22899d9a6824e5310864739550.tar.lz gsoc2013-empathy-6927542d43fc5f22899d9a6824e5310864739550.tar.xz gsoc2013-empathy-6927542d43fc5f22899d9a6824e5310864739550.tar.zst gsoc2013-empathy-6927542d43fc5f22899d9a6824e5310864739550.zip |
Update python binding
Diffstat (limited to 'python/pyempathygtk')
-rw-r--r-- | python/pyempathygtk/pyempathygtk.defs | 31 |
1 files changed, 23 insertions, 8 deletions
diff --git a/python/pyempathygtk/pyempathygtk.defs b/python/pyempathygtk/pyempathygtk.defs index 1cb19f527..01b65f7a1 100644 --- a/python/pyempathygtk/pyempathygtk.defs +++ b/python/pyempathygtk/pyempathygtk.defs @@ -284,6 +284,12 @@ (return-type "McAccount*") ) +(define-method get_connection + (of-object "EmpathyAccountChooser") + (c-name "empathy_account_chooser_get_connection") + (return-type "TpConnection*") +) + (define-method set_account (of-object "EmpathyAccountChooser") (c-name "empathy_account_chooser_set_account") @@ -618,12 +624,6 @@ (return-type "EmpathyContact*") ) -(define-method get_members_count - (of-object "EmpathyChat") - (c-name "empathy_chat_get_members_count") - (return-type "guint") -) - (define-method get_contact_menu (of-object "EmpathyChat") (c-name "empathy_chat_get_contact_menu") @@ -966,8 +966,23 @@ (return-type "none") (parameters '("GtkWindow*" "parent") - '("gboolean" "edit") - '("gboolean" "is_user") + ) +) + +(define-method edit_dialog_show + (of-object "EmpathyContact") + (c-name "empathy_contact_edit_dialog_show") + (return-type "none") + (parameters + '("GtkWindow*" "parent") + ) +) + +(define-function contact_personal_dialog_show + (c-name "empathy_contact_personal_dialog_show") + (return-type "none") + (parameters + '("GtkWindow*" "parent") ) ) |