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

pull/4/head
Timothy Pearson 10 years ago
parent 447935808c
commit f671d1494e

@ -262,7 +262,7 @@ void KerryApplication::checkBeagleBuildIndex()
message = i18n(oldMessage.ascii()); message = i18n(oldMessage.ascii());
if (current_wapidir) 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" #include "kerryapp.moc"

@ -860,9 +860,9 @@ void SearchDlg::insertResult(BeagleSearch::beagle_result_struct *result,int inde
else if (result->tilegroup == BeagleSearch::Packages) { else if (result->tilegroup == BeagleSearch::Packages) {
TQString icon; TQString icon;
if (*(result->mime_type)=="application/x-rpm") if (*(result->mime_type)=="application/x-rpm")
icon = "rpm"; icon = "application-x-rpm";
else if (*(result->mime_type)=="application/x-deb") else if (*(result->mime_type)=="application/x-deb")
icon = "deb"; icon = "application-x-deb";
else else
icon = "kuroo"; icon = "kuroo";
item->setIcon(icon); item->setIcon(icon);

Loading…
Cancel
Save