Fix exec icon location and bring it into XDG compliance

pull/1/head r14.0.0
Timothy Pearson 10 years ago
parent 185c2f7bc0
commit f2037c2b56

@ -183,7 +183,7 @@ namespace KileDialog
void Config::setupScripting()
{
scriptingPage = new KileWidgetScriptingConfig(this, "Scripting");
addConfigPage(scriptingPage,i18n("Kile"),i18n("Scripting"),"exec",i18n("Scripting Support"));
addConfigPage(scriptingPage,i18n("Kile"),i18n("Scripting"),"application-x-executable",i18n("Scripting Support"));
}
//////////////////// LaTeX specific editing options ////////////////////

@ -92,7 +92,7 @@ ScriptsManagement::ScriptsManagement(KileInfo *kileInfo, TQWidget *parent, const
TQVBoxLayout *baseLayout = new TQVBoxLayout(this);
m_toolbar = new TDEToolBar(this, "scriptControlToolBar");
m_executeButton = m_toolbar->insertButton(BarIcon("exec"), 0, TQT_SIGNAL(clicked(int)), TQT_TQOBJECT(this), TQT_SLOT(executeSelectedScript()), true, i18n("Run Selected Script"));
m_executeButton = m_toolbar->insertButton(BarIcon("application-x-executable"), 0, TQT_SIGNAL(clicked(int)), TQT_TQOBJECT(this), TQT_SLOT(executeSelectedScript()), true, i18n("Run Selected Script"));
m_newButton = m_toolbar->insertButton(BarIcon("scriptnew"), 0, TQT_SIGNAL(clicked(int)), m_kileInfo->docManager(), TQT_SLOT(createNewJScript()), true, i18n("Create New Script"));
m_openButton = m_toolbar->insertButton(BarIcon("scriptopen"), 0, TQT_SIGNAL(clicked(int)), TQT_TQOBJECT(this), TQT_SLOT(openSelectedScript()), true, i18n("Open Selected Script in Editor"));
// m_toolbar->insertButton(BarIcon("configure_shortcuts"), 0, TQT_SIGNAL(clicked(int)), TQT_TQOBJECT(this), TQT_SLOT(configureSelectedShortcut()), true, i18n("Configure Shortcut"));

Loading…
Cancel
Save