GtkFileChooser thoughts



Hi all,

I've got a mild problem with 2.4's fantastic new FileChooser. I have a plain GTK install (ie. no Gnome) and when I try to show a FileChooser I get the message:
Gtk-WARNING **: Could not find the icon 'gnome-fs-home'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
       http://freedesktop.org/Software/icon-theme/releases

I installed this package (v 0.5) and now the dialog pops up, but I don't see any icons in the widget. Is there anything else I need to turn on?
Here's what I see (in case it's unclear):

 http://cima.ng-london.org.uk/~john/desktop42.png

Also, it would be great to have some way of attaching an icon and label to a shortcut folder.
My application has a system-wide data directory (containing useful data files, like convolution masks and so on) and a per-user data directory. I add both as shortcuts with gtk_file_chooser_add_shortcut_folder(), but of course they both appear as "data" in the list.

Maybe there should be something like gboolean gtk_file_chooser_add_shortcut_folder_stock( GtkFileChooser *chooser, const char *folder,
 const char *stock_id,
 GError **error )

Should I open a bugzilla entry for this?

John



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]