Fix exec icon location and bring it into XDG compliance

pull/1/head r14.0.0
Timothy Pearson 10 years ago
parent 849537feca
commit e858f63588

@ -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");

@ -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

@ -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

Loading…
Cancel
Save