aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--tools/killev.c9
2 files changed, 11 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index f0c80ac173..b407c069e2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-04-30 Not Zed <NotZed@Ximian.com>
+
+ * tools/killev.c (main): use gnome_i18n_get_language_list so we
+ get the right one (LC_MESSAGES).
+
2004-04-26 Jeffrey Stedfast <fejj@ximian.com>
* configure.in (UPGRADE_REVISION): Changed to 11.
diff --git a/tools/killev.c b/tools/killev.c
index 30c5986177..0ab1b23a90 100644
--- a/tools/killev.c
+++ b/tools/killev.c
@@ -34,8 +34,6 @@
#include <libgnome/gnome-i18n.h>
#include <libgnome/gnome-util.h>
-#include "e-util/e-lang-utils.h"
-
typedef struct {
char *location;
GPtrArray *names;
@@ -188,6 +186,8 @@ add_matching_iid (const char *iid)
int
main (int argc, char **argv)
{
+ const GList *l;
+
bindtextdomain (GETTEXT_PACKAGE, EVOLUTION_LOCALEDIR);
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);
@@ -196,7 +196,10 @@ main (int argc, char **argv)
GNOME_PROGRAM_STANDARD_PROPERTIES,
NULL);
- languages = e_get_language_list ();
+ l = gnome_i18n_get_language_list("LC_MESSAGES");
+ for (languages=NULL;l;l=l->next)
+ languages = g_slist_append(languages, l->data);
+
components = g_hash_table_new (g_str_hash, g_str_equal);
add_matching_repo_id ("IDL:GNOME/Evolution/Shell:" BASE_VERSION);