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

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/applets/trash
From:       Davide Bettio <davide.bettio () kdemail ! net>
Date:       2009-04-03 13:58:05
Message-ID: 1238767085.929549.4866.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 948672 by bettio:

I should restore the icon when the special operation is done.


 M  +5 -2      trash.cpp  


--- trunk/KDE/kdebase/workspace/plasma/applets/trash/trash.cpp #948671:948672
@@ -367,8 +367,11 @@
                 }
             }
 
-             //finally, try to trash a file
-            if (!specialOperation) {
+            if (specialOperation) {
+                updateIcon();
+
+            //finally, try to trash a file
+            }else{
                 KIO::Job* job = KIO::trash(urls);
                 job->ui()->setWindow(0);
                 job->ui()->setAutoErrorHandlingEnabled(true);
[prev in list] [next in list] [prev in thread] [next in thread] 

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