gvfs r1655 - in trunk: . hal
- From: alexl svn gnome org
- To: svn-commits-list gnome org
- Subject: gvfs r1655 - in trunk: . hal
- Date: Fri, 14 Mar 2008 10:30:34 +0000 (GMT)
Author: alexl
Date: Fri Mar 14 10:30:34 2008
New Revision: 1655
URL: http://svn.gnome.org/viewvc/gvfs?rev=1655&view=rev
Log:
2008-03-14 Alexander Larsson <alexl redhat com>
* hal/ghalvolume.c (g_hal_volume_new):
Respect storage.automount_enabled_hint hal property (#520736)
Patch from Martin Pitt
Modified:
trunk/ChangeLog
trunk/hal/ghalvolume.c
Modified: trunk/hal/ghalvolume.c
==============================================================================
--- trunk/hal/ghalvolume.c (original)
+++ trunk/hal/ghalvolume.c Fri Mar 14 10:30:34 2008
@@ -568,6 +568,11 @@
return NULL;
}
+ if (drive_device &&
+ hal_device_has_property (drive_device, "storage.automount_enabled_hint") &&
+ !hal_device_get_property_bool (drive_device, "storage.automount_enabled_hint"))
+ ignore_automount = TRUE;
+
volume = g_object_new (G_TYPE_HAL_VOLUME, NULL);
volume->volume_monitor = volume_monitor;
g_object_add_weak_pointer (G_OBJECT (volume_monitor), (gpointer) &(volume->volume_monitor));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]