summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2014-10-22 14:24:06 -0500
committerTimothy Pearson <[email protected]>2014-10-22 14:24:06 -0500
commite858f6358872030fed4deeb221b71e7d139ee3ed (patch)
tree7e0edc30ca1a9db42aadcadb57cee3fb280a5d52
parent849537fecaa3a3e0077586ee374aa8701b068e48 (diff)
downloadkatapult-e858f6358872030fed4deeb221b71e7d139ee3ed.tar.gz
katapult-e858f6358872030fed4deeb221b71e7d139ee3ed.zip
Fix exec icon location and bring it into XDG compliancer14.0.0
-rw-r--r--katapult/katapult/katapult.cpp2
-rw-r--r--katapult/plugins/catalogs/execcatalog/actionrun.cpp2
-rw-r--r--katapult/plugins/catalogs/programcatalog/actionrunprogram.cpp2
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