Fix exec icon location and bring it into XDG compliance

pull/1/head
Timothy Pearson 10 years ago
parent 5773501d56
commit ca46c5047f

@ -56,7 +56,7 @@ AdaProjectPart::AdaProjectPart(TQObject *parent, const char *name, const TQStrin
action = new TDEAction( i18n("&Build Project"), "make_tdevelop", Key_F8,
this, TQT_SLOT(slotBuild()),
actionCollection(), "build_build" );
action = new TDEAction( i18n("Execute Program"), "exec", 0,
action = new TDEAction( i18n("Execute Program"), "application-x-executable", 0,
this, TQT_SLOT(slotExecute()),
actionCollection(), "build_execute" );

@ -222,7 +222,7 @@ void AutoDetailsView::initActions()
buildTargetAction->setEnabled( false );
TQToolTip::add( m_button5, tr2i18n( "Execute Target..."));
executeTargetAction = new AutoToolsAction( i18n( "Execute Target..." ), "exec", 0,
executeTargetAction = new AutoToolsAction( i18n( "Execute Target..." ), "application-x-executable", 0,
TQT_TQOBJECT(this), TQT_SLOT( slotExecuteTarget() ), actions,
"execute target" );
executeTargetAction->setWhatsThis(i18n("<b>Execute target</b><p>Executes the target "

@ -213,7 +213,7 @@ AutoProjectPart::AutoProjectPart(TQObject *parent, const char *name, const TQStr
TQDomDocument &dom = *projectDom();
if (!DomUtil::readBoolEntry(dom, "/kdevautoproject/run/disable_default")) {
//ok we handle the execute in this kpart
action = new TDEAction( i18n("Execute Program"), "exec", SHIFT+Key_F9,
action = new TDEAction( i18n("Execute Program"), "application-x-executable", SHIFT+Key_F9,
this, TQT_SLOT(slotExecute()),
actionCollection(), "build_execute" );
action->setToolTip(i18n("Execute program"));

@ -137,7 +137,7 @@ CustomProjectPart::CustomProjectPart( TQObject *parent, const char *name, const
"Environment variables and make arguments can be specified "
"in the project settings dialog, <b>Build Options</b> tab." ) );
action = new TDEAction( i18n( "Execute Program" ), "exec", 0,
action = new TDEAction( i18n( "Execute Program" ), "application-x-executable", 0,
this, TQT_SLOT( slotExecute() ),
actionCollection(), "build_execute" );
action->setToolTip( i18n( "Execute program" ) );

@ -65,7 +65,7 @@ PascalProjectPart::PascalProjectPart(TQObject *parent, const char *name, const T
action->setToolTip(i18n("Build project"));
action->setWhatsThis(i18n("<b>Build project</b><p>Runs the compiler on a main source file of the project. "
"The compiler and the main source file can be set in project settings, <b>Pascal Compiler</b> tab."));
action = new TDEAction( i18n("Execute Program"), "exec", 0,
action = new TDEAction( i18n("Execute Program"), "application-x-executable", 0,
this, TQT_SLOT(slotExecute()),
actionCollection(), "build_execute" );
action->setToolTip(i18n("Execute program"));

@ -140,7 +140,7 @@ TrollProjectPart::TrollProjectPart(TQObject *parent, const char *name, const TQS
"project directory.<br>Environment variables and make arguments can be specified "
"in the project settings dialog, <b>Make Options</b> tab."));
action = new TDEAction( i18n("Execute Main Program"), "exec", SHIFT+Key_F9,
action = new TDEAction( i18n("Execute Main Program"), "application-x-executable", SHIFT+Key_F9,
this, TQT_SLOT(slotBuildAndExecuteProject()),
actionCollection(), "build_execute_project" );
action->setToolTip(i18n("Execute main program"));
@ -191,7 +191,7 @@ TrollProjectPart::TrollProjectPart(TQObject *parent, const char *name, const TQS
"Environment variables and make arguments can be specified "
"in the project settings dialog, <b>Make Options</b> tab."));
action = new TDEAction( i18n("Execute Subproject"), "exec", 0,
action = new TDEAction( i18n("Execute Subproject"), "application-x-executable", 0,
this, TQT_SLOT(slotBuildAndExecuteTarget()),
actionCollection(), "build_execute_target" );
action->setToolTip(i18n("Execute subproject"));

@ -137,7 +137,7 @@ TrollProjectWidget::TrollProjectWidget( TrollProjectPart *part )
// run
executeProjectButton = new TQToolButton ( projectTools, "Run button" );
executeProjectButton->setPixmap ( SmallIcon ( "exec" ) );
executeProjectButton->setPixmap ( SmallIcon ( "application-x-executable" ) );
executeProjectButton->setSizePolicy ( TQSizePolicy ( ( TQSizePolicy::SizeType ) 0, ( TQSizePolicy::SizeType ) 0, 0, 0, executeProjectButton->sizePolicy().hasHeightForWidth() ) );
executeProjectButton->setEnabled ( true );
TQToolTip::add( executeProjectButton, i18n( "Execute main program" ) );
@ -255,7 +255,7 @@ TrollProjectWidget::TrollProjectWidget( TrollProjectPart *part )
// run
executeTargetButton = new TQToolButton ( fileTools, "Run sp button" );
executeTargetButton->setPixmap ( SmallIcon ( "exec" ) );
executeTargetButton->setPixmap ( SmallIcon ( "application-x-executable" ) );
executeTargetButton->setSizePolicy ( TQSizePolicy ( ( TQSizePolicy::SizeType ) 0, ( TQSizePolicy::SizeType ) 0, 0, 0, executeTargetButton->sizePolicy().hasHeightForWidth() ) );
executeTargetButton->setEnabled ( true );
TQToolTip::add( executeTargetButton, i18n( "Execute subproject" ) );

@ -30,7 +30,7 @@ VisualBoyAdvancePart::VisualBoyAdvancePart(TQObject *parent, const char *name, c
setXMLFile("kdevpart_visualboyadvance.rc");
TDEAction *action;
action = new TDEAction( i18n("Execute Program"), "exec", Key_F9,
action = new TDEAction( i18n("Execute Program"), "application-x-executable", Key_F9,
this, TQT_SLOT(slotExecute()),
actionCollection(), "build_execute" );

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

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

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

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

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

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

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

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

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

@ -76,7 +76,7 @@ GenericName[tg]=Тирезаи хориҷ кардани гузориш
GenericName[tr]=Uygulama Çıktı Görünümü
GenericName[zh_CN]=应用程序输出查看器
GenericName[zh_TW]=應用程式輸出檢視
Icon=exec
Icon=application-x-executable
X-TDE-ServiceTypes=TDevelop/AppFrontend
X-TDE-Library=libkdevappview
X-TDevelop-Version=5

@ -40,7 +40,7 @@ MakeViewPart::MakeViewPart(TQObject *parent, const char *name, const TQStringLis
m_dcop = new KDevMakeFrontendIface(this);
m_widget = new MakeWidget(this);
m_widget->setIcon( SmallIcon("exec") );
m_widget->setIcon( SmallIcon("application-x-executable") );
m_widget->setCaption(i18n("Messages Output"));
TQWhatsThis::add(m_widget, i18n("<b>Messages output</b><p>"
"The messages window shows the output of the compiler and "

Loading…
Cancel
Save