diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-11-04 01:33:53 -0600 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2012-11-04 01:33:53 -0600 |
commit | a11c2ebfed5a31ec11eced6464eee54fa3d49034 (patch) | |
tree | 3b21cbbf4a6f5460fec04621d19c0d6a4a61499f /kstars | |
parent | fbc8a8212f295307b8da421cbcd19dcae00ccc53 (diff) | |
download | tdeedu-a11c2ebfed5a31ec11eced6464eee54fa3d49034.tar.gz tdeedu-a11c2ebfed5a31ec11eced6464eee54fa3d49034.zip |
Fix references to user profile directory.
Diffstat (limited to 'kstars')
-rw-r--r-- | kstars/README.ephemerides | 4 | ||||
-rw-r--r-- | kstars/kstars/indidriver.cpp | 2 | ||||
-rw-r--r-- | kstars/kstars/kstarsdata.cpp | 4 |
3 files changed, 5 insertions, 5 deletions
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 ); } |