summaryrefslogtreecommitdiff
path: root/bindings
diff options
context:
space:
mode:
authorPhilip Withnall <pwithnall@svn.gnome.org>2007-06-11 18:22:41 +0000
committerPhilip Withnall <pwithnall@src.gnome.org>2007-06-11 18:22:41 +0000
commitd88d33a3189302bebb03c11857c542fc532ca1e3 (patch)
treebefd1240a8007b208498d137856ed821bfc329a5 /bindings
parentd1e40a35e51f6174534e716b69c2662b006d0ad6 (diff)
downloadtotem-d88d33a3189302bebb03c11857c542fc532ca1e3.tar.gz
Move "Open Location" dialog to a separate widget and fix a Python binding
2007-06-11 Philip Withnall <pwithnall@svn.gnome.org> * bindings/python/totem.defs: * bindings/python/totem.override: * data/uri.glade: * src/Makefile.am: * src/totem-open-location.c: (totem_open_location_class_init), (totem_open_location_init), (totem_open_location_finalize), (totem_open_location_match), (totem_compare_recent_stream_items), (totem_open_location_get_uri), (totem_open_location_set_from_clipboard), (totem_open_location_new): * src/totem-open-location.h: * src/totem-private.h: * src/totem.c: (totem_action_load_media), (totem_open_location_destroy), (totem_open_location_response_cb), (totem_action_open_location): Move "Open Location" dialog to a separate widget and fix a Python binding compilation error (Closes: #394966, #446412) svn path=/trunk/; revision=4369
Diffstat (limited to 'bindings')
-rw-r--r--bindings/python/totem.defs9
-rw-r--r--bindings/python/totem.override33
2 files changed, 0 insertions, 42 deletions
diff --git a/bindings/python/totem.defs b/bindings/python/totem.defs
index 5a13134b7..c29647492 100644
--- a/bindings/python/totem.defs
+++ b/bindings/python/totem.defs
@@ -299,15 +299,6 @@
)
)
-(define-method action_open_files
- (of-object "TotemObject")
- (c-name "totem_action_open_files")
- (return-type "gboolean")
- (parameters
- '("char**" "list")
- )
-)
-
(define-method action_toggle_aspect_ratio
(of-object "TotemObject")
(c-name "totem_action_toggle_aspect_ratio")
diff --git a/bindings/python/totem.override b/bindings/python/totem.override
index 5e1400cdd..6ef1bb0a3 100644
--- a/bindings/python/totem.override
+++ b/bindings/python/totem.override
@@ -38,39 +38,6 @@ ignore-glob
*_get_type
*_quark
%%
-override totem_action_open_files kwargs
-static PyObject *
-_wrap_totem_action_open_files (PyGObject *self, PyObject *args, PyObject *kwargs)
-{
- static char *kwlist[] = { "list", NULL };
- PyObject *py_list = NULL;
- char **list;
- int length, i;
- gboolean ret = FALSE;
-
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O:TotemObject.action_open_files", kwlist,
- &py_list))
- return NULL;
-
- /* Build the string list */
- length = PySequence_Length (py_list);
- if (length < 0)
- return NULL;
- list = g_new0(char*, length+1);
- for (i = 0; i < length; i++) {
- PyObject *o;
-
- o = PySequence_GetItem (py_list, i);
- list[i] = PyString_AsString (o);
- Py_DECREF (o);
- }
-
- ret = totem_action_open_files (TOTEM_OBJECT (self->obj), list);
- g_free (list);
-
- return PyBool_FromLong((long) ret);
-}
-%%
override totem_object_plugins_shutdown noargs
static PyObject *
_wrap_totem_object_plugins_shutdown (PyGObject *self)