From e858f6358872030fed4deeb221b71e7d139ee3ed Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 22 Oct 2014 14:24:06 -0500 Subject: [PATCH] Fix exec icon location and bring it into XDG compliance --- katapult/katapult/katapult.cpp | 2 +- katapult/plugins/catalogs/execcatalog/actionrun.cpp | 2 +- katapult/plugins/catalogs/programcatalog/actionrunprogram.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/katapult/katapult/katapult.cpp b/katapult/katapult/katapult.cpp index a2d2e14..7c4a43b 100644 --- a/katapult/katapult/katapult.cpp +++ b/katapult/katapult/katapult.cpp @@ -129,7 +129,7 @@ void Katapult::initAccel(TQWidget *parent) contextMenu()->clear(); - new TDEAction(i18n("Execute"), "exec", Key_Return, TQT_TQOBJECT(this), TQT_SLOT(execute()), actions, "execute"); + new TDEAction(i18n("Execute"), "application-x-executable", Key_Return, TQT_TQOBJECT(this), TQT_SLOT(execute()), actions, "execute"); new TDEAction(i18n("Clear"), "edit-clear", Key_Left, TQT_TQOBJECT(this), TQT_SLOT(clearQuery()), actions, "clear"); new TDEAction(i18n("Close"), "window-close", Key_Escape, TQT_TQOBJECT(this), TQT_SLOT(hideLauncher()), actions, "close"); new TDEAction(i18n("Complete Query"), "next", Key_Right, TQT_TQOBJECT(this), TQT_SLOT(completeQuery()), actions, "complete_query"); diff --git a/katapult/plugins/catalogs/execcatalog/actionrun.cpp b/katapult/plugins/catalogs/execcatalog/actionrun.cpp index 61b383c..0254d6f 100644 --- a/katapult/plugins/catalogs/execcatalog/actionrun.cpp +++ b/katapult/plugins/catalogs/execcatalog/actionrun.cpp @@ -51,7 +51,7 @@ TQString ActionRun::text() const TQPixmap ActionRun::icon(int size) const { - return TDEGlobal::iconLoader()->loadIcon("exec", TDEIcon::NoGroup, size); + return TDEGlobal::iconLoader()->loadIcon("application-x-executable", TDEIcon::NoGroup, size); } bool ActionRun::accepts(const KatapultItem* item) const diff --git a/katapult/plugins/catalogs/programcatalog/actionrunprogram.cpp b/katapult/plugins/catalogs/programcatalog/actionrunprogram.cpp index f01647b..98b7a9b 100644 --- a/katapult/plugins/catalogs/programcatalog/actionrunprogram.cpp +++ b/katapult/plugins/catalogs/programcatalog/actionrunprogram.cpp @@ -45,7 +45,7 @@ TQString ActionRunProgram::text() const TQPixmap ActionRunProgram::icon(int size) const { - return TDEGlobal::iconLoader()->loadIcon("exec", TDEIcon::NoGroup, size); + return TDEGlobal::iconLoader()->loadIcon("application-x-executable", TDEIcon::NoGroup, size); } void ActionRunProgram::execute(const KatapultItem *item) const