[gnote] Really fix 579520
- From: Hubert Figuière <hub src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnote] Really fix 579520
- Date: Tue, 21 Apr 2009 16:15:03 -0400 (EDT)
commit 9bc59d4e7b05d1a946b0e83ebf34ffc5e35929fe
Author: Hubert Figuiere <hub figuiere net>
Date: Tue Apr 21 16:10:05 2009 -0400
Really fix 579520
---
src/Makefile.am | 1 +
src/main.cpp | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index 551ae4a..2c31943 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -5,6 +5,7 @@ INCLUDES = -I$(top_srcdir)
AM_CPPFLAGS= LIBGTKMM_CFLAGS@ @LIBGLIBMM_CFLAGS@ \
@LIBXMLPP_CFLAGS@ @GCONF_CFLAGS@ @GTK_CFLAGS@ \
@GTKSPELL_CFLAGS@ \
+ -DGNOTE_LOCALEDIR=\"@GNOTE_LOCALEDIR \" \
-DDATADIR=\"$(datadir)\"
GNOTE_LIBS = @LIBGLIBMM_LIBS@ @LIBGTKMM_LIBS@ @LIBXMLPP_LIBS@ \
diff --git a/src/main.cpp b/src/main.cpp
index f2bee4e..5f3d85a 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -30,6 +30,7 @@ int main(int argc, char **argv)
// Glib::thread_init();
// }
+ bindtextdomain(GETTEXT_PACKAGE, GNOTE_LOCALEDIR);
bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
textdomain(GETTEXT_PACKAGE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]