Sunil Negi wrote: > Either way is not working for me... Any pointers? I believe due to some changes it's currently not possible to use full paths. But using the short name should work, try using gtk-about and see if that works. When you install your own icons into say hicolor you'll probably want to update the icon cache using gtk-update-icon-cache. For testing purposes I personally install icons into ~/.icons/hicolor. > > Also, if I just pass the name of the icon, say "myicon", how does > nautilus locate the correct image to display? Where does it search? > > I am afraid the icon display mantra is a bit vague to me... I haven't taken a look at precisely how Nautilus does it, but it's most likely using gtk_icon_theme_load_icon[1] (or the other relevant functions). The abstract definition of this function is detailed in the freedesktop.org Icon Theme specification: References: [1] [2] http://library.gnome.org/devel/gtk/unstable/GtkIconTheme.html#gtk-icon-theme-load-icon [3] http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html#icon_lookup Best regards, Bruce
Attachment:
signature.asc
Description: OpenPGP digital signature