Branch: master

5595896b 2014-10-13 12:46:50 Timothy Pearson
Bring undo, redo, find, and revert icons into XDG compliance
M src/basketlistview.cpp
M src/bnpview.cpp
M src/filter.cpp
M src/noteedit.cpp
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 @@
 		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 @@
 										  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 @@
 
 	// 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 @@
 	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();
 }