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

List:       kde-commits
Subject:    =?utf-8?q?=5Bkdelibs=5D_solid/solid/backends/udisks=3A_Really_wa?=
From:       Ozan Çağlayan <ozan () pardus ! org ! tr>
Date:       2011-04-21 7:36:18
Message-ID: 20110421073618.431FCA60A4 () git ! kde ! org
[Download RAW message or body]

Git commit bdf3cc8ac328e907e88de36d698bba6a7f0e2c7f by Ozan Çağlayan.
Committed on 21/04/2011 at 09:33.
Pushed by ozan into branch 'master'.

Really wait until the slave filesystem is really mounted

When you first attempt to mount an encrypted container and provide
the passphrase, udisks doesn't correctly wait for mount completion.

Fix this so that dolphin points the mounted slave filesystem instead
of the Home directory.

REVIEW:101160
BUG:271156
FIXED-IN:4.6.3

M  +6    -3    solid/solid/backends/udisks/udisksstorageaccess.cpp     

http://commits.kde.org/kdelibs/bdf3cc8ac328e907e88de36d698bba6a7f0e2c7f

diff --git a/solid/solid/backends/udisks/udisksstorageaccess.cpp \
b/solid/solid/backends/udisks/udisksstorageaccess.cpp index 7dd25ea..ef177fe 100644
--- a/solid/solid/backends/udisks/udisksstorageaccess.cpp
+++ b/solid/solid/backends/udisks/udisksstorageaccess.cpp
@@ -149,10 +149,13 @@ void UDisksStorageAccess::slotDBusReply( const QDBusMessage & \
                reply )
         if (isLuksDevice() && !isAccessible())  // unlocked device, now mount it
             mount();
 
-        m_setupInProgress = false;
-        m_device->broadcastActionDone("setup");
+        else // Don't broadcast setupDone unless the setup is really done. (Fix \
kde#271156) +        {
+            m_setupInProgress = false;
+            m_device->broadcastActionDone("setup");
 
-        slotChanged();
+            slotChanged();
+        }
     }
     else if (m_teardownInProgress)
     {


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

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