From a09a81226625ca200f8cbd24e702e21dc81b1291 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 22 Oct 2014 01:27:30 -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 --- kpdf/conf/preferencesdialog.cpp | 2 +- kpdf/part.cpp | 2 +- kpdf/ui/pageview.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'kpdf') diff --git a/kpdf/conf/preferencesdialog.cpp b/kpdf/conf/preferencesdialog.cpp index 7a308b27..3b8de428 100644 --- a/kpdf/conf/preferencesdialog.cpp +++ b/kpdf/conf/preferencesdialog.cpp @@ -29,6 +29,6 @@ PreferencesDialog::PreferencesDialog( TQWidget * parent, TDEConfigSkeleton * ske addPage( m_general, i18n("General"), "kpdf", i18n("General Options") ); addPage( m_accessibility, i18n("Accessibility"), "access", i18n("Reading Aids") ); addPage( m_performance, i18n("Performance"), "launch", i18n("Performance Tuning") ); - addPage( m_presentation, i18n("Presentation"), "kpresenter_kpr", + addPage( m_presentation, i18n("Presentation"), "application-x-kpresenter", i18n("Options for Presentation Mode") ); } diff --git a/kpdf/part.cpp b/kpdf/part.cpp index 92e6b596..9348e7ac 100644 --- a/kpdf/part.cpp +++ b/kpdf/part.cpp @@ -294,7 +294,7 @@ Part::Part(TQWidget *parentWidget, const char *widgetName, m_showProperties = new TDEAction(i18n("&Properties"), "info", 0, this, TQT_SLOT(slotShowProperties()), ac, "properties"); m_showProperties->setEnabled( false ); - m_showPresentation = new TDEAction( i18n("P&resentation"), "kpresenter_kpr", "Ctrl+Shift+P", this, TQT_SLOT(slotShowPresentation()), ac, "presentation"); + m_showPresentation = new TDEAction( i18n("P&resentation"), "application-x-kpresenter", "Ctrl+Shift+P", this, TQT_SLOT(slotShowPresentation()), ac, "presentation"); m_showPresentation->setEnabled( false ); // attach the actions of the children widgets too diff --git a/kpdf/ui/pageview.cpp b/kpdf/ui/pageview.cpp index 682c0f67..4920bcd2 100644 --- a/kpdf/ui/pageview.cpp +++ b/kpdf/ui/pageview.cpp @@ -1132,7 +1132,7 @@ void PageView::contentsMouseReleaseEvent( TQMouseEvent * e ) menu.insertItem( SmallIcon("kttsd"), i18n( "Speak Text" ), 2 ); } menu.insertTitle( i18n( "Image (%1 by %2 pixels)" ).arg( selectionRect.width() ).arg( selectionRect.height() ) ); - menu.insertItem( SmallIcon("image"), i18n( "Copy to Clipboard" ), 3 ); + menu.insertItem( SmallIcon("image-x-generic"), i18n( "Copy to Clipboard" ), 3 ); menu.insertItem( SmallIcon("document-save"), i18n( "Save to File..." ), 4 ); int choice = menu.exec( e->globalPos() ); // IMAGE operation choosen -- cgit v1.2.3