From 6927542d43fc5f22899d9a6824e5310864739550 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Tue, 3 Mar 2009 22:55:52 +0100 Subject: Update python binding --- python/pyempathygtk/pyempathygtk.defs | 31 +++++++++++++++++++++++-------- 1 file changed, 23 insertions(+), 8 deletions(-) (limited to 'python/pyempathygtk') 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") ) ) -- cgit v1.2.3