[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdenetwork/kget
From:       Stephan Binner <binner () kde ! org>
Date:       2005-05-06 12:24:11
Message-ID: 1115382251.544908.4107.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 410008 by binner:

Having a delete icon which looks like trash is plain wrong
warningContinueCancel* for delete confirmations


 D             trunk/KDE/kdenetwork/kget/icons/cr22-action-tool_delete.png  
 M  +7 -7      trunk/KDE/kdenetwork/kget/kmainwidget.cpp  
 M  +1 -1      trunk/KDE/kdenetwork/kget/transfer.cpp  


--- trunk/KDE/kdenetwork/kget/kmainwidget.cpp #410007:410008
@@ -352,7 +352,7 @@
 #endif
     m_paResume = new KAction(i18n("&Resume"),"tool_resume", 0, this, \
                SLOT(slotResumeCurrent()), coll, "resume");
     m_paPause = new KAction(i18n("&Pause"),"tool_pause", 0, this, \
                SLOT(slotPauseCurrent()), coll, "pause");
-    m_paDelete = new KAction(i18n("&Delete"),"tool_delete", Qt::Key_Delete, this, \
SLOT(slotDeleteCurrent()), coll, "delete"); +    m_paDelete = new \
KAction(i18n("&Delete"),"editdelete", Qt::Key_Delete, this, \
                SLOT(slotDeleteCurrent()), coll, "delete");
     m_paRestart = new KAction(i18n("Re&start"),"tool_restart", 0, this, \
SLOT(slotRestartCurrent()), coll, "restart");  
     m_paQueue = new KRadioAction(i18n("&Queue"),"tool_queue", 0, this, \
SLOT(slotQueueCurrent()), coll, "queue"); @@ -800,19 +800,19 @@
     {
         if ( selectedItems.count() > 1 )
         {
-            if (KMessageBox::questionYesNoList(this, i18n("Are you sure you want to \
delete these transfers?"), +            if \
(KMessageBox::warningContinueCancelList(this, i18n("Are you sure you want to delete \
                these transfers?"),
                                                itemNames, i18n("Question"),
-                                               KStdGuiItem::yes(),KStdGuiItem::no(),
+                                               KStdGuiItem::del(),
                                                QString("multiple_delete_transfer"))
-                != KMessageBox::Yes)
+                != KMessageBox::Continue)
                 return; // keep 'em
         }
         else
         {
-            if (KMessageBox::questionYesNo(this, i18n("Are you sure you want to \
                delete this transfer?"),
-                                           i18n("Question"), \
KStdGuiItem::yes(),KStdGuiItem::no(), +            if \
(KMessageBox::warningContinueCancel(this, i18n("Are you sure you want to delete this \
transfer?"), +                                           i18n("Question"), \
KStdGuiItem::del(),  QString("delete_transfer"))
-                != KMessageBox::Yes)
+                != KMessageBox::Continue)
                 return;
         }
     }
--- trunk/KDE/kdenetwork/kget/transfer.cpp #410007:410008
@@ -127,7 +127,7 @@
 
     m_paPause = new KAction(i18n("&Pause"), "tool_pause", 0, this, \
SLOT(slotRequestPause()), this, "pause");  
-    m_paDelete = new KAction(i18n("&Delete"), "tool_delete", 0, this, \
SLOT(slotRequestRemove()), this, "delete"); +    m_paDelete = new \
KAction(i18n("&Delete"), "editdelete", 0, this, SLOT(slotRequestRemove()), this, \
"delete");  
     m_paRestart = new KAction(i18n("Re&start"), "tool_restart", 0, this, \
SLOT(slotRequestRestart()), this, "restart");  


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic