diff options
author | albator <albator@arcadia.vtf> | 2011-10-21 20:16:07 +0200 |
---|---|---|
committer | albator <albator@arcadia.vtf> | 2011-10-21 20:16:07 +0200 |
commit | 7a0adf35896618a7570e425941fc1b74c54def47 (patch) | |
tree | 16dab9d8bfbd93575440f357c70907cbb5480980 /mandriva/2010.2/applications/amarok/amarok-1.4.0-use-mandriva-directory.patch | |
parent | cd71be65dc30c8007ec54becdf6c50260ed8e908 (diff) | |
parent | a8707e2a9f22d082cecb8ea6079175076f983c55 (diff) | |
download | tde-packaging-7a0adf35896618a7570e425941fc1b74c54def47.tar.gz tde-packaging-7a0adf35896618a7570e425941fc1b74c54def47.zip |
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'mandriva/2010.2/applications/amarok/amarok-1.4.0-use-mandriva-directory.patch')
-rw-r--r-- | mandriva/2010.2/applications/amarok/amarok-1.4.0-use-mandriva-directory.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/mandriva/2010.2/applications/amarok/amarok-1.4.0-use-mandriva-directory.patch b/mandriva/2010.2/applications/amarok/amarok-1.4.0-use-mandriva-directory.patch new file mode 100644 index 000000000..2e3699866 --- /dev/null +++ b/mandriva/2010.2/applications/amarok/amarok-1.4.0-use-mandriva-directory.patch @@ -0,0 +1,21 @@ +--- amarok/src/filebrowser.cpp~ 2006-04-08 18:22:20.000000000 +0200 ++++ amarok/src/filebrowser.cpp 2006-04-11 13:52:36.000000000 +0200 +@@ -77,15 +77,16 @@ + // Try to keep filebrowser working even if not in a medium context + // so if a medium object not passed in, keep earlier behavior + if (!medium) { ++ KGlobal::locale()->insertCatalogue("menu-messages-main"); + m_medium = 0; +- location = new KURL( config->readPathEntry( "Location", QDir::homeDirPath() ) ); ++ location = new KURL( config->readPathEntry( "Location", QDir::homeDirPath()+"/"+i18n("Music"))); + currentFolder = new KFileItem( KFileItem::Unknown, KFileItem::Unknown, *location ); + //KIO sucks, NetAccess::exists puts up a dialog and has annoying error message boxes + //if there is a problem so there is no point in using it anyways. + //so... setting the diroperator to ~ is the least sucky option + if ( !location->isLocalFile() || !currentFolder->isReadable() ) { + delete location; +- location = new KURL( QDir::homeDirPath() ) ; ++ location = new KURL( QDir::homeDirPath()+"/"+i18n("Music")) ; + } + } + else{ |