From f671d1494ea1dcdee98ee90bbe892c948148eebe Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 22 Oct 2014 01:27:24 -0500 Subject: [PATCH] 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 --- kerry/src/kerryapp.cpp | 2 +- kerry/src/searchdlg.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kerry/src/kerryapp.cpp b/kerry/src/kerryapp.cpp index f231f8b..eecafc6 100644 --- a/kerry/src/kerryapp.cpp +++ b/kerry/src/kerryapp.cpp @@ -262,7 +262,7 @@ void KerryApplication::checkBeagleBuildIndex() message = i18n(oldMessage.ascii()); if (current_wapidir) - KPassivePopup::message(KPassivePopup::Boxed, i18n("System May Be Slower Than Usual"), message, BarIcon("info"), sysTrayIcon, 0, 10000); + KPassivePopup::message(KPassivePopup::Boxed, i18n("System May Be Slower Than Usual"), message, BarIcon("application-vnd.tde.info"), sysTrayIcon, 0, 10000); } #include "kerryapp.moc" diff --git a/kerry/src/searchdlg.cpp b/kerry/src/searchdlg.cpp index bb5d9c5..11b3075 100644 --- a/kerry/src/searchdlg.cpp +++ b/kerry/src/searchdlg.cpp @@ -860,9 +860,9 @@ void SearchDlg::insertResult(BeagleSearch::beagle_result_struct *result,int inde else if (result->tilegroup == BeagleSearch::Packages) { TQString icon; if (*(result->mime_type)=="application/x-rpm") - icon = "rpm"; + icon = "application-x-rpm"; else if (*(result->mime_type)=="application/x-deb") - icon = "deb"; + icon = "application-x-deb"; else icon = "kuroo"; item->setIcon(icon);