summaryrefslogtreecommitdiffstats
path: root/languages
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-22 14:24:34 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-22 14:24:34 -0500
commitca46c5047fd0f619486b89e032c34d9a5664cdcb (patch)
tree7e1c8b79bd19e78f23cab54010164dd290639ce3 /languages
parent5773501d560f5ff65d407715536c7a5dae0955fe (diff)
downloadtdevelop-ca46c5047fd0f619486b89e032c34d9a5664cdcb.tar.gz
tdevelop-ca46c5047fd0f619486b89e032c34d9a5664cdcb.zip
Fix exec icon location and bring it into XDG compliance
Diffstat (limited to 'languages')
-rw-r--r--languages/bash/bashsupport_part.cpp2
-rw-r--r--languages/cpp/app_templates/kdevlang/kdevlang_part.cpp2
-rw-r--r--languages/csharp/csharpsupportpart.cpp6
-rw-r--r--languages/kjssupport/kjssupport_part.cpp2
-rw-r--r--languages/perl/perlsupportpart.cpp6
-rw-r--r--languages/php/phpsupportpart.cpp2
-rw-r--r--languages/python/pythonsupportpart.cpp6
-rw-r--r--languages/ruby/rubysupport_part.cpp4
-rw-r--r--languages/sql/sqlsupport_part.cpp2
9 files changed, 16 insertions, 16 deletions
diff --git a/languages/bash/bashsupport_part.cpp b/languages/bash/bashsupport_part.cpp
index 9f1be201..7e30b913 100644
--- a/languages/bash/bashsupport_part.cpp
+++ b/languages/bash/bashsupport_part.cpp
@@ -43,7 +43,7 @@ BashSupportPart::BashSupportPart(TQObject *parent, const char *name, const TQStr
setXMLFile("kdevbashsupport.rc");
TDEAction *action;
- action = new TDEAction( i18n("&Run"), "exec",Key_F9,this, TQT_SLOT(slotRun()),actionCollection(), "build_execute" );
+ action = new TDEAction( i18n("&Run"), "application-x-executable",Key_F9,this, TQT_SLOT(slotRun()),actionCollection(), "build_execute" );
action->setToolTip(i18n("Run"));
action->setWhatsThis(i18n("<b>Run</b><p>Starts an application."));
diff --git a/languages/cpp/app_templates/kdevlang/kdevlang_part.cpp b/languages/cpp/app_templates/kdevlang/kdevlang_part.cpp
index 559a931b..69dcd7d8 100644
--- a/languages/cpp/app_templates/kdevlang/kdevlang_part.cpp
+++ b/languages/cpp/app_templates/kdevlang/kdevlang_part.cpp
@@ -28,7 +28,7 @@ static const KDevPluginInfo data("kdev%{APPNAMELC}");
setXMLFile("kdevlang_%{APPNAMELC}.rc");
- m_build = new TDEAction( i18n("&Run"), "exec",Key_F9,this, TQT_SLOT(slotRun()),actionCollection(), "build_execute" );
+ m_build = new TDEAction( i18n("&Run"), "application-x-executable",Key_F9,this, TQT_SLOT(slotRun()),actionCollection(), "build_execute" );
kdDebug() << "Creating %{APPNAMELC} Part" << endl;
diff --git a/languages/csharp/csharpsupportpart.cpp b/languages/csharp/csharpsupportpart.cpp
index 154ff911..6da33030 100644
--- a/languages/csharp/csharpsupportpart.cpp
+++ b/languages/csharp/csharpsupportpart.cpp
@@ -62,17 +62,17 @@ CSharpSupportPart::CSharpSupportPart(TQObject *parent, const char *name, const T
TDEAction *action;
- action = new TDEAction( i18n("Execute Main Program"), "exec", 0,
+ action = new TDEAction( i18n("Execute Main Program"), "application-x-executable", 0,
this, TQT_SLOT(slotExecute()),
actionCollection(), "build_exec" );
action->setToolTip( i18n("Runs the CSharp program") );
- action = new TDEAction( i18n("Execute String..."), "exec", 0,
+ action = new TDEAction( i18n("Execute String..."), "application-x-executable", 0,
this, TQT_SLOT(slotExecuteString()),
actionCollection(), "build_execstring" );
action->setToolTip( i18n("Executes a string as CSharp code") );
- action = new TDEAction( i18n("Start CSharp Interpreter"), "exec", 0,
+ action = new TDEAction( i18n("Start CSharp Interpreter"), "application-x-executable", 0,
this, TQT_SLOT(slotStartInterpreter()),
actionCollection(), "build_runinterpreter" );
action->setToolTip( i18n("Starts the CSharp interpreter without a program") );
diff --git a/languages/kjssupport/kjssupport_part.cpp b/languages/kjssupport/kjssupport_part.cpp
index 4a3dbc25..5a00e9c6 100644
--- a/languages/kjssupport/kjssupport_part.cpp
+++ b/languages/kjssupport/kjssupport_part.cpp
@@ -69,7 +69,7 @@ kjsSupportPart::kjsSupportPart(TQObject *parent, const char *name, const TQStrin
setXMLFile("kdevkjssupport.rc");
- m_build = new TDEAction( i18n("&Run"), "exec",Key_F9,this, TQT_SLOT(slotRun()),actionCollection(), "build_execute" );
+ m_build = new TDEAction( i18n("&Run"), "application-x-executable",Key_F9,this, TQT_SLOT(slotRun()),actionCollection(), "build_execute" );
m_build->setStatusText( i18n("Test the active script.") );
kdDebug() << "Creating kjssupport Part" << endl;
diff --git a/languages/perl/perlsupportpart.cpp b/languages/perl/perlsupportpart.cpp
index c8379c77..3236e72e 100644
--- a/languages/perl/perlsupportpart.cpp
+++ b/languages/perl/perlsupportpart.cpp
@@ -62,17 +62,17 @@ PerlSupportPart::PerlSupportPart(TQObject *parent, const char *name, const TQStr
TDEAction *action;
- action = new TDEAction( i18n("Execute Main Program"), "exec", 0,
+ action = new TDEAction( i18n("Execute Main Program"), "application-x-executable", 0,
this, TQT_SLOT(slotExecute()),
actionCollection(), "build_exec" );
action->setToolTip( i18n("Runs the Perl program") );
- action = new TDEAction( i18n("Execute String..."), "exec", 0,
+ action = new TDEAction( i18n("Execute String..."), "application-x-executable", 0,
this, TQT_SLOT(slotExecuteString()),
actionCollection(), "build_execstring" );
action->setToolTip( i18n("Executes a string as Perl code") );
- action = new TDEAction( i18n("Start Perl Interpreter"), "exec", 0,
+ action = new TDEAction( i18n("Start Perl Interpreter"), "application-x-executable", 0,
this, TQT_SLOT(slotStartInterpreter()),
actionCollection(), "build_runinterpreter" );
action->setToolTip( i18n("Starts the Perl interpreter without a program") );
diff --git a/languages/php/phpsupportpart.cpp b/languages/php/phpsupportpart.cpp
index 5b3668de..c189cc5c 100644
--- a/languages/php/phpsupportpart.cpp
+++ b/languages/php/phpsupportpart.cpp
@@ -88,7 +88,7 @@ PHPSupportPart::PHPSupportPart(TQObject *parent, const char *name, const TQStrin
TDEAction *action;
- action = new TDEAction( i18n("&Run"), "exec",Key_F9,
+ action = new TDEAction( i18n("&Run"), "application-x-executable",Key_F9,
this, TQT_SLOT(slotRun()),
actionCollection(), "build_execute" );
action->setToolTip(i18n("Run"));
diff --git a/languages/python/pythonsupportpart.cpp b/languages/python/pythonsupportpart.cpp
index 1f2c7b87..092f40b9 100644
--- a/languages/python/pythonsupportpart.cpp
+++ b/languages/python/pythonsupportpart.cpp
@@ -60,19 +60,19 @@ PythonSupportPart::PythonSupportPart(TQObject *parent, const char *name, const T
TDEAction *action;
- action = new TDEAction( i18n("Execute Program"), "exec", 0,
+ action = new TDEAction( i18n("Execute Program"), "application-x-executable", 0,
this, TQT_SLOT(slotExecute()),
actionCollection(), "build_exec" );
action->setToolTip( i18n("Execute program") );
action->setWhatsThis(i18n("<b>Execute program</b><p>Runs the Python program."));
- action = new TDEAction( i18n("Execute String..."), "exec", 0,
+ action = new TDEAction( i18n("Execute String..."), "application-x-executable", 0,
this, TQT_SLOT(slotExecuteString()),
actionCollection(), "build_execstring" );
action->setToolTip( i18n("Execute string") );
action->setWhatsThis(i18n("<b>Execute String</b><p>Executes a string as Python code."));
- action = new TDEAction( i18n("Start Python Interpreter"), "exec", 0,
+ action = new TDEAction( i18n("Start Python Interpreter"), "application-x-executable", 0,
this, TQT_SLOT(slotStartInterpreter()),
actionCollection(), "build_runinterpreter" );
action->setToolTip( i18n("Start Python interpreter") );
diff --git a/languages/ruby/rubysupport_part.cpp b/languages/ruby/rubysupport_part.cpp
index e1745a02..0b4627b9 100644
--- a/languages/ruby/rubysupport_part.cpp
+++ b/languages/ruby/rubysupport_part.cpp
@@ -48,14 +48,14 @@ RubySupportPart::RubySupportPart(TQObject *parent, const char *name, const TQStr
setXMLFile("kdevrubysupport.rc");
TDEAction *action;
- action = new TDEAction( i18n("&Run"), "exec", SHIFT + Key_F9,
+ action = new TDEAction( i18n("&Run"), "application-x-executable", SHIFT + Key_F9,
this, TQT_SLOT(slotRun()),
actionCollection(), "build_execute" );
action->setToolTip(i18n("Run"));
action->setWhatsThis(i18n("<b>Run</b><p>Starts an application."));
action->setIcon("ruby_run.png");
- action = new TDEAction( i18n("Run Test Under Cursor"), "exec", ALT + Key_F9,
+ action = new TDEAction( i18n("Run Test Under Cursor"), "application-x-executable", ALT + Key_F9,
this, TQT_SLOT(slotRunTestUnderCursor()),
actionCollection(), "build_execute_test_function" );
action->setToolTip(i18n("Run Test Under Cursor"));
diff --git a/languages/sql/sqlsupport_part.cpp b/languages/sql/sqlsupport_part.cpp
index 12335214..e676cee5 100644
--- a/languages/sql/sqlsupport_part.cpp
+++ b/languages/sql/sqlsupport_part.cpp
@@ -40,7 +40,7 @@ SQLSupportPart::SQLSupportPart( TQObject *parent, const char *name, const TQStri
setXMLFile( "kdevsqlsupport.rc" );
TDEAction *action;
- action = new TDEAction( i18n( "&Run" ), "exec", Key_F9, this, TQT_SLOT( slotRun() ), actionCollection(), "build_execute" );
+ action = new TDEAction( i18n( "&Run" ), "application-x-executable", Key_F9, this, TQT_SLOT( slotRun() ), actionCollection(), "build_execute" );
action->setToolTip(i18n("Run"));
action->setWhatsThis(i18n("<b>Run</b><p>Executes a SQL script."));