summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-22 14:24:09 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-22 14:24:09 -0500
commit0422c8d58dd07012584e5f99cbfe99d6a007cc1a (patch)
tree91be87cd1f55ae0540a55c12d80539b548a68f93
parent0a2c994ddf38d9b765c0c8ff02670c4e663c2a11 (diff)
downloadkoffice-0422c8d58dd07012584e5f99cbfe99d6a007cc1a.tar.gz
koffice-0422c8d58dd07012584e5f99cbfe99d6a007cc1a.zip
Fix exec icon location and bring it into XDG compliance
-rw-r--r--kexi/kexiutils/debuggui.cpp2
-rw-r--r--kexi/plugins/macros/kexipart/keximacropart.cpp2
-rw-r--r--lib/kross/main/wdgscriptsmanager.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/kexi/kexiutils/debuggui.cpp b/kexi/kexiutils/debuggui.cpp
index dd36052b..c48f0d81 100644
--- a/kexi/kexiutils/debuggui.cpp
+++ b/kexi/kexiutils/debuggui.cpp
@@ -102,7 +102,7 @@ void KexiUtils::addAlterTableActionDebug(const TQString& text, int nestingLevel)
hbox->addWidget(btn_exec);
KPushButton *btn_clear = new KPushButton(KGuiItem("Clear", "clear_left"), page);
hbox->addWidget(btn_clear);
- KPushButton *btn_sim = new KPushButton(KGuiItem("Simulate Execution", "exec"), page);
+ KPushButton *btn_sim = new KPushButton(KGuiItem("Simulate Execution", "application-x-executable"), page);
btn_sim->setName("simulateAlterTableExecution");
hbox->addWidget(btn_sim);
diff --git a/kexi/plugins/macros/kexipart/keximacropart.cpp b/kexi/plugins/macros/kexipart/keximacropart.cpp
index c189b8ca..65bfaebf 100644
--- a/kexi/plugins/macros/kexipart/keximacropart.cpp
+++ b/kexi/plugins/macros/kexipart/keximacropart.cpp
@@ -120,7 +120,7 @@ void KexiMacroPart::initPartActions()
void KexiMacroPart::initInstanceActions()
{
//kdDebug() << "KexiMacroPart::initInstanceActions()" << endl;
- //createSharedAction(Kexi::DesignViewMode, i18n("Execute Macro"), "exec", 0, "data_execute");
+ //createSharedAction(Kexi::DesignViewMode, i18n("Execute Macro"), "application-x-executable", 0, "data_execute");
}
KexiViewBase* KexiMacroPart::createView(TQWidget* parent, KexiDialogBase* dialog, KexiPart::Item& item, int viewMode, TQMap<TQString,TQString>*)
diff --git a/lib/kross/main/wdgscriptsmanager.cpp b/lib/kross/main/wdgscriptsmanager.cpp
index e2e063ca..50a0101f 100644
--- a/lib/kross/main/wdgscriptsmanager.cpp
+++ b/lib/kross/main/wdgscriptsmanager.cpp
@@ -137,7 +137,7 @@ WdgScriptsManager::WdgScriptsManager(ScriptGUIClient* scr, TQWidget* parent, con
slotSelectionChanged(0);
connect(scriptsList, TQT_SIGNAL(selectionChanged(TQListViewItem*)), this, TQT_SLOT(slotSelectionChanged(TQListViewItem*)));
- btnExec->setIconSet(TDEGlobal::instance()->iconLoader()->loadIconSet( "exec", TDEIcon::MainToolbar, 16 ));
+ btnExec->setIconSet(TDEGlobal::instance()->iconLoader()->loadIconSet( "application-x-executable", TDEIcon::MainToolbar, 16 ));
connect(btnExec, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotExecuteScript()));
btnLoad->setIconSet(TDEGlobal::instance()->iconLoader()->loadIconSet( "document-open", TDEIcon::MainToolbar, 16 ));
connect(btnLoad, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotLoadScript()));
@@ -154,7 +154,7 @@ WdgScriptsManager::WdgScriptsManager(ScriptGUIClient* scr, TQWidget* parent, con
/*
toolBar->setIconText( TDEToolBar::IconTextRight );
- toolBar->insertButton("exec", WdgScriptsManagerPrivate::ExecBtn, false, i18n("Execute"));
+ toolBar->insertButton("application-x-executable", WdgScriptsManagerPrivate::ExecBtn, false, i18n("Execute"));
toolBar->addConnection(WdgScriptsManagerPrivate::ExecBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotExecuteScript()));
toolBar->insertLineSeparator();
toolBar->insertButton("document-open", WdgScriptsManagerPrivate::LoadBtn, true, i18n("Load"));