From 1908bad1bb4db82f36d36c1ffe05ce92fbeb27a1 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Fri, 23 Sep 2005 20:52:45 +0000 Subject: Accept "Module" argument. 2005-09-23 Christian Persch * src/ephy-python-loader.c: (impl_get_object): Accept "Module" argument. --- ChangeLog | 6 ++++++ src/ephy-python-loader.c | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8525bc62f..99833d835 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-09-23 Christian Persch + + * src/ephy-python-loader.c: (impl_get_object): + + Accept "Module" argument. + 2005-09-23 Christian Persch * lib/ephy-shlib-loader.c: (impl_get_object) diff --git a/src/ephy-python-loader.c b/src/ephy-python-loader.c index e6c8c5dc5..ff23bd7ce 100644 --- a/src/ephy-python-loader.c +++ b/src/ephy-python-loader.c @@ -44,7 +44,11 @@ impl_get_object (EphyLoader *eloader, char *filename; GObject *object; - filename = g_datalist_get_data (attributes, "module"); + filename = g_datalist_get_data (attributes, "Module"); + if (filename == NULL) + { + filename = g_datalist_get_data (attributes, "module"); + } if (filename == NULL) { g_warning ("NULL module name!\n"); -- cgit v1.2.3