diff options
author | Timothy Pearson <[email protected]> | 2014-10-06 12:16:27 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2014-10-06 12:16:27 -0500 |
commit | ecd088049d4aa2e8262f4cc1e0ac45e135964229 (patch) | |
tree | 49ed22e9e7852fd3f26854aecf41c96169d59629 /redhat/tdebase/tdebase-3.5.13.2-kickoff_xdg_dirs.patch | |
parent | 855439d3f99b0c152c33ae76a06cce9853f9b8dd (diff) | |
parent | 01a7863524342e1aec31679e55d08830cc571066 (diff) | |
download | tde-packaging-ecd088049d4aa2e8262f4cc1e0ac45e135964229.tar.gz tde-packaging-ecd088049d4aa2e8262f4cc1e0ac45e135964229.zip |
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'redhat/tdebase/tdebase-3.5.13.2-kickoff_xdg_dirs.patch')
-rw-r--r-- | redhat/tdebase/tdebase-3.5.13.2-kickoff_xdg_dirs.patch | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/redhat/tdebase/tdebase-3.5.13.2-kickoff_xdg_dirs.patch b/redhat/tdebase/tdebase-3.5.13.2-kickoff_xdg_dirs.patch deleted file mode 100644 index a3619839f..000000000 --- a/redhat/tdebase/tdebase-3.5.13.2-kickoff_xdg_dirs.patch +++ /dev/null @@ -1,45 +0,0 @@ ---- ./kicker/kicker/ui/k_new_mnu.cpp.ori 2013-05-08 21:56:01.084691260 +0200 -+++ ./kicker/kicker/ui/k_new_mnu.cpp 2013-05-08 21:58:02.086130445 +0200 -@@ -1428,6 +1428,42 @@ - m_systemView->insertItem( "folder_man", i18n( "My Documents" ), documentPath, documentPath, nId++, index++ ); - } - -+ if ( KStandardDirs::exists( KGlobalSettings::picturesPath() + "/" ) ) -+ { -+ TQString picturesPath = KGlobalSettings::picturesPath(); -+ if ( picturesPath.endsWith( "/" ) ) -+ picturesPath = picturesPath.left( picturesPath.length() - 1 ); -+ if (picturesPath!=TQDir::homeDirPath()) -+ m_systemView->insertItem( "folder_image", i18n( "My Images" ), picturesPath, picturesPath, nId++, index++ ); -+ } -+ -+ if ( KStandardDirs::exists( KGlobalSettings::musicPath() + "/" ) ) -+ { -+ TQString musicPath = KGlobalSettings::musicPath(); -+ if ( musicPath.endsWith( "/" ) ) -+ musicPath = musicPath.left( musicPath.length() - 1 ); -+ if (musicPath!=TQDir::homeDirPath()) -+ m_systemView->insertItem( "folder_sound", i18n( "My Music" ), musicPath, musicPath, nId++, index++ ); -+ } -+ -+ if ( KStandardDirs::exists( KGlobalSettings::videosPath() + "/" ) ) -+ { -+ TQString videosPath = KGlobalSettings::videosPath(); -+ if ( videosPath.endsWith( "/" ) ) -+ videosPath = videosPath.left( videosPath.length() - 1 ); -+ if (videosPath!=TQDir::homeDirPath()) -+ m_systemView->insertItem( "folder_video", i18n( "My Videos" ), videosPath, videosPath, nId++, index++ ); -+ } -+ -+ if ( KStandardDirs::exists( KGlobalSettings::downloadPath() + "/" ) ) -+ { -+ TQString downloadPath = KGlobalSettings::downloadPath(); -+ if ( downloadPath.endsWith( "/" ) ) -+ downloadPath = downloadPath.left( downloadPath.length() - 1 ); -+ if (downloadPath!=TQDir::homeDirPath()) -+ m_systemView->insertItem( "folder_inbox", i18n( "My Downloads" ), downloadPath, downloadPath, nId++, index++ ); -+ } -+ - m_systemView->insertItem( "network", i18n( "Network Folders" ), - "remote:/", "remote:/", nId++, index++ ); - |