summaryrefslogtreecommitdiffstats
path: root/src/documentwidget.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2014-10-22 01:27:24 -0500
committerTimothy Pearson <[email protected]>2014-10-22 01:27:24 -0500
commita77f89e1d2793ea3fdb5f481c52791dcfee45c9d (patch)
tree8ef21f4444a2e00b7b68fd43069e40712cd1c6c1 /src/documentwidget.cpp
parent35eb9e0b167ca846eb1076546fa0c4b289459672 (diff)
downloadkbibtex-a77f89e1d2793ea3fdb5f481c52791dcfee45c9d.tar.gz
kbibtex-a77f89e1d2793ea3fdb5f481c52791dcfee45c9d.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, unknownr14.0.0
Diffstat (limited to 'src/documentwidget.cpp')
-rw-r--r--src/documentwidget.cpp6
1 files changed, 3 insertions, 3 deletions
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 );