aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-09-24 04:52:45 +0800
committerChristian Persch <chpe@src.gnome.org>2005-09-24 04:52:45 +0800
commit1908bad1bb4db82f36d36c1ffe05ce92fbeb27a1 (patch)
tree845752ffe913d1fab7adcc570cc316f94f686500 /src
parent19ebbdaaaae3a316b7077bb60b59ffec69f0c238 (diff)
downloadgsoc2013-epiphany-1908bad1bb4db82f36d36c1ffe05ce92fbeb27a1.tar
gsoc2013-epiphany-1908bad1bb4db82f36d36c1ffe05ce92fbeb27a1.tar.gz
gsoc2013-epiphany-1908bad1bb4db82f36d36c1ffe05ce92fbeb27a1.tar.bz2
gsoc2013-epiphany-1908bad1bb4db82f36d36c1ffe05ce92fbeb27a1.tar.lz
gsoc2013-epiphany-1908bad1bb4db82f36d36c1ffe05ce92fbeb27a1.tar.xz
gsoc2013-epiphany-1908bad1bb4db82f36d36c1ffe05ce92fbeb27a1.tar.zst
gsoc2013-epiphany-1908bad1bb4db82f36d36c1ffe05ce92fbeb27a1.zip
Accept "Module" argument.
2005-09-23 Christian Persch <chpe@cvs.gnome.org> * src/ephy-python-loader.c: (impl_get_object): Accept "Module" argument.
Diffstat (limited to 'src')
-rw-r--r--src/ephy-python-loader.c6
1 files changed, 5 insertions, 1 deletions
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");