aboutsummaryrefslogtreecommitdiffstats
path: root/src/epiphany.override
diff options
context:
space:
mode:
authorChristian Persch <chpe@svn.gnome.org>2007-01-29 03:56:01 +0800
committerChristian Persch <chpe@src.gnome.org>2007-01-29 03:56:01 +0800
commit2eee055dd76bfe30aea7758025cdd499aea95b4d (patch)
tree21b73c51d5f3188c67c802723bf0ea58362539b4 /src/epiphany.override
parent9f55ee3719b4ba01a4929ca0f9b1e71c24ebae84 (diff)
downloadgsoc2013-epiphany-2eee055dd76bfe30aea7758025cdd499aea95b4d.tar
gsoc2013-epiphany-2eee055dd76bfe30aea7758025cdd499aea95b4d.tar.gz
gsoc2013-epiphany-2eee055dd76bfe30aea7758025cdd499aea95b4d.tar.bz2
gsoc2013-epiphany-2eee055dd76bfe30aea7758025cdd499aea95b4d.tar.lz
gsoc2013-epiphany-2eee055dd76bfe30aea7758025cdd499aea95b4d.tar.xz
gsoc2013-epiphany-2eee055dd76bfe30aea7758025cdd499aea95b4d.tar.zst
gsoc2013-epiphany-2eee055dd76bfe30aea7758025cdd499aea95b4d.zip
Fix the wrapping of the singleton Ephy[Embed]Shell as "epiphany.Shell()".
2007-01-28 Christian Persch <chpe@svn.gnome.org> * src/epiphany.defs: * src/epiphany.override: Fix the wrapping of the singleton Ephy[Embed]Shell as "epiphany.Shell()". Bug #351705. svn path=/trunk/; revision=6854
Diffstat (limited to 'src/epiphany.override')
-rw-r--r--src/epiphany.override32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/epiphany.override b/src/epiphany.override
index 1676d4e1a..430aa0a3f 100644
--- a/src/epiphany.override
+++ b/src/epiphany.override
@@ -199,6 +199,38 @@ ignore
ephy_find_toolbar_close
ephy_find_toolbar_set_embed
%%
+override-slot EphyShell.tp_init
+
+static int
+_wrap_ephy_shell_tp_init(PyGObject *self, PyObject *args, PyObject *kwargs)
+{
+ static char *kwlist[] = { NULL };
+
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, ":epiphany.Shell.__init__", kwlist)) {
+ return -1;
+ }
+
+ self->obj = (GObject *) g_object_ref (ephy_shell_get_default());
+ pygobject_register_wrapper((PyObject *)self);
+ return 0;
+}
+%%
+override-slot EphyEmbedShell.tp_init
+
+static int
+_wrap_ephy_embed_shell_tp_init(PyGObject *self, PyObject *args, PyObject *kwargs)
+{
+ static char *kwlist[] = { NULL };
+
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, ":epiphany.EmbedShell.__init__", kwlist)) {
+ return -1;
+ }
+
+ self->obj = (GObject *) g_object_ref (ephy_embed_shell_get_default());
+ pygobject_register_wrapper((PyObject *)self);
+ return 0;
+}
+%%
override ephy_tab_get_size noargs
static PyObject *
_wrap_ephy_tab_get_size(PyGObject *self)