2005-07-29 Jeffrey Stedfast * configure.in: Removed the --enable-submount option. Bumped version to 1.3.4 * src/manager.c (hal_device_added): Check info.callouts.ad for hald-block-subfs to see if submount will handle mounting this volume. (hal_property_modified): Only record mounted volumes that were in our mount queue (e.g. don't record them if submount mounted them or they were mounted manually by the user) - allows us to get rid of the nasty #ifdef's. (unmount_all): Remove #ifdef's, no longer needed. (mount_all): Check for subfs flags so that we don't mount anything that subfs plans on handling. (sigterm_iochn_data): Always call unmount_all() (gvm_die): Same. (main): Always call mount_all(). (gvm_device_mount): Take care of adding the udi to the mount table here to remove the need to do it manually every place we are called. (gvm_cdrom_policy): Remove #ifdefs for subfs, use our hal flag check instead. (gvm_run_command): Fixed - we can't get the exit status of the run program, we were getting the pid and using that as the exit status - oops. Instead, return TRUE or FALSE based on whether or not g_spawn_async() worked. (gvm_device_mount): Fixed to handle run_command's new return values. (gvm_device_unmount): Same. 2005-07-29 Jeffrey Stedfast * src/manager.c (gvm_udi_is_camera): We can't check the volume udi for the camera property, we have to check the physical device udi. (gvm_udi_is_ptp_camera): Check that the string property, camera.access_method, is "ptp" instead of checking the bool property, camera.libgphoto2_support which doesn't exist. 2005-07-29 Jeffrey Stedfast * src/manager.c (gvm_udi_is_camera): No longer takes a check_gphoto2 arg - now just a basic camera check. (gvm_udi_is_ptp_camera): Checks to see if the camera is a PTP camera (checks that the camera.libgphoto2_support property exists and is set to TRUE - if unset, return whether or not the device is a camera). (hal_device_added): Use gvm_udi_is_ptp_camera() instead. 2005-07-22 Jeffrey Stedfast * src/gvm.h: Added more variables. * src/manager.c (gvm_udi_is_printer): Removed. (hal_device_added): Do the printer capability query here instead, since it's so simple to do. Also query for input devices and run commands if appropriate. * src/properties.c: Added scanners, mice, keyboards, tablets, and video-cams to the table.