From 46e2e93fa23ff2b5e1fd9f40046bb96f6e6a2870 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 22 Oct 2014 01:27:29 -0500 Subject: 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 --- khelpcenter/navigator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'khelpcenter/navigator.cpp') 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 ); -- cgit v1.2.1