After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 345855 - Should have a sort function in GtkFileSystem
Should have a sort function in GtkFileSystem
Status: RESOLVED OBSOLETE
Product: libgnomeui
Classification: Deprecated
Component: file-chooser
2.8.x
Other Linux
: Normal enhancement
: ---
Assigned To: Federico Mena Quintero
Federico Mena Quintero
Depends on:
Blocks:
 
 
Reported: 2006-06-25 08:26 UTC by Xavier Claessens
Modified: 2009-05-02 09:00 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
what it looks like now (34.95 KB, image/png)
2006-06-25 08:34 UTC, Xavier Claessens
Details

Description Xavier Claessens 2006-06-25 08:26:14 UTC
Hi,

Volume's icons in the GtkFileChooser are not sorted the same way nautilus'places sidebar does. Nautilus uses gnome_vfs_volume_compare() to sort volume list. As I understand GTK we can have GnomeVFS as backend for GtkFileSystem and we should add a binding for the _compare function and then use it in the file chooser so we get volumes in the same order than nautilus and other GNOME applications.

Last patches to gnomeVFS and nautilus fixed a couple of bugs and now nautilus and gtk displays the same volumes/drives list when using gnomeVFS backend in gtk but filechooser displays the list in another order which isn't intuitive for the user.
Comment 1 Xavier Claessens 2006-06-25 08:34:58 UTC
Created attachment 67965 [details]
what it looks like now

We can see GtkFileChooser (from gedit 2.14) on the left and nautilus (2.14) on the right. So items are the same but not the order.
Comment 2 Federico Mena Quintero 2007-01-25 20:37:27 UTC
Moving to libgnomeui.  GtkFileSystemGnomeVFS should give us the volumes in the correct order.
Comment 3 Kjartan Maraas 2009-05-02 09:00:02 UTC
There is no file chooser backend in libgnomeui any more.