From da8d6afa1726eabadd968c4f27ef4f87f573d510 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 22 Oct 2014 11:55:17 -0500 Subject: [PATCH] Repair mimetype icon usage, part 1. The following are not fully verified in source as of this commit due to ubiquity: info, unknown --- kalarm/prefdlg.cpp | 2 +- kitchensync/src/aboutpage.cpp | 2 +- kontact/src/mainwindow.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kalarm/prefdlg.cpp b/kalarm/prefdlg.cpp index b76d877d..f439d609 100644 --- a/kalarm/prefdlg.cpp +++ b/kalarm/prefdlg.cpp @@ -122,7 +122,7 @@ KAlarmPrefDlg::KAlarmPrefDlg() setWFlags(TQt::WDestructiveClose); setIconListAllVisible(true); - TQVBox* frame = addVBoxPage(i18n("General"), i18n("General"), DesktopIcon("application-vnd.tde.misc")); + TQVBox* frame = addVBoxPage(i18n("General"), i18n("General"), DesktopIcon("misc")); mMiscPage = new MiscPrefTab(frame); frame = addVBoxPage(i18n("Email"), i18n("Email Alarm Settings"), DesktopIcon("mail_generic")); diff --git a/kitchensync/src/aboutpage.cpp b/kitchensync/src/aboutpage.cpp index f7dab2ac..4de6987e 100644 --- a/kitchensync/src/aboutpage.cpp +++ b/kitchensync/src/aboutpage.cpp @@ -98,7 +98,7 @@ TQString AboutPage::htmlText() const int iconSize = iconloader->currentSize( TDEIcon::Desktop ); TQString handbook_icon_path = iconloader->iconPath( "contents2", TDEIcon::Desktop ); - TQString html_icon_path = iconloader->iconPath( "html", TDEIcon::Desktop ); + TQString html_icon_path = iconloader->iconPath( "text-html", TDEIcon::Desktop ); TQString wizard_icon_path = iconloader->iconPath( "wizard", TDEIcon::Desktop ); TQString info = i18n( "

Welcome to KitchenSync %1

" diff --git a/kontact/src/mainwindow.cpp b/kontact/src/mainwindow.cpp index d1a054ed..1fd7ab88 100644 --- a/kontact/src/mainwindow.cpp +++ b/kontact/src/mainwindow.cpp @@ -1164,7 +1164,7 @@ TQString MainWindow::introductionString() int iconSize = iconloader->currentSize( TDEIcon::Desktop ); TQString handbook_icon_path = iconloader->iconPath( "contents2", TDEIcon::Desktop ); - TQString html_icon_path = iconloader->iconPath( "html", TDEIcon::Desktop ); + TQString html_icon_path = iconloader->iconPath( "text-html", TDEIcon::Desktop ); TQString wizard_icon_path = iconloader->iconPath( "wizard", TDEIcon::Desktop ); TQString info = i18n( "

Welcome to Kontact %1

"