aboutsummaryrefslogtreecommitdiffstats
path: root/kde2/plugins
diff options
context:
space:
mode:
authorFritz Elfert <felfert@to.com>2001-05-21 21:46:35 +0000
committerFritz Elfert <felfert@to.com>2001-05-21 21:46:35 +0000
commit7b149d56ddc91e1c1c342c894de272cc302b88fb (patch)
tree70188a5ef857824ef19607222353fb7efd02e462 /kde2/plugins
parent54c8cf6f971719937edbd38c4e78c57c69894a30 (diff)
downloadplptools-7b149d56ddc91e1c1c342c894de272cc302b88fb.tar.gz
plptools-7b149d56ddc91e1c1c342c894de272cc302b88fb.tar.bz2
plptools-7b149d56ddc91e1c1c342c894de272cc302b88fb.zip
- Moved include/intl.h to lib/plpintl.h to fix compile of foreign progs.
- KPsion now deletes a machine really if delete is clicked in setup dialog. - Some NLS-Related fixes
Diffstat (limited to 'kde2/plugins')
-rw-r--r--kde2/plugins/Makefile.am2
-rw-r--r--kde2/plugins/plppropsFactory.cc12
2 files changed, 7 insertions, 7 deletions
diff --git a/kde2/plugins/Makefile.am b/kde2/plugins/Makefile.am
index 96e0da1..c072832 100644
--- a/kde2/plugins/Makefile.am
+++ b/kde2/plugins/Makefile.am
@@ -1,4 +1,6 @@
+libdir=$(kde_libraries)
+
INCLUDES = $(all_includes) -I$(top_srcdir)/lib
LDFLAGS = $(all_libraries)
diff --git a/kde2/plugins/plppropsFactory.cc b/kde2/plugins/plppropsFactory.cc
index 45b47b1..f483ef9 100644
--- a/kde2/plugins/plppropsFactory.cc
+++ b/kde2/plugins/plppropsFactory.cc
@@ -5,13 +5,11 @@
#ifdef ENABLE_NLS
namespace LIBPLP {
extern "C" {
-#include <intl.h>
- void init_libplp_i18n() {
-#ifdef HAVE_BINDTEXTDOMAIN_CODESET
- bind_textdomain_codeset(PACKAGE, "latin1");
-#endif
- textdomain(PACKAGE);
- }
+#include <plpintl.h>
+ void init_libplp_i18n() {
+ setlocale(LC_ALL, "");
+ textdomain(PACKAGE);
+ }
};
};
#endif