Re: GtkFileChooser API work
- From: Federico Mena Quintero <federico ximian com>
- To: Alexander Larsson <alexl redhat com>
- Cc: gtk dev list <gtk-devel-list gnome org>, "desktop-devel-list gnome org" <desktop-devel-list gnome org>
- Subject: Re: GtkFileChooser API work
- Date: Tue, 02 Sep 2003 12:49:08 -0500
On Tue, 2003-09-02 at 02:57, Alexander Larsson wrote:
> Regarding the immutable part here and removable volumes in particular.
> This should probably be at least partly synchronized with the nautilus
> tree sidebar. At some point this means sharing the code that does volume
> scanning and mount detection. This part of nautilus is horrible, and
> could do well with a rewrite, perhaps pushing it to a lower level so
> that gnome apps could use it in the file selector.
GtkFileSystemGnomeVFS should go in gnome-vfs or perhaps in
libgnome[ui]. The GtkFileSystem interface already has methods for
list_roots, get_root_info, roots_changed, so the VFS-specific
implementation could handle those in the same way as Nautilus. In any
case it does make sense to have all that volume-handling stuff in
gnome-vfs.
Plain GTK+ apps would be using the GtkFileSystemUnix implementation.
Right now it only returns "/" in list_roots, but I guess we could steal
some code from (say) the Midnight Commander to read the information from
mtab et al. MC is GPL, though...
Federico
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]