summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-22 14:24:08 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-22 14:24:08 -0500
commitf2037c2b5671167212ae71888a12f046ffddacdc (patch)
tree7bc43c3e555b802b2a8966b8156a30e237c53dc0 /src
parent185c2f7bc008c2f2fdaf92a12a1b0179129e9190 (diff)
downloadkile-f2037c2b5671167212ae71888a12f046ffddacdc.tar.gz
kile-f2037c2b5671167212ae71888a12f046ffddacdc.zip
Fix exec icon location and bring it into XDG compliancer14.0.0
Diffstat (limited to 'src')
-rw-r--r--src/kile/kileconfigdialog.cpp2
-rw-r--r--src/kile/scriptsmanagementwidget.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/kile/kileconfigdialog.cpp b/src/kile/kileconfigdialog.cpp
index be97dfe..47b0485 100644
--- a/src/kile/kileconfigdialog.cpp
+++ b/src/kile/kileconfigdialog.cpp
@@ -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 ////////////////////
diff --git a/src/kile/scriptsmanagementwidget.cpp b/src/kile/scriptsmanagementwidget.cpp
index 62a66e8..f22547a 100644
--- a/src/kile/scriptsmanagementwidget.cpp
+++ b/src/kile/scriptsmanagementwidget.cpp
@@ -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"));