diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2007-08-20 03:50:24 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2007-08-20 03:50:24 +0800 |
commit | b5b294aaff557e837096aab6602fa690b22a84dc (patch) | |
tree | 7e39fb5d50d33dcbcb1ed605dc24ffe5d689091e /python/pyempathygtk/pyempathygtk.override | |
parent | 6a23f8cae6cde04e75e509f34dd2dc10adf8bdd2 (diff) | |
download | gsoc2013-empathy-b5b294aaff557e837096aab6602fa690b22a84dc.tar.gz gsoc2013-empathy-b5b294aaff557e837096aab6602fa690b22a84dc.tar.zst gsoc2013-empathy-b5b294aaff557e837096aab6602fa690b22a84dc.zip |
Add python binding. Fixes bug #457660 (Michael Sheldon).
2007-08-19 Xavier Claessens <xclaesse@gmail.com>
* python/pyempathy/pyempathy.defs:
* python/pyempathy/pyempathymodule.c:
* python/pyempathy/Makefile.am:
* python/pyempathy/pyempathy.override:
* python/pyempathygtk/pyempathygtk.override:
* python/pyempathygtk/pyempathygtk.defs:
* python/pyempathygtk/Makefile.am:
* python/pyempathygtk/pyempathygtkmodule.c:
* python/Makefile.am:
* libempathy/empathy-time.h:
* configure.ac:
* Makefile.am: Add python binding. Fixes bug #457660 (Michael Sheldon).
svn path=/trunk/; revision=264
Diffstat (limited to 'python/pyempathygtk/pyempathygtk.override')
-rw-r--r-- | python/pyempathygtk/pyempathygtk.override | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/python/pyempathygtk/pyempathygtk.override b/python/pyempathygtk/pyempathygtk.override new file mode 100644 index 000000000..8b3f22d5e --- /dev/null +++ b/python/pyempathygtk/pyempathygtk.override @@ -0,0 +1,77 @@ +%% +headers +#include <Python.h> +#include <pygobject.h> +#include "empathy-about-dialog.h" +#include "empathy-account-chooser.h" +#include "empathy-accounts-dialog.h" +#include "empathy-account-widget-generic.h" +#include "empathy-account-widget-jabber.h" +#include "empathy-account-widget-msn.h" +#include "empathy-cell-renderer-expander.h" +#include "empathy-cell-renderer-text.h" +#include "empathy-chat.h" +#include "empathy-chatrooms-window.h" +#include "empathy-chat-view.h" +#include "empathy-chat-window.h" +#include "empathy-contact-dialogs.h" +#include "empathy-contact-groups.h" +#include "empathy-contact-list-store.h" +#include "empathy-contact-list-view.h" +#include "empathy-contact-widget.h" +#include "empathy-geometry.h" +#include "empathy-group-chat.h" +#include "empathy-images.h" +#include "empathy-log-window.h" +#include "empathy-main-window.h" +#include "empathy-new-chatroom-dialog.h" +#include "empathy-preferences.h" +#include "empathy-presence-chooser.h" +#include "empathy-private-chat.h" +#include "empathy-profile-chooser.h" +#include "empathy-spell-dialog.h" +#include "empathy-spell.h" +#include "empathy-status-icon.h" +#include "empathy-status-presets.h" +#include "empathy-theme-manager.h" +#include "empathy-ui-utils.h" +#include "ephy-spinner.h" + +/* FIXME */ +#define EMPATHY_TYPE_SMILEY 1 +#define EMPATHY_TYPE_CONTACT_LIST_STORE_COL 2 +#define EMPATHY_TYPE_CONTACT_LIST_STORE_SORT 3 +#define EMPATHY_TYPE_CONTACT_WIDGET_TYPE 4 + +void empathy_add_constants(PyObject *module, const gchar *strip_prefix); +void empathy_register_classes(PyObject *d); +%% +modulename empathygtk +%% +import gobject.GObject as PyGObject_Type +import gtk.Widget as PyGtkWidget_Type +import gtk.Window as PyGtkWindow_Type +import gtk.CellRenderer as PyGtkCellRenderer_Type +import gtk.CellRendererText as PyGtkCellRendererText_Type +import gtk.TextView as PyGtkTextView_Type +import gtk.TreeView as PyGtkTreeView_Type +import gtk.TreeStore as PyGtkTreeStore_Type +import gtk.ToggleButton as PyGtkToggleButton_Type +import gtk.ComboBox as PyGtkComboBox_Type +import gtk.StatusIcon as PyGtkStatusIcon_Type +import empathy.Contact as PyEmpathyContact_Type +import empathy.ContactList as PyEmpathyContactList_Type +import empathy.TpChat as PyEmpathyTpChat_Type +import empathy.Presence as PyEmpathyPresence_Type +import empathy.Message as PyEmpathyMessage_Type +%% +ignore-glob + *_get_type +%% +ignore + empathy_chat_correct_word + empathy_chat_view_set_margin + empathy_chat_get_view + empathy_spell_dialog_show + empathy_window_iconify +%% |