aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-08-02 06:16:23 +0800
committerChristian Persch <chpe@src.gnome.org>2004-08-02 06:16:23 +0800
commit37ff262220b123c756f41727a95ebffdde824b2c (patch)
tree709070ede130e226a3609dd6596c1f65d6937fdb
parentc66c64145b28c44bd19cb6fa9b7781ddf6c57ff8 (diff)
downloadgsoc2013-epiphany-37ff262220b123c756f41727a95ebffdde824b2c.tar
gsoc2013-epiphany-37ff262220b123c756f41727a95ebffdde824b2c.tar.gz
gsoc2013-epiphany-37ff262220b123c756f41727a95ebffdde824b2c.tar.bz2
gsoc2013-epiphany-37ff262220b123c756f41727a95ebffdde824b2c.tar.lz
gsoc2013-epiphany-37ff262220b123c756f41727a95ebffdde824b2c.tar.xz
gsoc2013-epiphany-37ff262220b123c756f41727a95ebffdde824b2c.tar.zst
gsoc2013-epiphany-37ff262220b123c756f41727a95ebffdde824b2c.zip
Move g_set_application_name() call after gnome_program_init(),
2004-08-02 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (main): Move g_set_application_name() call after gnome_program_init(),
-rw-r--r--ChangeLog7
-rw-r--r--src/ephy-main.c3
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ed71fec72..926e9668d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2004-08-02 Christian Persch <chpe@cvs.gnome.org>
+
+ * src/ephy-main.c: (main):
+
+ Move g_set_application_name() call after gnome_program_init(),
+ so that i18n works correctly. Fixes bug #148948.
+
2004-08-01 Christian Persch <chpe@cvs.gnome.org>
* embed/mozilla/EphyBrowser.cpp:
diff --git a/src/ephy-main.c b/src/ephy-main.c
index 4ad4717db..ad5e3cb32 100644
--- a/src/ephy-main.c
+++ b/src/ephy-main.c
@@ -106,7 +106,6 @@ main (int argc, char *argv[])
*/
LIBXML_TEST_VERSION
- g_set_application_name (_("Epiphany Web Browser"));
program = gnome_program_init (PACKAGE, VERSION,
LIBGNOMEUI_MODULE, argc, argv,
GNOME_PARAM_POPT_TABLE, popt_options,
@@ -114,6 +113,8 @@ main (int argc, char *argv[])
GNOME_PARAM_APP_DATADIR, DATADIR,
NULL);
+ g_set_application_name (_("Epiphany Web Browser"));
+
g_object_get_property (G_OBJECT (program),
GNOME_PARAM_POPT_CONTEXT,
g_value_init (&context_as_value, G_TYPE_POINTER));