summaryrefslogtreecommitdiffstats
path: root/src/paprefs.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/paprefs.cc')
-rw-r--r--src/paprefs.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/paprefs.cc b/src/paprefs.cc
index 1fa7381..a2abfd5 100644
--- a/src/paprefs.cc
+++ b/src/paprefs.cc
@@ -304,7 +304,14 @@ void MainWindow::readFromGConf() {
}
int main(int argc, char *argv[]) {
+
+ /* Initialize the i18n stuff */
+ bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR);
+ bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
+ textdomain(GETTEXT_PACKAGE);
+
signal(SIGPIPE, SIG_IGN);
+
Gtk::Main kit(argc, argv);
Gnome::Conf::init();