diff options
Diffstat (limited to 'python/pyempathygtk')
-rw-r--r-- | python/pyempathygtk/pyempathygtk.defs | 48 | ||||
-rw-r--r-- | python/pyempathygtk/pyempathygtk.override | 21 |
2 files changed, 58 insertions, 11 deletions
diff --git a/python/pyempathygtk/pyempathygtk.defs b/python/pyempathygtk/pyempathygtk.defs index 0d5a3e5ca..0ba5ecbc1 100644 --- a/python/pyempathygtk/pyempathygtk.defs +++ b/python/pyempathygtk/pyempathygtk.defs @@ -333,8 +333,8 @@ (varargs #t) ) -(define-function emapthy_account_widget_add_forget_button - (c-name "emapthy_account_widget_add_forget_button") +(define-function empathy_account_widget_add_forget_button + (c-name "empathy_account_widget_add_forget_button") (return-type "none") (parameters '("McAccount*" "account") @@ -380,6 +380,37 @@ ) ) +(define-function empathy_account_widget_icq_new + (c-name "empathy_account_widget_icq_new") + (is-constructor-of "EmpathyAccountWidgetIcq") + (return-type "GtkWidget*") + (parameters + '("McAccount*" "account") + ) +) + +(define-function empathy_account_widget_yahoo_new + (c-name "empathy_account_widget_yahoo_new") + (is-constructor-of "EmpathyAccountWidgetYahoo") + (return-type "GtkWidget*") + (parameters + '("McAccount*" "account") + ) +) + + + +;; From empathy-account-widget-irc.h + +(define-function empathy_account_widget_irc_new + (c-name "empathy_account_widget_irc_new") + (is-constructor-of "EmpathyAccountWidgetIrc") + (return-type "GtkWidget*") + (parameters + '("McAccount*" "account") + ) +) + ;; From empathy-avatar-chooser.h @@ -1445,6 +1476,19 @@ +;; From empathy-irc-network-dialog.h + +(define-method dialog_show + (of-object "EmpathyIrcNetwork") + (c-name "empathy_irc_network_dialog_show") + (return-type "GtkWidget*") + (parameters + '("GtkWidget*" "parent") + ) +) + + + ;; From empathy-log-window.h (define-function empathy_log_window_show diff --git a/python/pyempathygtk/pyempathygtk.override b/python/pyempathygtk/pyempathygtk.override index 4967fa689..7df240bd1 100644 --- a/python/pyempathygtk/pyempathygtk.override +++ b/python/pyempathygtk/pyempathygtk.override @@ -2,15 +2,17 @@ headers #include <Python.h> #include <pygobject.h> -#include "empathy-avatar-chooser.h" -#include "empathy-avatar-image.h" #include "empathy-about-dialog.h" #include "empathy-account-chooser.h" #include "empathy-accounts-dialog.h" #include "empathy-account-widget.h" +#include "empathy-account-widget-irc.h" +#include "empathy-avatar-chooser.h" +#include "empathy-avatar-image.h" +#include "empathy-call-window.h" +#include "empathy-cell-renderer-activatable.h" #include "empathy-cell-renderer-expander.h" #include "empathy-cell-renderer-text.h" -#include "empathy-cell-renderer-activatable.h" #include "empathy-chat.h" #include "empathy-chatrooms-window.h" #include "empathy-chat-view.h" @@ -22,26 +24,27 @@ headers #include "empathy-contact-widget.h" #include "empathy-geometry.h" #include "empathy-group-chat.h" +#include "empathy-gtk-enum-types.h" +#include "empathy-gtk-marshal.h" #include "empathy-images.h" +#include "empathy-irc-network-dialog.h" #include "empathy-log-window.h" #include "empathy-main-window.h" #include "empathy-new-chatroom-dialog.h" +#include "empathy-new-message-dialog.h" #include "empathy-preferences.h" #include "empathy-presence-chooser.h" #include "empathy-private-chat.h" #include "empathy-profile-chooser.h" +#include "empathy-smiley-manager.h" #include "empathy-spell-dialog.h" #include "empathy-spell.h" #include "empathy-status-icon.h" -#include "empathy-theme.h" -#include "empathy-theme-manager.h" #include "empathy-theme-boxes.h" +#include "empathy-theme.h" #include "empathy-theme-irc.h" +#include "empathy-theme-manager.h" #include "empathy-ui-utils.h" -#include "empathy-smiley-manager.h" -#include "empathy-new-message-dialog.h" -#include "empathy-call-window.h" -#include "empathy-gtk-enum-types.h" void empathy_add_constants(PyObject *module, const gchar *strip_prefix); void empathy_register_classes(PyObject *d); |