summaryrefslogtreecommitdiffstats
path: root/khelpcenter/navigator.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-22 01:27:29 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-22 01:27:29 -0500
commit46e2e93fa23ff2b5e1fd9f40046bb96f6e6a2870 (patch)
treef643c1f8c35237043b62bc9a438c64cfd95237fd /khelpcenter/navigator.cpp
parent2a34ebd1f8117f3e87bb66226461b9d812327438 (diff)
downloadtdebase-46e2e93fa23ff2b5e1fd9f40046bb96f6e6a2870.tar.gz
tdebase-46e2e93fa23ff2b5e1fd9f40046bb96f6e6a2870.zip
Bring most mimetypes in line with XDG specifications. The following are not fully verified in source as of this commit due to ubiquity: html, empty, info, make, man, misc, source, unknown
Diffstat (limited to 'khelpcenter/navigator.cpp')
-rw-r--r--khelpcenter/navigator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/khelpcenter/navigator.cpp b/khelpcenter/navigator.cpp
index 22f530a1f..9590ea54d 100644
--- a/khelpcenter/navigator.cpp
+++ b/khelpcenter/navigator.cpp
@@ -250,7 +250,7 @@ void Navigator::insertIOSlaveDocs( const TQString &name, NavigatorItem *topItem
// First parameter is ignored if second is an absolute path
KURL url(KURL("help:/"), docPath);
TQString icon = KProtocolInfo::icon(*it);
- if ( icon.isEmpty() ) icon = "document2";
+ if ( icon.isEmpty() ) icon = "text-x-generic-template";
DocEntry *entry = new DocEntry( *it, url.url(), icon );
NavigatorItem *item = new NavigatorItem( entry, topItem, prevItem );
prevItem = item;
@@ -285,7 +285,7 @@ void Navigator::createItemFromDesktopFile( NavigatorItem *topItem,
// First parameter is ignored if second is an absolute path
KURL url(KURL("help:/"), docPath);
TQString icon = desktopFile.readIcon();
- if ( icon.isEmpty() ) icon = "document2";
+ if ( icon.isEmpty() ) icon = "text-x-generic-template";
DocEntry *entry = new DocEntry( desktopFile.readName(), url.url(), icon );
NavigatorItem *item = new NavigatorItem( entry, topItem );
item->setAutoDeleteDocEntry( true );