diff options
author | Takao Fujiwara <takao.fujiwara@sun.com> | 2009-01-09 15:36:29 +0800 |
---|---|---|
committer | Takao Fujiwara <fujiwarat@src.gnome.org> | 2009-01-09 15:36:29 +0800 |
commit | 607ce3802eabee692e55d89aacefd06390819e07 (patch) | |
tree | 9e8ee80a01743f5d008f1c929c4a66ca36eccf5c /shell | |
parent | d5b6abdb006909c4cc7de585b4bce2812f371e5b (diff) | |
download | gsoc2013-evolution-607ce3802eabee692e55d89aacefd06390819e07.tar.gz gsoc2013-evolution-607ce3802eabee692e55d89aacefd06390819e07.tar.zst gsoc2013-evolution-607ce3802eabee692e55d89aacefd06390819e07.zip |
Reviewed by Matthew Barnes <mbarnes@redhat.com>
2009-01-09 Takao Fujiwara <takao.fujiwara@sun.com>
Reviewed by Matthew Barnes <mbarnes@redhat.com>
* Fix for bug #566011
* addressbook/gui/component/Makefile.am:
* addressbook/gui/component/addressbook-component.c
(addressbook_component_class_init):
Include <glib/gi18n-lib.h> instead of <glib/gi18n.h> and
add bindtextdomain().
* calendar/gui/Makefile.am:
* calendar/gui/calendar-component.c (calendar_component_class_init):
* calendar/gui/dialogs/comp-editor.c:
* calendar/gui/memos-component.c (memos_component_class_init):
* calendar/gui/tasks-component.c (tasks_component_class_init):
Include <glib/gi18n-lib.h> instead of <glib/gi18n.h> and
add bindtextdomain().
* composer/e-composer-header-table.c:
* composer/e-composer-private.h:
Include <glib/gi18n-lib.h> instead of <glib/gi18n.h>.
* mail/mail-component.c (mail_component_class_init):
Include <glib/gi18n-lib.h> instead of <glib/gi18n.h> and
add bindtextdomain().
* shell/e-user-creatable-items-handler.c
(e_user_creatable_items_handler_class_ini):
Include <glib/gi18n-lib.h> instead of <glib/gi18n.h> and
add bindtextdomain().
* widgets/misc/e-charset-picker.c:
* widgets/misc/e-signature-combo-box.c:
Include <glib/gi18n-lib.h> instead of <glib/gi18n.h>.
svn path=/trunk/; revision=37021
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ChangeLog | 11 | ||||
-rw-r--r-- | shell/e-user-creatable-items-handler.c | 5 |
2 files changed, 15 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index 0c73582af6..0d3425de44 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,14 @@ +2009-01-09 Takao Fujiwara <takao.fujiwara@sun.com> + + Reviewed by Matthew Barnes <mbarnes@redhat.com> + + * Fix for bug #566011 + + * e-user-creatable-items-handler.c + (e_user_creatable_items_handler_class_ini): + Include <glib/gi18n-lib.h> instead of <glib/gi18n.h> and + add bindtextdomain(). + 2009-01-01 Andre Klapper <a9016009@gmx.de> * e-shell-window-commands.c: diff --git a/shell/e-user-creatable-items-handler.c b/shell/e-user-creatable-items-handler.c index e532382f2d..4ba247342c 100644 --- a/shell/e-user-creatable-items-handler.c +++ b/shell/e-user-creatable-items-handler.c @@ -36,7 +36,7 @@ #include <bonobo/bonobo-control.h> #include <gtk/gtk.h> -#include <glib/gi18n.h> +#include <glib/gi18n-lib.h> #include <stdlib.h> #include <ctype.h> @@ -838,6 +838,9 @@ e_user_creatable_items_handler_class_init (EUserCreatableItemsHandlerClass *klas { GObjectClass *object_class; + bindtextdomain (GETTEXT_PACKAGE, EVOLUTION_LOCALEDIR); + bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); + object_class = G_OBJECT_CLASS (klass); object_class->dispose = impl_dispose; object_class->finalize = impl_finalize; |