GNOME Bugzilla – Bug 653184
Add device_auto_mount_hint device property
Last modified: 2011-07-08 16:23:08 UTC
freedesktop.org bug for reference: https://bugs.freedesktop.org/show_bug.cgi?id=38535 The attached patch adds the device_auto_mount_hint member to the DeviceProperties struct and populates this member in the collect_props() function. The purpose is to propagate the UDISKS_DEVICE_AUTOMOUNT_HINT udisks property to gvfs.
Created attachment 190459 [details] [review] Patch 1/2 - src/gdu/gdu-device.h
Created attachment 190460 [details] [review] Patch 2/2 - src/gdu/gdu-device.c
Review of attachment 190459 [details] [review]: The latest version of udisks invalidates this patch. any instance of auto_mount_hint needs to be changed to automount_hint.
Review of attachment 190460 [details] [review]: The latest version of udisks invalidates this patch. any instance of auto_mount_hint needs to be changed to automount_hint.
As I said in the other bug, it needs to be one patch, not two. Also, should return "const char*" to convey the returned string should not be modified. I committed this instead: http://git.gnome.org/browse/gnome-disk-utility/commit/?id=7dde5bc75a1d96be9510ce1e98d28f9d33520919
This is in the just-released gnome-disk-utility 3.0.1. For the gvfs bits, you want to depend on this version.
You actually want 3.0.2 since the 3.0.1 release was broken in.. interesting ways.