a09a8122 | 2014-10-22 01:27:30 | Timothy Pearson |
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 |
||
M kdvi/kdvi_multipage.cpp M kghostview/kgvconfigdialog.cpp M kmrml/kmrml/mrml-servicemenu.desktop M kmrml/kmrml/mrml.desktop M kmrml/kmrml/mrml.protocol M kooka/kookaview.cpp M kpdf/conf/preferencesdialog.cpp M kpdf/part.cpp M kpdf/ui/pageview.cpp M kpovmodeler/pmshell.cpp M kruler/klineal.cpp M ksvg/plugin/ksvg_plugin.cpp M ksvg/plugin/ksvgplugin.desktop M kview/kimageviewer/kimageviewer.desktop |
||
diff --git a/kdvi/kdvi_multipage.cpp b/kdvi/kdvi_multipage.cpp index a9b26fd..baea180 100644 --- a/kdvi/kdvi_multipage.cpp +++ b/kdvi/kdvi_multipage.cpp @@ -206,7 +206,7 @@ optionDialogSpecialWidget* specialConfigWidget = new optionDialogSpecialWidget(scrollView()); configDialog->addPage(fontConfigWidget, Prefs::self(), i18n("TeX Fonts"), "fonts"); - configDialog->addPage(specialConfigWidget, Prefs::self(), i18n("DVI Specials"), "dvi"); + configDialog->addPage(specialConfigWidget, Prefs::self(), i18n("DVI Specials"), "application-x-lyx"); configDialog->setHelp("preferences", "kdvi"); } diff --git a/kghostview/kgvconfigdialog.cpp b/kghostview/kgvconfigdialog.cpp index 887c481..d76a734 100644 --- a/kghostview/kgvconfigdialog.cpp +++ b/kghostview/kgvconfigdialog.cpp @@ -142,7 +142,7 @@ dialog->addPage( new GeneralSettingsWidget( 0, "general-settings" ), i18n( "General" ), TQString::fromLatin1( "kghostview" ) ); GSSettingsWidget *gssw = new GSSettingsWidget( 0, "gs-settings" ); - dialog->addPage( gssw, i18n( "Ghostscript\nConfiguration" ), TQString::fromLatin1( "pdf" ) ); + dialog->addPage( gssw, i18n( "Ghostscript\nConfiguration" ), TQString::fromLatin1( "application-pdf" ) ); gssw->setDetectedVersion(Configuration::version()); diff --git a/kmrml/kmrml/mrml-servicemenu.desktop b/kmrml/kmrml/mrml-servicemenu.desktop index 0c3100d..ee0bdd6 100644 --- a/kmrml/kmrml/mrml-servicemenu.desktop +++ b/kmrml/kmrml/mrml-servicemenu.desktop @@ -63,5 +63,5 @@ Name[zh_HK]=���������������������... Name[zh_TW]=���������������������... Name[zu]=Sesha ukuthola Izithombe Ezifanayo.... -Icon=image +Icon=image-x-generic Exec=mrmlsearch %U diff --git a/kmrml/kmrml/mrml.desktop b/kmrml/kmrml/mrml.desktop index 4c50ce2..457070d 100644 --- a/kmrml/kmrml/mrml.desktop +++ b/kmrml/kmrml/mrml.desktop @@ -53,7 +53,7 @@ Comment[zh_HK]=��������������������������������� Comment[zh_TW]=��������������������������������� Comment[zu]=Ushicilelo Lwe-Multimedia Retrieval Markup Language -Icon=html +Icon=text-x-text-html Type=MimeType MimeType=text/mrml Patterns=*.mrml;*.MRML; diff --git a/kmrml/kmrml/mrml.protocol b/kmrml/kmrml/mrml.protocol index a92d9d5..1f29350 100644 --- a/kmrml/kmrml/mrml.protocol +++ b/kmrml/kmrml/mrml.protocol @@ -6,5 +6,5 @@ reading=true defaultMimetype=text/mrml determineMimetypeFromExtension=false -Icon=image +Icon=image-x-generic DocPath=tdeioslave/mrml/index.html diff --git a/kooka/kookaview.cpp b/kooka/kookaview.cpp index 98b49ef..f9c39d6 100644 --- a/kooka/kookaview.cpp +++ b/kooka/kookaview.cpp @@ -156,7 +156,7 @@ * Create a Kombobox that holds the last folders visible even on the preview page */ m_dockRecent = parent->createDockWidget( "Recent", - loader->loadIcon( "image", TDEIcon::Small ), + loader->loadIcon( ""image-x-generic", TDEIcon::Small ), 0L, i18n("Gallery Folders")); m_dockRecent->setDockSite(KDockWidget::DockFullSite); diff --git a/kpdf/conf/preferencesdialog.cpp b/kpdf/conf/preferencesdialog.cpp index 7a308b2..3b8de42 100644 --- a/kpdf/conf/preferencesdialog.cpp +++ b/kpdf/conf/preferencesdialog.cpp @@ -29,6 +29,6 @@ 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 92e6b59..9348e7a 100644 --- a/kpdf/part.cpp +++ b/kpdf/part.cpp @@ -294,7 +294,7 @@ 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 682c0f6..4920bcd 100644 --- a/kpdf/ui/pageview.cpp +++ b/kpdf/ui/pageview.cpp @@ -1132,7 +1132,7 @@ 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 diff --git a/kpovmodeler/pmshell.cpp b/kpovmodeler/pmshell.cpp index 7b96e06..0717018 100644 --- a/kpovmodeler/pmshell.cpp +++ b/kpovmodeler/pmshell.cpp @@ -208,7 +208,7 @@ else { // unknown view type - dock = createDockWidget( name, SmallIcon( "unknown" ), 0L, + dock = createDockWidget( name, SmallIcon( "text-x-katefilelist" ), 0L, i18n( "Unknown" ), i18n( "Unknown" ) ); contents = new PMUnknownView( t, dock ); } diff --git a/kruler/klineal.cpp b/kruler/klineal.cpp index 9bdac1a..7041fea 100644 --- a/kruler/klineal.cpp +++ b/kruler/klineal.cpp @@ -159,8 +159,8 @@ mLenMenu->insertItem(i18n("&Tall"), this, TQT_SLOT(setTallLength()), CTRL+Key_T); mLenMenu->insertItem(i18n("&Full Screen Width"), this, TQT_SLOT(setFullLength()), CTRL+Key_F, FULLSCREENID); mMenu->insertItem(i18n("&Length"), mLenMenu); - mMenu->insertItem(SmallIcon("colorscm"), i18n("&Choose Color..."), this, TQT_SLOT(choseColor()), CTRL+Key_C); - mMenu->insertItem(SmallIcon("font"), i18n("Choose &Font..."), this, TQT_SLOT(choseFont()), Key_F); + mMenu->insertItem(SmallIcon("application-x-kcsrc"), i18n("&Choose Color..."), this, TQT_SLOT(choseColor()), CTRL+Key_C); + mMenu->insertItem(SmallIcon("font-x-generic"), i18n("Choose &Font..."), this, TQT_SLOT(choseFont()), Key_F); mMenu->insertSeparator(); mMenu->insertItem(SmallIcon( "help" ), KStdGuiItem::help().text(), helpMenu()); mMenu->insertSeparator(); diff --git a/ksvg/plugin/ksvg_plugin.cpp b/ksvg/plugin/ksvg_plugin.cpp index 5e4cb0f..14eaa41 100644 --- a/ksvg/plugin/ksvg_plugin.cpp +++ b/ksvg/plugin/ksvg_plugin.cpp @@ -116,11 +116,11 @@ ksvgd->zoomOutAction = KStdAction::zoomOut(this, TQT_SLOT(slotZoomOut()), actionCollection()); ksvgd->zoomResetAction = new TDEAction(i18n("Zoom &Reset"), "viewmag", this, TQT_SLOT(slotZoomReset()), actionCollection(), "zoom_reset"); ksvgd->stopAnimationsAction = new TDEAction(i18n("&Stop Animations"), "process-stop", Key_Escape, this, TQT_SLOT(slotStop()), actionCollection(), "stop_anims"); - ksvgd->viewSourceAction = new TDEAction(i18n("View &Source"), "document2", Key_F6, this, TQT_SLOT(slotViewSource()), actionCollection(), "view_source"); - ksvgd->viewMemoryAction = new TDEAction(i18n("View &Memory"), "document2", Key_F7, this, TQT_SLOT(slotViewMemory()), actionCollection(), "view_memory"); + ksvgd->viewSourceAction = new TDEAction(i18n("View &Source"), "text-x-generic-template", Key_F6, this, TQT_SLOT(slotViewSource()), actionCollection(), "view_source"); + ksvgd->viewMemoryAction = new TDEAction(i18n("View &Memory"), "text-x-generic-template", Key_F7, this, TQT_SLOT(slotViewMemory()), actionCollection(), "view_memory"); ksvgd->saveToPNG = new TDEAction(i18n("Save to PNG..."), "save", 0, this, TQT_SLOT(slotSaveToPNG()), actionCollection(), "save_to_png"); // ksvgd->aboutApp = KStdAction::aboutApp(this, TQT_SLOT(slotAboutKSVG()), actionCollection());//, "KSVG"); - ksvgd->aboutApp = new TDEAction(i18n("About KSVG"), "vectorgfx", 0, this, TQT_SLOT(slotAboutKSVG()), actionCollection(), "help_about_app"); + ksvgd->aboutApp = new TDEAction(i18n("About KSVG"), "image-svg+xml", 0, this, TQT_SLOT(slotAboutKSVG()), actionCollection(), "help_about_app"); ksvgd->fontKerningAction = new TDEToggleAction(i18n("Use Font &Kerning"), "zoom-fit-best", Key_F8, this, TQT_SLOT(slotFontKerning()), actionCollection(), "font_kerning"); ksvgd->progressiveAction = new TDEToggleAction(i18n("Use &Progressive Rendering"), "", Key_F9, this, TQT_SLOT(slotProgressiveRendering()), actionCollection(), "progressive"); diff --git a/ksvg/plugin/ksvgplugin.desktop b/ksvg/plugin/ksvgplugin.desktop index 5a59f16..e391e97 100644 --- a/ksvg/plugin/ksvgplugin.desktop +++ b/ksvg/plugin/ksvgplugin.desktop @@ -19,7 +19,7 @@ Name[tr]=KSVG Eklentisi Name[xh]=Iplagi efakiweyo ye KSVG Name[zu]=Iplagi efakiweyo ye KSVG -Icon=vectorgfx +Icon=image-svg+xml MimeType=image/svg+xml;image/svg Comment=Scalable Vector Graphics Viewer Comment[ar]=�������� ���������������� �������������� �������������� ������������ diff --git a/kview/kimageviewer/kimageviewer.desktop b/kview/kimageviewer/kimageviewer.desktop index 8abe4ca..a6006b9 100644 --- a/kview/kimageviewer/kimageviewer.desktop +++ b/kview/kimageviewer/kimageviewer.desktop @@ -2,7 +2,7 @@ Type=ServiceType X-TDE-ServiceType=KImageViewer/Viewer X-TDE-Derived=KParts/ReadWritePart -Icon=image +Icon=image-x-generic Comment=Embeddable Image Viewer Component Comment[af]=Inlegbare Beeld Aansig Komponent Comment[ar]=�������� �������� ���������� ������������ ���������� |