Группа :: Графические оболочки/KDE
Пакет: kdelibs
Главная Изменения Спек Патчи Загрузить Bugs and FR
Патч: kdelibs-3.3.0-default-document-path.patch
--- kdelibs-3.3.0/kdecore/kglobalsettings.cpp.orig 2004-09-27 19:38:28 +0400
+++ kdelibs-3.3.0/kdecore/kglobalsettings.cpp 2004-09-27 19:40:04 +0400
@@ -466,7 +466,7 @@ void KGlobalSettings::initStatic() // sh
s_desktopPath->append('/');
// Trash Path
- *s_trashPath = *s_desktopPath + i18n("Trash") + "/";
+ *s_trashPath = *s_desktopPath + "Trash/";
*s_trashPath = config->readPathEntry( "Trash" , *s_trashPath);
*s_trashPath = QDir::cleanDirPath( *s_trashPath );
if ( !s_trashPath->endsWith("/") )
@@ -486,7 +486,7 @@ void KGlobalSettings::initStatic() // sh
s_autostartPath->append('/');
// Document Path
- *s_documentPath = config->readPathEntry( "Documents", QDir::homeDirPath() );
+ *s_documentPath = config->readPathEntry( "Documents", QDir::homeDirPath() + "/Documents/" );
*s_documentPath = QDir::cleanDirPath( *s_documentPath );
if ( !s_documentPath->endsWith("/"))
s_documentPath->append('/');