aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-06-01 22:30:13 +0800
committerDan Winship <danw@src.gnome.org>2000-06-01 22:30:13 +0800
commitff24b9ea1bf0361f8fdbd2cc341507ff7a1145c4 (patch)
treea300bc96c9548eff046f37b689cb774c421c4667 /shell
parent7e12d9c21c403cd2e9dff86d4d41874bea585bdc (diff)
downloadgsoc2013-evolution-ff24b9ea1bf0361f8fdbd2cc341507ff7a1145c4.tar
gsoc2013-evolution-ff24b9ea1bf0361f8fdbd2cc341507ff7a1145c4.tar.gz
gsoc2013-evolution-ff24b9ea1bf0361f8fdbd2cc341507ff7a1145c4.tar.bz2
gsoc2013-evolution-ff24b9ea1bf0361f8fdbd2cc341507ff7a1145c4.tar.lz
gsoc2013-evolution-ff24b9ea1bf0361f8fdbd2cc341507ff7a1145c4.tar.xz
gsoc2013-evolution-ff24b9ea1bf0361f8fdbd2cc341507ff7a1145c4.tar.zst
gsoc2013-evolution-ff24b9ea1bf0361f8fdbd2cc341507ff7a1145c4.zip
Set up gettext. (Problem noted by Héctor García Alvarez)
* main.c (main): Set up gettext. (Problem noted by Héctor García Alvarez) svn path=/trunk/; revision=3334
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/main.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 7ee4850107..e9e31dc9f8 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,8 @@
+2000-06-01 Dan Winship <danw@helixcode.com>
+
+ * main.c (main): Set up gettext. (Problem noted by Héctor García
+ Alvarez)
+
2000-06-01 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-view.c (DEFAULT_WIDTH): Add more 5 pixels.
diff --git a/shell/main.c b/shell/main.c
index 4444ac223b..407abaebc5 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -21,6 +21,7 @@
* Author: Ettore Perazzoli
*/
+#include <config.h>
#include <gnome.h>
#include <bonobo.h>
#include <libgnomeui/gnome-window-icon.h>
@@ -176,6 +177,9 @@ main (int argc, char **argv)
{
char *evolution_directory;
+ bindtextdomain (PACKAGE, EVOLUTION_LOCALEDIR);
+ textdomain (PACKAGE);
+
init_corba (&argc, argv);
gnome_window_icon_set_default_from_file (EVOLUTION_IMAGES "/evolution-inbox.png");