Branch: master

85c5c9e3 2014-10-13 12:46:57 Timothy Pearson
Bring undo, redo, find, and revert icons into XDG compliance
M digikam/digikam/digikamview.cpp
M digikam/digikam/searchfolderview.cpp
M digikam/digikam/timelinefolderview.cpp
M digikam/utilities/imageeditor/editor/editorwindow.cpp
M digikam/utilities/setup/setupcamera.cpp
diff --git a/digikam/digikam/digikamview.cpp b/digikam/digikam/digikamview.cpp
index 33fd19f..48dc1d2 100644
--- a/digikam/digikam/digikamview.cpp
+++ b/digikam/digikam/digikamview.cpp
@@ -216,7 +216,7 @@
     d->leftSideBar->appendTab(d->dateFolderView, SmallIcon("date"), i18n("Calendar"));
     d->leftSideBar->appendTab(d->tagBox, SmallIcon("tag"), i18n("Tags"));
     d->leftSideBar->appendTab(d->timeLineView, SmallIcon("clock"), i18n("Timeline"));
-    d->leftSideBar->appendTab(d->searchBox, SmallIcon("find"), i18n("Searches"));
+    d->leftSideBar->appendTab(d->searchBox, SmallIcon("edit-find"), i18n("Searches"));
 
     // To the right.
 
diff --git a/digikam/digikam/searchfolderview.cpp b/digikam/digikam/searchfolderview.cpp
index 9591da7..af5c893 100644
--- a/digikam/digikam/searchfolderview.cpp
+++ b/digikam/digikam/searchfolderview.cpp
@@ -345,7 +345,7 @@
     if (type == TQString("datesearch")) return;
 
     SearchFolderItem* item = new SearchFolderItem(this, album);
-    item->setPixmap(0, SmallIcon("find", AlbumSettings::instance()->getDefaultTreeIconSize()));
+    item->setPixmap(0, SmallIcon("edit-find", AlbumSettings::instance()->getDefaultTreeIconSize()));
     m_lastAddedItem = item;
 }
 
@@ -400,7 +400,7 @@
         TDEPopupMenu popmenu(this);
         popmenu.insertTitle(SmallIcon("digikam"), i18n("My Searches"));
         popmenu.insertItem(SmallIcon("filefind"), i18n("New Simple Search..."), 10);
-        popmenu.insertItem(SmallIcon("find"),     i18n("New Advanced Search..."), 11);
+        popmenu.insertItem(SmallIcon("edit-find"),     i18n("New Advanced Search..."), 11);
 
         switch (popmenu.exec(TQCursor::pos()))
         {
@@ -427,7 +427,7 @@
         popmenu.insertItem(SmallIcon("filefind"), i18n("Edit Search..."), 10);
 
         if ( sItem->album()->isSimple() )
-            popmenu.insertItem(SmallIcon("find"), i18n("Edit as Advanced Search..."), 11);
+            popmenu.insertItem(SmallIcon("edit-find"), i18n("Edit as Advanced Search..."), 11);
 
         popmenu.insertSeparator(-1);
         popmenu.insertItem(SmallIcon("editdelete"), i18n("Delete Search"), 12);
diff --git a/digikam/digikam/timelinefolderview.cpp b/digikam/digikam/timelinefolderview.cpp
index 9fd1926..4028bc3 100644
--- a/digikam/digikam/timelinefolderview.cpp
+++ b/digikam/digikam/timelinefolderview.cpp
@@ -205,7 +205,7 @@
     if (name == currentTimeLineSearchName()) return;
 
     TimeLineFolderItem* item = new TimeLineFolderItem(this, salbum);
-    item->setPixmap(0, SmallIcon("find", AlbumSettings::instance()->getDefaultTreeIconSize()));
+    item->setPixmap(0, SmallIcon("edit-find", AlbumSettings::instance()->getDefaultTreeIconSize()));
 }
 
 void TimeLineFolderView::slotAlbumDeleted(Album* a)
diff --git a/digikam/utilities/imageeditor/editor/editorwindow.cpp b/digikam/utilities/imageeditor/editor/editorwindow.cpp
index 8e4c5f4..8c2a122 100644
--- a/digikam/utilities/imageeditor/editor/editorwindow.cpp
+++ b/digikam/utilities/imageeditor/editor/editorwindow.cpp
@@ -306,7 +306,7 @@
 
     d->copyAction->setEnabled(false);
 
-    m_undoAction = new TDEToolBarPopupAction(i18n("Undo"), "undo",
+    m_undoAction = new TDEToolBarPopupAction(i18n("Undo"), "edit-undo",
                                            TDEStdAccel::shortcut(TDEStdAccel::Undo),
                                            TQT_TQOBJECT(m_canvas), TQT_SLOT(slotUndo()),
                                            actionCollection(), "editorwindow_undo");
@@ -319,7 +319,7 @@
 
     m_undoAction->setEnabled(false);
 
-    m_redoAction = new TDEToolBarPopupAction(i18n("Redo"), "redo",
+    m_redoAction = new TDEToolBarPopupAction(i18n("Redo"), "edit-redo",
                                            TDEStdAccel::shortcut(TDEStdAccel::Redo),
                                            TQT_TQOBJECT(m_canvas), TQT_SLOT(slotRedo()),
                                            actionCollection(), "editorwindow_redo");
diff --git a/digikam/utilities/setup/setupcamera.cpp b/digikam/utilities/setup/setupcamera.cpp
index f3f275c..214a1df 100644
--- a/digikam/utilities/setup/setupcamera.cpp
+++ b/digikam/utilities/setup/setupcamera.cpp
@@ -107,7 +107,7 @@
     d->editButton->setText( i18n( "&Edit..." ) );
     d->editButton->setIconSet(SmallIcon("configure"));
     d->autoDetectButton->setText( i18n( "Auto-&Detect" ) );
-    d->autoDetectButton->setIconSet(SmallIcon("find"));
+    d->autoDetectButton->setIconSet(SmallIcon("edit-find"));
     d->removeButton->setEnabled(false);
     d->editButton->setEnabled(false);