[Wine-patches] [eterwine] mountmgr: Add automount disabling support for UDisks2 case.

Alexander Morozov amorozov на etersoft.ru
Пт Июн 22 18:56:22 MSK 2012


---
 dlls/mountmgr.sys/dbus.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/dlls/mountmgr.sys/dbus.c b/dlls/mountmgr.sys/dbus.c
index b88da19..0776597 100644
--- a/dlls/mountmgr.sys/dbus.c
+++ b/dlls/mountmgr.sys/dbus.c
@@ -430,6 +430,9 @@ static void udisks2_add_device( const char *udi, DBusMessageIter *dict, DBusMess
     int removable = FALSE;
     enum device_type drive_type = DEVICE_UNKNOWN;
 
+    if (automount_disabled())
+        return;
+
     while ((iface = udisks_next_dict_entry( block, &iter )))
     {
         if (!strcmp( iface, "org.freedesktop.UDisks2.Filesystem" ))
-- 
1.7.10.5



Подробная информация о списке рассылки Wine-patches