From a11c2ebfed5a31ec11eced6464eee54fa3d49034 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Sun, 4 Nov 2012 01:33:53 -0600 Subject: Fix references to user profile directory. --- kstars/README.ephemerides | 4 ++-- kstars/kstars/indidriver.cpp | 2 +- kstars/kstars/kstarsdata.cpp | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'kstars') diff --git a/kstars/README.ephemerides b/kstars/README.ephemerides index 2ccbe84d..61880d6b 100644 --- a/kstars/README.ephemerides +++ b/kstars/README.ephemerides @@ -39,7 +39,7 @@ http://ssd.jpl.nasa.gov/sb_elem.html Step 2: The Comets Under "ASCII Files", click on the "Comets" link, and save -this file as ~/.kde/share/apps/kstars/comets.dat (or as +this file as ~/.trinity/share/apps/kstars/comets.dat (or as $TDEDIR/share/apps/kstars/comets.dat for a system-wide install). @@ -73,6 +73,6 @@ out the first 2000 lines, like this: name ("van de Hulst"), which messes up the columns for that object. You may want to rename this object before sorting.]] -FInally, copy "asteroids.dat" to ~/.kde/share/apps/kstars/ (for +Finally, copy "asteroids.dat" to ~/.trinity/share/apps/kstars/ (for single-user install) or $TDEDIR/share/apps/kstars/ (for system install). diff --git a/kstars/kstars/indidriver.cpp b/kstars/kstars/indidriver.cpp index a95fc3e1..64624f8a 100644 --- a/kstars/kstars/indidriver.cpp +++ b/kstars/kstars/indidriver.cpp @@ -570,7 +570,7 @@ bool INDIDriver::readXMLDriver() if ( !KSUtils::openDataFile( file, indiFile ) ) { - KMessageBox::error(0, i18n("Unable to find device driver file 'drivers.xml'. Please locate the file and place it in one of the following locations:\n\n \t$(TDEDIR)/share/apps/kstars/%1 \n\t~/.kde/share/apps/kstars/%1")); + KMessageBox::error(0, i18n("Unable to find device driver file 'drivers.xml'. Please locate the file and place it in one of the following locations:\n\n \t$(TDEDIR)/share/apps/kstars/%1 \n\t~/.trinity/share/apps/kstars/%1")); return false; } diff --git a/kstars/kstars/kstarsdata.cpp b/kstars/kstars/kstarsdata.cpp index e16c987a..d8084480 100644 --- a/kstars/kstars/kstarsdata.cpp +++ b/kstars/kstars/kstarsdata.cpp @@ -1776,7 +1776,7 @@ void KStarsData::initError(TQString s, bool required = false) { "To continue loading, place the file in one of the " "following locations, then press Retry:\n\n" ).arg( s ) + TQString( "\t$(TDEDIR)/share/apps/kstars/%1\n" ).arg( s ) - + TQString( "\t~/.kde/share/apps/kstars/%1\n\n" ).arg( s ) + + TQString( "\t~/.trinity/share/apps/kstars/%1\n\n" ).arg( s ) + i18n( "Otherwise, press Cancel to shutdown." ); caption = i18n( "Critical File Not Found: %1" ).arg( s ); } else { @@ -1785,7 +1785,7 @@ void KStarsData::initError(TQString s, bool required = false) { "However, to avoid seeing this message in the future, you can " "place the file in one of the following locations, then press Retry:\n\n" ).arg( s ) + TQString( "\t$(TDEDIR)/share/apps/kstars/%1\n" ).arg( s ) - + TQString( "\t~/.kde/share/apps/kstars/%1\n\n" ).arg( s ) + + TQString( "\t~/.trinity/share/apps/kstars/%1\n\n" ).arg( s ) + i18n( "Otherwise, press Cancel to continue loading without this file." ).arg( s ); caption = i18n( "Non-Critical File Not Found: %1" ).arg( s ); } -- cgit v1.2.1