summaryrefslogtreecommitdiffstats
path: root/kio/bookmarks/kbookmarkimporter_kde1.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-15 21:18:13 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-15 21:18:13 +0000
commit70331186c82001a2652bf40e01d49dc8a8ac3a4b (patch)
tree96693c5fe634e0d5cbc8739724aaab9cabd9a4bd /kio/bookmarks/kbookmarkimporter_kde1.cc
parent1c6affb83d6058a92f13e458abc3b5cec26c97ef (diff)
downloadtdelibs-70331186c82001a2652bf40e01d49dc8a8ac3a4b.tar.gz
tdelibs-70331186c82001a2652bf40e01d49dc8a8ac3a4b.zip
Commit 1/2 of new (and optional!) builtin desktop icons
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1175771 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kio/bookmarks/kbookmarkimporter_kde1.cc')
-rw-r--r--kio/bookmarks/kbookmarkimporter_kde1.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/kio/bookmarks/kbookmarkimporter_kde1.cc b/kio/bookmarks/kbookmarkimporter_kde1.cc
index 510787ab1..49999e675 100644
--- a/kio/bookmarks/kbookmarkimporter_kde1.cc
+++ b/kio/bookmarks/kbookmarkimporter_kde1.cc
@@ -86,7 +86,13 @@ void KBookmarkImporter::scanIntern( TQDomElement & parentElem, const TQString &
groupElem.setAttribute("toolbar","yes");
scanIntern( groupElem, file.path() );
}
- else if ( res->name() == "application/x-desktop" )
+ else if ( (res->name() == "application/x-desktop")
+ || (res->name() == "media/builtin-mydocuments")
+ || (res->name() == "media/builtin-mycomputer")
+ || (res->name() == "media/builtin-mynetworkplaces")
+ || (res->name() == "media/builtin-printers")
+ || (res->name() == "media/builtin-trash")
+ || (res->name() == "media/builtin-webbrowser") )
{
KSimpleConfig cfg( file.path(), true );
cfg.setDesktopGroup();