Re: [Utopia] Fix g-b-m mount_all()



this has actually already been fixed in post 1.3.2 releases - I don't have access to upload them to ftp.gnome.org so I've been putting them at http://primates.ximian.com/~fejj/gvm/

Jeff

Martin Pitt wrote:

Hi!

There is a logic error in gnome-volume-manager's mount_all() function
that breaks automounting at startup:

--- gnome-volume-manager-1.3.2-old/src/manager.c        2005-08-23 18:54:37.000000000 +0200
+++ gnome-volume-manager-1.3.2/src/manager.c    2005-08-23 18:54:47.000000000 +0200
@@ -1721,7 +1721,7 @@
                if (!do_mount) continue;

               /* mount the device */
-               if (!(dev = libhal_device_get_property_string (ctx, udi, "block.device", &error))) {
+               if ((dev = libhal_device_get_property_string (ctx, udi, "block.device", &error))) {
                       dbg ("mount_all: mounting %s\n", dev);
                       if (is_encrypted)
                           gvm_device_mount_encrypted (udi);

Thanks,

Martin
------------------------------------------------------------------------

_______________________________________________
utopia-list mailing list
utopia-list gnome org
http://mail.gnome.org/mailman/listinfo/utopia-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]