From 5f4f5e427b04f0c4b5921cb845041dfc4f1ac566 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 22 Oct 2014 01:27:31 -0500 Subject: Bring most mimetypes in line with XDG specifications. The following are not fully verified in source as of this commit due to ubiquity: html, empty, info, make, man, misc, source, unknown --- quanta/src/quanta_init.cpp | 2 +- quanta/src/quantaview.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'quanta/src') diff --git a/quanta/src/quanta_init.cpp b/quanta/src/quanta_init.cpp index 804a4ecd..37202d2f 100644 --- a/quanta/src/quanta_init.cpp +++ b/quanta/src/quanta_init.cpp @@ -188,7 +188,7 @@ void QuantaInit::initQuanta() addToolTreeView(StructTreeView::ref(), i18n("Document Structure"), BarIcon("view_sidetree"), 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_problemsOutputView = addToolTreeView(m_quanta->m_problemOutput, i18n("Problems"), SmallIcon("application-vnd.tde.info"), KDockWidget::DockBottom); m_quanta->m_annotationOutputView = addToolTreeView(m_quanta->m_annotationOutput, i18n("Annotations"), SmallIcon("stamp"), KDockWidget::DockBottom); // Restore the dock layout diff --git a/quanta/src/quantaview.cpp b/quanta/src/quantaview.cpp index 158ba563..6d3ef86f 100644 --- a/quanta/src/quantaview.cpp +++ b/quanta/src/quantaview.cpp @@ -289,7 +289,7 @@ void QuantaView::updateTab() // try to set the icon from mimetype TQIconSet mimeIcon (KMimeType::pixmapForURL(m_document->url(), 0, TDEIcon::Small)); if (mimeIcon.isNull()) - mimeIcon = TQIconSet(SmallIcon("document")); + mimeIcon = TQIconSet(SmallIcon("text-x-generic")); TQString urlStr = QExtFileInfo::shortName(m_document->url().path()); if (m_document->isModified()) { -- cgit v1.2.1