-
Seth Nickell authored
2001-08-14 Seth Nickell <snickell@stanford.edu> Load filesystems from an XML file rather than hardcoding the various attributes and behaviors. Some properties, such as for CDDA and NFS, are still hardcoded because they require actual code. This also makes it easier to add new filesystems. * libnautilus-private/filesystem-attributes.xml Filesystem description file. * libnautilus-private/Makefile.am: Add filesystem-attribute.xml to the build. * libnautilus-private/nautilus-volume-monitor.c: (mount_volume_prepend_filesystem): Don't try to detect filesystem strings and associate them with an enumeration type...nix the enumeration altogether since its not compatible with dynamically loading the filesystems. (get_xml_path), (load_filesystem_attributes_table) Functions for reading in filesystem-attribute.xml and loading the various filesystems into a hashtable. (nautilus_volume_monitor_initialize) Read in the fi...
64ff8e32