aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2005-07-09 19:24:50 +0000
committerChristian Grothoff <christian@grothoff.org>2005-07-09 19:24:50 +0000
commita6e338a587b9f297700f4e2f570b878659c55626 (patch)
tree47fcfd2df33d275ab289f717c6ab5132675deda8
parentb490bfb96d9e2aa09e95d89bd5a3980fe536a6bc (diff)
downloadgnunet-gtk-a6e338a587b9f297700f4e2f570b878659c55626.tar.gz
gnunet-gtk-a6e338a587b9f297700f4e2f570b878659c55626.zip
up
l---------ABOUT-NLS1
-rw-r--r--configure.ac22
-rw-r--r--src/core/main.c3
3 files changed, 8 insertions, 18 deletions
diff --git a/ABOUT-NLS b/ABOUT-NLS
deleted file mode 120000
index 270e2edc..00000000
--- a/ABOUT-NLS
+++ /dev/null
@@ -1 +0,0 @@
1/usr/share/gettext/ABOUT-NLS \ No newline at end of file
diff --git a/configure.ac b/configure.ac
index 738b74ba..98adc199 100644
--- a/configure.ac
+++ b/configure.ac
@@ -228,23 +228,13 @@ then
228fi 228fi
229 229
230 230
231# Set PACKAGE_LOCALE_DIR in config.h. 231# We define the paths here, because MinGW/GCC expands paths
232if test "x${prefix}" = "xNONE"; then 232# passed through the command line ("-DDATADIR=..."). This would
233 AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "${ac_default_prefix}/${DATADIRNAME}/locale", [locale dir]) 233# lead to hard-coded paths ("C:\mingw\mingw\bin...") that do
234else 234# not contain the actual installation.
235 AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "${prefix}/${DATADIRNAME}/locale", [locale dir]) 235AC_DEFINE_DIR([PACKAGE_DATA_DIR], [datadir/GNUnet], [The directory for installing read-only architecture-independent data])
236fi 236AC_DEFINE_DIR([PACKAGE_LOCALE_DIR], [datadir/locale], [gettext catalogs])
237 237
238# Set PACKAGE_DATA_DIR in config.h.
239if test "x${datadir}" = 'x${prefix}/share'; then
240 if test "x${prefix}" = "xNONE"; then
241 AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${ac_default_prefix}/share/${PACKAGE}", [data dir])
242 else
243 AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${prefix}/share/${PACKAGE}", [data dir])
244 fi
245else
246 AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${datadir}/${PACKAGE}", [package data dir])
247fi
248 238
249# Set PACKAGE_SOURCE_DIR in config.h. 239# Set PACKAGE_SOURCE_DIR in config.h.
250packagesrcdir=`cd $srcdir && pwd` 240packagesrcdir=`cd $srcdir && pwd`
diff --git a/src/core/main.c b/src/core/main.c
index 147ace7c..f3dedca7 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -98,7 +98,7 @@ int main(int argc,
98 argv, 98 argv,
99 &parseOptions)) 99 &parseOptions))
100 return 0; 100 return 0;
101 BINDTEXTDOMAIN(PACKAGE, PACKAGE_LOCALE_DIR); 101 BINDTEXTDOMAIN(PACKAGE_NAME, PACKAGE_LOCALE_DIR);
102 textdomain(PACKAGE); 102 textdomain(PACKAGE);
103 startCron(); 103 startCron();
104 initGNUnetGTKCommon(); 104 initGNUnetGTKCommon();
@@ -113,6 +113,7 @@ int main(int argc,
113 gtk_main(); 113 gtk_main();
114 gdk_threads_leave(); 114 gdk_threads_leave();
115 setCustomLogProc(NULL); 115 setCustomLogProc(NULL);
116 while (YES == gtkRunSomeSaveCalls()) ;
116 stopCron(); 117 stopCron();
117 118
118 doneGNUnetGTKCommon(); 119 doneGNUnetGTKCommon();