From a77f89e1d2793ea3fdb5f481c52791dcfee45c9d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 22 Oct 2014 01:27:24 -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 --- src/documentwidget.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/documentwidget.cpp') diff --git a/src/documentwidget.cpp b/src/documentwidget.cpp index 9a8ff7b..1c0a485 100644 --- a/src/documentwidget.cpp +++ b/src/documentwidget.cpp @@ -677,11 +677,11 @@ namespace KBibTeX { TQString prettyURL = ( *i ).prettyURL(); if ( prettyURL.endsWith( ".pdf", FALSE ) || prettyURL.find( "/pdf/" ) > 0 ) - popup->insertItem( SmallIcon( "pdf" ), prettyURL ); + popup->insertItem( SmallIcon( "application-pdf" ), prettyURL ); else if ( prettyURL.endsWith( ".ps", FALSE ) ) - popup->insertItem( SmallIcon( "postscript" ), prettyURL ); + popup->insertItem( SmallIcon( "application-postscript" ), prettyURL ); else if ( prettyURL.endsWith( ".html", FALSE ) || prettyURL.startsWith( "http://", FALSE ) ) - popup->insertItem( SmallIcon( "html" ), prettyURL ); + popup->insertItem( SmallIcon( "text-html" ), prettyURL ); else popup->insertItem( prettyURL ); m_viewDocumentActionMenuURLs.append( prettyURL ); -- cgit v1.2.3