diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2009-02-03 04:10:10 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2009-02-03 04:10:10 +0800 |
commit | ba7fd51db505c502f721e1e116a31f23a4f5fae3 (patch) | |
tree | 4d39f86f95f4589f3d64d23449a3d22779b0ec62 /src/empathy.c | |
parent | 4be89d9fab208320c3df9d81334f8d1e9c390f7b (diff) | |
download | gsoc2013-empathy-ba7fd51db505c502f721e1e116a31f23a4f5fae3.tar gsoc2013-empathy-ba7fd51db505c502f721e1e116a31f23a4f5fae3.tar.gz gsoc2013-empathy-ba7fd51db505c502f721e1e116a31f23a4f5fae3.tar.bz2 gsoc2013-empathy-ba7fd51db505c502f721e1e116a31f23a4f5fae3.tar.lz gsoc2013-empathy-ba7fd51db505c502f721e1e116a31f23a4f5fae3.tar.xz gsoc2013-empathy-ba7fd51db505c502f721e1e116a31f23a4f5fae3.tar.zst gsoc2013-empathy-ba7fd51db505c502f721e1e116a31f23a4f5fae3.zip |
Fix some i18n issues in main().
Thanks to Christian Persch, fix bug #569901.
svn path=/trunk/; revision=2373
Diffstat (limited to 'src/empathy.c')
-rw-r--r-- | src/empathy.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/empathy.c b/src/empathy.c index 8ff0de41d..b67e69878 100644 --- a/src/empathy.c +++ b/src/empathy.c @@ -430,14 +430,17 @@ main (int argc, char *argv[]) /* Init */ g_thread_init (NULL); + empathy_init (); + if (!gtk_init_with_args (&argc, &argv, - _("- Empathy Instant Messenger"), + N_("- Empathy Instant Messenger"), options, GETTEXT_PACKAGE, &error)) { g_warning ("Error in empathy init: %s", error->message); return EXIT_FAILURE; } + empathy_gtk_init (); - g_set_application_name (PACKAGE_NAME); + g_set_application_name (_(PACKAGE_NAME)); gtk_window_set_default_icon_name ("empathy"); textdomain (GETTEXT_PACKAGE); @@ -533,7 +536,7 @@ main (int argc, char *argv[]) chatroom_manager = empathy_chatroom_manager_dup_singleton (NULL); empathy_chatroom_manager_observe (chatroom_manager, dispatcher); - notify_init (PACKAGE_NAME); + notify_init (_(PACKAGE_NAME)); gtk_main (); |