Branch: master

f671d149 2014-10-22 01:27:24 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 kerry/src/kerryapp.cpp
M kerry/src/searchdlg.cpp
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 @@
         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 @@
       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);