From 2cd15151863796c2e708f6193f0f8420a6363383 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 22 Oct 2014 01:27:30 -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 --- tdeprint/driveritem.cpp | 2 +- tdeprint/management/kxmlcommanddlg.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tdeprint') diff --git a/tdeprint/driveritem.cpp b/tdeprint/driveritem.cpp index 2a73a07e5..0b66c51d9 100644 --- a/tdeprint/driveritem.cpp +++ b/tdeprint/driveritem.cpp @@ -36,7 +36,7 @@ DriverItem::DriverItem(TQListViewItem *parent, TQListViewItem *after, DrBase *it : TQListViewItem(parent, after), m_item(item), m_conflict(false) { setOpen(depth() < 3); - if (item) setPixmap(0,SmallIcon((item->isOption() ? "document" : "folder"))); + if (item) setPixmap(0,SmallIcon((item->isOption() ? "text-x-generic" : "folder"))); updateText(); } diff --git a/tdeprint/management/kxmlcommanddlg.cpp b/tdeprint/management/kxmlcommanddlg.cpp index 47ba4a2a7..1fe9a51f2 100644 --- a/tdeprint/management/kxmlcommanddlg.cpp +++ b/tdeprint/management/kxmlcommanddlg.cpp @@ -93,7 +93,7 @@ KXmlCommandAdvancedDlg::KXmlCommandAdvancedDlg(TQWidget *parent, const char *nam m_addgrp = new TQToolButton(this); m_addgrp->setIconSet(SmallIconSet("folder")); m_addopt = new TQToolButton(this); - m_addopt->setIconSet(SmallIconSet("document")); + m_addopt->setIconSet(SmallIconSet("text-x-generic")); m_delopt = new TQToolButton(this); m_delopt->setIconSet(SmallIconSet("edit-delete")); m_up = new TQToolButton(this); @@ -424,7 +424,7 @@ void KXmlCommandAdvancedDlg::parseGroupItem(DrGroup *grp, TQListViewItem *parent } oit.current()->setName(namestr); item = new TQListViewItem(parent, item, oit.current()->get("text"), namestr); - item->setPixmap(0, SmallIcon("document")); + item->setPixmap(0, SmallIcon("text-x-generic")); item->setRenameEnabled(0, true); m_opts[namestr] = oit.current(); } @@ -670,7 +670,7 @@ void KXmlCommandAdvancedDlg::slotAddOption() TQListViewItem *item = new TQListViewItem(m_view->currentItem(), i18n("New Option"), ID); item->setRenameEnabled(0, true); - item->setPixmap(0, SmallIcon("document")); + item->setPixmap(0, SmallIcon("text-x-generic")); m_view->ensureItemVisible(item); item->startRename(0); } -- cgit v1.2.3