aboutsummaryrefslogtreecommitdiffstats
path: root/src/cc-empathy-accounts-panel.c
diff options
context:
space:
mode:
authorRob Bradford <rob@linux.intel.com>2010-04-23 23:23:52 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-04-26 22:00:15 +0800
commit36cfeec5f9c5746a4b79cc36e44a96777621eaa0 (patch)
tree0579354d6e417891e025e46ffd4d7e56e2f69e42 /src/cc-empathy-accounts-panel.c
parentecf57786b46e333e17d0b11c3209b0f4b069f65d (diff)
downloadgsoc2013-empathy-36cfeec5f9c5746a4b79cc36e44a96777621eaa0.tar
gsoc2013-empathy-36cfeec5f9c5746a4b79cc36e44a96777621eaa0.tar.gz
gsoc2013-empathy-36cfeec5f9c5746a4b79cc36e44a96777621eaa0.tar.bz2
gsoc2013-empathy-36cfeec5f9c5746a4b79cc36e44a96777621eaa0.tar.lz
gsoc2013-empathy-36cfeec5f9c5746a4b79cc36e44a96777621eaa0.tar.xz
gsoc2013-empathy-36cfeec5f9c5746a4b79cc36e44a96777621eaa0.tar.zst
gsoc2013-empathy-36cfeec5f9c5746a4b79cc36e44a96777621eaa0.zip
cc-empathy-accounts-panel: Enable gettext when the panel is created
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=616660
Diffstat (limited to 'src/cc-empathy-accounts-panel.c')
-rw-r--r--src/cc-empathy-accounts-panel.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cc-empathy-accounts-panel.c b/src/cc-empathy-accounts-panel.c
index d69325b7b..e22dc0c11 100644
--- a/src/cc-empathy-accounts-panel.c
+++ b/src/cc-empathy-accounts-panel.c
@@ -151,6 +151,10 @@ cc_empathy_accounts_panel_init (CcEmpathyAccountsPanel *panel)
void
cc_empathy_accounts_panel_register (GIOModule *module)
{
+ /* Setup gettext */
+ bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
+ bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+
cc_empathy_accounts_panel_register_type (G_TYPE_MODULE (module));
g_io_extension_point_implement (CC_PANEL_EXTENSION_POINT_NAME,
CC_TYPE_EMPATHY_ACCOUNTS_PANEL, "empathy-accounts", 10);