[Lots of cruft snipped] On Wed, 2004-03-03 at 13:43, Ben Maurer wrote: > I am also not sure what context someone would use this API in. The only reason I can > think of for using it is some sort of file browser. However, this is an application > i would generally think of as platform bound anyways. It would be a bit easier to > comment about the correct behavior with a use case. I am not sure what a file > browser shoudl display. On the one hand, having a single root, /, is pretty correct > (nautilus does it), however, a root for each drive would be more user friendly. One > problem is that on Windows, the drive logical name and the physical drive are very > much associated, you say "open up the C drive" or "copy that to the A drive". So, in > Windows, it is user friendly to display "D:\" as the name of the cdrom. However, a > user would *not* say "open up /mnt/cdrom" I think showing /mnt/cdrom as a root would > actually be wrong.
Using this api to build a crossplatform filebrowser is not only possible, its extremely easy, and i have done it before and tested it successfully under .net and mono. You just drop as a root node in a treestore each path returned from the GetLogicalDrives and use that. --Todd _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
