Branch: master

ffd6b5f8 2014-10-13 12:50:32 Timothy Pearson
Bring undo, redo, find, and revert icons into XDG compliance
M kolourpaint/kpcommandhistory.cpp
M libkscan/kscanslider.cpp
diff --git a/kolourpaint/kpcommandhistory.cpp b/kolourpaint/kpcommandhistory.cpp
index 118f228..a30f028 100644
--- a/kolourpaint/kpcommandhistory.cpp
+++ b/kolourpaint/kpcommandhistory.cpp
@@ -257,13 +257,13 @@
     : d (new kpCommandHistoryBasePrivate ())
 {
     m_actionUndo = new TDEToolBarPopupAction (undoActionText (),
-        TQString::fromLatin1 ("undo"),
+        TQString::fromLatin1 ("edit-undo"),
         TDEStdAccel::shortcut (TDEStdAccel::Undo),
         this, TQT_SLOT (undo ()),
         ac, KStdAction::name (KStdAction::Undo));
 
     m_actionRedo = new TDEToolBarPopupAction (redoActionText (),
-        TQString::fromLatin1 ("redo"),
+        TQString::fromLatin1 ("edit-redo"),
         TDEStdAccel::shortcut (TDEStdAccel::Redo),
         this, TQT_SLOT (redo ()),
         ac, KStdAction::name (KStdAction::Redo));
diff --git a/libkscan/kscanslider.cpp b/libkscan/kscanslider.cpp
index 001c597..6d64f21 100644
--- a/libkscan/kscanslider.cpp
+++ b/libkscan/kscanslider.cpp
@@ -46,7 +46,7 @@
     {
        TDEIconLoader *loader = TDEGlobal::iconLoader();
        m_stdButt = new TQPushButton( this );
-       m_stdButt->setPixmap( loader->loadIcon( "undo",TDEIcon::Small ));
+       m_stdButt->setPixmap( loader->loadIcon( "edit-undo",TDEIcon::Small ));
 
        /* connect the button click to setting the value */
        connect( m_stdButt, TQT_SIGNAL(clicked()),