From d06bb8b517afe956b59aed99122f80d3809498a0 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 12 Oct 2014 17:52:16 -0500 Subject: [PATCH] Bring stop, lock, exit, and run icons into XDG compliance --- languages/ada/problemreporter.cpp | 2 +- languages/cpp/debugger/debuggerpart.cpp | 4 ++-- languages/cpp/problemreporter.cpp | 4 ++-- languages/java/problemreporter.cpp | 2 +- languages/pascal/problemreporter.cpp | 2 +- languages/php/phperrorview.cpp | 2 +- languages/ruby/debugger/debuggerpart.cpp | 4 ++-- lib/widgets/kdevhtmlpart.cpp | 2 +- parts/filelist/filelist_item.cpp | 2 +- src/mainwindowshare.cpp | 2 +- src/simplemainwindow.cpp | 2 +- 11 files changed, 14 insertions(+), 14 deletions(-) diff --git a/languages/ada/problemreporter.cpp b/languages/ada/problemreporter.cpp index 6bac0253..1e97ad7c 100644 --- a/languages/ada/problemreporter.cpp +++ b/languages/ada/problemreporter.cpp @@ -266,7 +266,7 @@ void ProblemReporter::slotPartAdded( KParts::Part* part ) if( !iface ) return; - iface->setPixmap( KTextEditor::MarkInterface::markType07, SmallIcon("stop") ); + iface->setPixmap( KTextEditor::MarkInterface::markType07, SmallIcon("process-stop") ); } void ProblemReporter::slotPartRemoved( KParts::Part* part ) diff --git a/languages/cpp/debugger/debuggerpart.cpp b/languages/cpp/debugger/debuggerpart.cpp index 3cae3762..380e7ac5 100644 --- a/languages/cpp/debugger/debuggerpart.cpp +++ b/languages/cpp/debugger/debuggerpart.cpp @@ -111,7 +111,7 @@ DebuggerPart::DebuggerPart( TQObject *parent, const char *name, const TQStringLi "breakpoint item allows you to change " "the breakpoint and will take you " "to the source in the editor window.")); - gdbBreakpointWidget->setIcon( SmallIcon("stop") ); + gdbBreakpointWidget->setIcon( SmallIcon("process-stop") ); mainWindow()->embedOutputView(gdbBreakpointWidget, i18n("Breakpoints"), i18n("Debugger breakpoints")); variableWidget = new VariableWidget( controller, @@ -207,7 +207,7 @@ DebuggerPart::DebuggerPart( TQObject *parent, const char *name, const TQStringLi action->setEnabled(false); - action = new TDEAction(i18n("Sto&p"), "stop", 0, + action = new TDEAction(i18n("Sto&p"), "process-stop", 0, this, TQT_SLOT(slotStop()), actionCollection(), "debug_stop"); action->setToolTip( i18n("Stop debugger") ); diff --git a/languages/cpp/problemreporter.cpp b/languages/cpp/problemreporter.cpp index eed7a5b6..c4143d03 100644 --- a/languages/cpp/problemreporter.cpp +++ b/languages/cpp/problemreporter.cpp @@ -162,7 +162,7 @@ m_markIface( 0 ) { if ( KTextEditor::MarkInterfaceExtension* iface = dynamic_cast( it.current() ) ) { - iface->setPixmap( KTextEditor::MarkInterface::markType07, SmallIcon("stop") ); + iface->setPixmap( KTextEditor::MarkInterface::markType07, SmallIcon("process-stop") ); } ++it; } @@ -404,7 +404,7 @@ void ProblemReporter::slotPartAdded( KParts::Part* part ) if( !iface ) return; - iface->setPixmap( KTextEditor::MarkInterface::markType07, SmallIcon("stop") ); + iface->setPixmap( KTextEditor::MarkInterface::markType07, SmallIcon("process-stop") ); } TQString ProblemReporter::levelToString( int level ) const diff --git a/languages/java/problemreporter.cpp b/languages/java/problemreporter.cpp index 4d4f47af..e1fc4174 100644 --- a/languages/java/problemreporter.cpp +++ b/languages/java/problemreporter.cpp @@ -250,7 +250,7 @@ void ProblemReporter::slotPartAdded( KParts::Part* part ) if( !iface ) return; - iface->setPixmap( KTextEditor::MarkInterface::markType07, SmallIcon("stop") ); + iface->setPixmap( KTextEditor::MarkInterface::markType07, SmallIcon("process-stop") ); } void ProblemReporter::slotPartRemoved( KParts::Part* part ) diff --git a/languages/pascal/problemreporter.cpp b/languages/pascal/problemreporter.cpp index 2b477063..d0aaf01a 100644 --- a/languages/pascal/problemreporter.cpp +++ b/languages/pascal/problemreporter.cpp @@ -273,7 +273,7 @@ void ProblemReporter::slotPartAdded( KParts::Part* part ) if( !iface ) return; - iface->setPixmap( KTextEditor::MarkInterface::markType07, SmallIcon("stop") ); + iface->setPixmap( KTextEditor::MarkInterface::markType07, SmallIcon("process-stop") ); } void ProblemReporter::slotPartRemoved( KParts::Part* part ) diff --git a/languages/php/phperrorview.cpp b/languages/php/phperrorview.cpp index 9af14b0d..2ee5bbf3 100644 --- a/languages/php/phperrorview.cpp +++ b/languages/php/phperrorview.cpp @@ -356,7 +356,7 @@ void PHPErrorView::slotPartAdded( KParts::Part* part ) if ( !iface ) return; - iface->setPixmap( KTextEditor::MarkInterface::markType07, SmallIcon("stop") ); + iface->setPixmap( KTextEditor::MarkInterface::markType07, SmallIcon("process-stop") ); } void PHPErrorView::slotPartRemoved( KParts::Part* part ) diff --git a/languages/ruby/debugger/debuggerpart.cpp b/languages/ruby/debugger/debuggerpart.cpp index 35e6a2d2..b3f91d75 100644 --- a/languages/ruby/debugger/debuggerpart.cpp +++ b/languages/ruby/debugger/debuggerpart.cpp @@ -115,7 +115,7 @@ RubyDebuggerPart::RubyDebuggerPart( TQObject *parent, const char *name, const TQ "breakpoint item allows you to change " "the breakpoint and will take you " "to the source in the editor window.")); - rdbBreakpointWidget->setIcon( SmallIcon("stop") ); + rdbBreakpointWidget->setIcon( SmallIcon("process-stop") ); mainWindow()->embedOutputView(rdbBreakpointWidget, i18n("Breakpoints"), i18n("Debugger breakpoints")); framestackWidget = new FramestackWidget( 0, "rdbFramestackWidget" ); @@ -170,7 +170,7 @@ RubyDebuggerPart::RubyDebuggerPart( TQObject *parent, const char *name, const TQ "while it is running, in order to get information " "about variables, frame stack, and so on.") ); - action = new TDEAction(i18n("Sto&p"), "stop", 0, + action = new TDEAction(i18n("Sto&p"), "process-stop", 0, this, TQT_SLOT(slotStop()), actionCollection(), "debug_stop"); action->setToolTip( i18n("Stop debugger") ); diff --git a/lib/widgets/kdevhtmlpart.cpp b/lib/widgets/kdevhtmlpart.cpp index 76697cfa..8d5ebd7d 100644 --- a/lib/widgets/kdevhtmlpart.cpp +++ b/lib/widgets/kdevhtmlpart.cpp @@ -35,7 +35,7 @@ KDevHTMLPart::KDevHTMLPart() reloadAction = new TDEAction( i18n( "Reload" ), "reload", 0, this, TQT_SLOT( slotReload() ), actions, "doc_reload" ); reloadAction->setWhatsThis(i18n("Reload

Reloads the current document.")); - stopAction = new TDEAction( i18n( "Stop" ), "stop", 0, + stopAction = new TDEAction( i18n( "Stop" ), "process-stop", 0, this, TQT_SLOT( slotStop() ), actions, "doc_stop" ); stopAction->setWhatsThis(i18n("Stop

Stops the loading of current document.")); duplicateAction = new TDEAction( i18n( "Duplicate Tab" ), "window_new", 0, diff --git a/parts/filelist/filelist_item.cpp b/parts/filelist/filelist_item.cpp index 16ab77bd..68eda402 100644 --- a/parts/filelist/filelist_item.cpp +++ b/parts/filelist/filelist_item.cpp @@ -57,7 +57,7 @@ void FileListItem::setState( DocumentState state ) setPixmap( 0, SmallIcon("revert") ); break; case DirtyAndModified: - setPixmap( 0, SmallIcon("stop") ); + setPixmap( 0, SmallIcon("process-stop") ); break; } } diff --git a/src/mainwindowshare.cpp b/src/mainwindowshare.cpp index a06dba14..619b3ab3 100644 --- a/src/mainwindowshare.cpp +++ b/src/mainwindowshare.cpp @@ -109,7 +109,7 @@ void MainWindowShare::createActions() TDEAction* action; - m_stopProcesses = new TDEToolBarPopupAction( i18n( "&Stop" ), "stop", + m_stopProcesses = new TDEToolBarPopupAction( i18n( "&Stop" ), "process-stop", Key_Escape, this, TQT_SLOT(slotStopButtonPressed()), m_pMainWnd->actionCollection(), "stop_processes" ); m_stopProcesses->setToolTip(i18n("Stop")); diff --git a/src/simplemainwindow.cpp b/src/simplemainwindow.cpp index 6ca92ef8..b252bf0b 100644 --- a/src/simplemainwindow.cpp +++ b/src/simplemainwindow.cpp @@ -578,7 +578,7 @@ void SimpleMainWindow::documentChangedState(const KURL &url, DocumentState state widget->setIcon(SmallIcon("revert", isize)); break; case DirtyAndModified: - widget->setIcon(SmallIcon("stop", isize)); + widget->setIcon(SmallIcon("process-stop", isize)); break; } }