mime = (const gchar *)gnome_vfs_mime_type_from_name( (const char*)fullname);
if (mime!=NULL) {
icon = (const gchar *)gnome_vfs_mime_get_icon(mime);
if (icon!=NULL) {
path = gnome_vfs_icon_path_from_filename(icon);
}
}
It doesn't work as icon is usually without extension or
anything... :-?
lintar (pid:443): Gtk-WARNING **: Invalid input string
lintar (pid:443): ** WARNING **: Invalid UTF8 string passed to pango_layout_set_text()
Do I need to use 'g_locale_to_utf8()' after calling gettext ???? :-?
| Last Modified: Mon, 05th Mar, 2001. Send any comments to jrh@gps.tsc.upc.es. |
|