Branch: master

16be4442 2014-10-22 14:24:07 Timothy Pearson
Fix exec icon location and bring it into XDG compliance
M kerry/src/searchdlg.cpp
diff --git a/kerry/src/searchdlg.cpp b/kerry/src/searchdlg.cpp
index 11b3075..32eabb0 100644
--- a/kerry/src/searchdlg.cpp
+++ b/kerry/src/searchdlg.cpp
@@ -179,7 +179,7 @@
                            "- Change the sort order and the number of shown results.<br>"
                            "- Define your own shortcuts to invoke the search dialog.")+"</qt>");
   KURLLabel *buttonStart = new KURLLabel(item);
-  buttonStart->setPixmap(SmallIcon("exec"));
+  buttonStart->setPixmap(SmallIcon("application-x-executable"));
   item->insertHitWidget(0,buttonStart);
   connect(buttonStart, TQT_SIGNAL(leftClickedURL()), TQT_SIGNAL(configure()));
 
@@ -405,7 +405,7 @@
        item->insertTextWidget(1,cb_beagleStart);
 
        KURLLabel *buttonStart = new KURLLabel(item);
-       buttonStart->setPixmap(SmallIcon("exec"));
+       buttonStart->setPixmap(SmallIcon("application-x-executable"));
        item->insertHitWidget(0,buttonStart);
        connect(buttonStart, TQT_SIGNAL(leftClickedURL()), TQT_SLOT(slotStartBeagle()));
 
@@ -553,7 +553,7 @@
       connect(item->icon, TQT_SIGNAL(leftClickedURL()), TQT_SLOT(slotOpen()));
 
       KURLLabel *buttonGo = new KerryLabel(item);
-      buttonGo->setPixmap(SmallIcon( *(result->mime_type)=="application/x-desktop" ? "exec" : "document-open") );
+      buttonGo->setPixmap(SmallIcon( *(result->mime_type)=="application/x-desktop" ? "application-x-executable" : "document-open") );
       buttonGo->setURL(*(result->uri));
       item->insertHitWidget(0,buttonGo);
       connect(buttonGo, TQT_SIGNAL(leftClickedURL()), TQT_SLOT(slotOpen()));