From 5595896b65965d3fee43e6a22921c0e7d5201f8d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 13 Oct 2014 12:46:50 -0500 Subject: [PATCH] Bring undo, redo, find, and revert icons into XDG compliance --- src/basketlistview.cpp | 2 +- src/bnpview.cpp | 2 +- src/filter.cpp | 2 +- src/noteedit.cpp | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/basketlistview.cpp b/src/basketlistview.cpp index 5c46688..37554eb 100644 --- a/src/basketlistview.cpp +++ b/src/basketlistview.cpp @@ -580,7 +580,7 @@ void BasketListViewItem::paintCell(TQPainter *painter, const TQColorGroup &/*col effectiveWidth += countPixmap.width() + MARGIN; } if (showLoadingIcon) { - TQPixmap icon = kapp->iconLoader()->loadIcon("find", TDEIcon::NoGroup, 16, TDEIcon::DefaultState, 0L, /*canReturnNull=*/false); + TQPixmap icon = kapp->iconLoader()->loadIcon("edit-find", TDEIcon::NoGroup, 16, TDEIcon::DefaultState, 0L, /*canReturnNull=*/false); thePainter.drawPixmap(effectiveWidth, 0, icon); effectiveWidth += BASKET_ICON_SIZE + MARGIN; } diff --git a/src/bnpview.cpp b/src/bnpview.cpp index 4c3f771..bec6f75 100644 --- a/src/bnpview.cpp +++ b/src/bnpview.cpp @@ -597,7 +597,7 @@ void BNPView::setupActions() actionCollection(), "edit_filter" ); connect( m_actShowFilter, TQT_SIGNAL(toggled(bool)), TQT_TQOBJECT(this), TQT_SLOT(showHideFilterBar(bool)) ); - m_actFilterAllBaskets = new TDEToggleAction( i18n("Filter all &Baskets"), "find", "Ctrl+Shift+F", + m_actFilterAllBaskets = new TDEToggleAction( i18n("Filter all &Baskets"), "edit-find", "Ctrl+Shift+F", actionCollection(), "edit_filter_all_baskets" ); connect( m_actFilterAllBaskets, TQT_SIGNAL(toggled(bool)), TQT_TQOBJECT(this), TQT_SLOT(toggleFilterAllBaskets(bool)) ); diff --git a/src/filter.cpp b/src/filter.cpp index db9afbc..9701e4e 100644 --- a/src/filter.cpp +++ b/src/filter.cpp @@ -52,7 +52,7 @@ FilterBar::FilterBar(TQWidget *parent, const char *name) // Create every widgets: TQIconSet resetIconSet = kapp->iconLoader()->loadIconSet("locationbar_erase", TDEIcon::Toolbar); - TQIconSet inAllIconSet = kapp->iconLoader()->loadIconSet("find", TDEIcon::Toolbar); + TQIconSet inAllIconSet = kapp->iconLoader()->loadIconSet("edit-find", TDEIcon::Toolbar); m_resetButton = new TQToolButton(this); diff --git a/src/noteedit.cpp b/src/noteedit.cpp index 677da57..22b382d 100644 --- a/src/noteedit.cpp +++ b/src/noteedit.cpp @@ -837,8 +837,8 @@ void InlineEditors::initToolBars(TDEActionCollection *actionCollection) richTextRight->setExclusiveGroup("rt_justify"); richTextJustified->setExclusiveGroup("rt_justify"); - richTextUndo = new TDEAction( i18n("Undo"), "undo", "", actionCollection, "richtext_undo"); - richTextRedo = new TDEAction( i18n("Redo"), "redo", "", actionCollection, "richtext_redo"); + richTextUndo = new TDEAction( i18n("Undo"), "edit-undo", "", actionCollection, "richtext_undo"); + richTextRedo = new TDEAction( i18n("Redo"), "edit-redo", "", actionCollection, "richtext_redo"); disableRichTextToolBar(); }