From e12d7923a7bef0cbc7a5a702ffec61f5c25a30e6 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 12 Oct 2014 17:52:19 -0500 Subject: Bring stop, lock, exit, and run icons into XDG compliance --- quanta/src/document.cpp | 2 +- quanta/src/quanta_init.cpp | 2 +- quanta/treeviews/scripttreeview.cpp | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'quanta') diff --git a/quanta/src/document.cpp b/quanta/src/document.cpp index a2f316e8..c5530dae 100644 --- a/quanta/src/document.cpp +++ b/quanta/src/document.cpp @@ -177,7 +177,7 @@ Document::Document(KTextEditor::Document *doc, KTextEditor::MarkInterfaceExtension* iface = dynamic_cast(m_doc); if (iface) { - iface->setPixmap(KTextEditor::MarkInterface::markType07, SmallIcon("stop")); + iface->setPixmap(KTextEditor::MarkInterface::markType07, SmallIcon("process-stop")); iface->setPixmap(KTextEditor::MarkInterface::markType02, SmallIcon("debug_breakpoint")); iface->setDescription(KTextEditor::MarkInterface::markType02, i18n("Breakpoint")); iface->setPixmap(KTextEditor::MarkInterface::markType05, SmallIcon("debug_currentline")); diff --git a/quanta/src/quanta_init.cpp b/quanta/src/quanta_init.cpp index 303bb870..31d41806 100644 --- a/quanta/src/quanta_init.cpp +++ b/quanta/src/quanta_init.cpp @@ -186,7 +186,7 @@ void QuantaInit::initQuanta() addToolTreeView(ProjectTreeView::ref(), i18n("Project"), UserIcon("ptab"), KDockWidget::DockLeft); addToolTreeView(TemplatesTreeView::ref(), i18n("Templates"), UserIcon("ttab"), KDockWidget::DockLeft); addToolTreeView(StructTreeView::ref(), i18n("Document Structure"), BarIcon("view_sidetree"), KDockWidget::DockLeft); - addToolTreeView(m_quanta->scriptTab, i18n("Scripts"), BarIcon("run"), KDockWidget::DockLeft); + addToolTreeView(m_quanta->scriptTab, i18n("Scripts"), BarIcon("system-run"), KDockWidget::DockLeft); m_quanta->m_messageOutputView = addToolTreeView(m_quanta->m_messageOutput, i18n("Messages"), SmallIcon("openterm"), KDockWidget::DockBottom); m_quanta->m_problemsOutputView = addToolTreeView(m_quanta->m_problemOutput, i18n("Problems"), SmallIcon("info"), KDockWidget::DockBottom); m_quanta->m_annotationOutputView = addToolTreeView(m_quanta->m_annotationOutput, i18n("Annotations"), SmallIcon("stamp"), KDockWidget::DockBottom); diff --git a/quanta/treeviews/scripttreeview.cpp b/quanta/treeviews/scripttreeview.cpp index be80b953..6a4e02a7 100644 --- a/quanta/treeviews/scripttreeview.cpp +++ b/quanta/treeviews/scripttreeview.cpp @@ -69,13 +69,13 @@ ScriptTreeView::ScriptTreeView(TQWidget *parent, const char *name ) url.setPath(qConfig.globalDataDir + resourceDir + "scripts/"); BaseTreeBranch *m_globalDir; - m_globalDir = new BaseTreeBranch(this, url, i18n("Global Scripts"), SmallIcon("run"), true); + m_globalDir = new BaseTreeBranch(this, url, i18n("Global Scripts"), SmallIcon("system-run"), true); addBranch(m_globalDir); url.setPath(locateLocal("data", resourceDir + "scripts/")); BaseTreeBranch *m_localDir; - m_localDir = new BaseTreeBranch(this, url, i18n("Local Scripts"), SmallIcon("run"), true); + m_localDir = new BaseTreeBranch(this, url, i18n("Local Scripts"), SmallIcon("system-run"), true); addBranch(m_localDir); // here you define which files should not be visible for the users @@ -85,7 +85,7 @@ ScriptTreeView::ScriptTreeView(TQWidget *parent, const char *name ) m_fileMenu = new TDEPopupMenu(this); m_fileMenu->insertItem(SmallIcon("info"), i18n("&Description"), this, TQT_SLOT(slotProperties())); - m_fileMenu->insertItem(SmallIcon("run"), i18n("&Run Script"), this, TQT_SLOT(slotRun())); + m_fileMenu->insertItem(SmallIcon("system-run"), i18n("&Run Script"), this, TQT_SLOT(slotRun())); m_fileMenu->insertSeparator(); m_fileMenu->insertItem(i18n("&Edit Script"), this, TQT_SLOT(slotEditScript())); m_fileMenu->insertItem(i18n("Edit in &Quanta"), this, TQT_SLOT(slotEditInQuanta())); -- cgit v1.2.1