How can I add an emblem to a file?

I gather from the Nautilus reference manual that once I have a
NautilusFileInfo object, I can call nautilus_file_info_add_emblem(),
http://library.gnome.org/devel/libnautilus-extension/stable/libnautilus-extension-nautilus-file-info.html#nautilus-file-info-add-emblem

- but I can't figure out how to get a NautilusFileInfo object from a
file path...

I want my program to be able to take a file path and an emblem name, and
add the emblem to the file, e.g.

 $ myprogram /home/me/file/path emblemname
 $ 
-- 
nautilus-list mailing list
nautilus-list@gnome.org
http://mail.gnome.org/mailman/listinfo/nautilus-list

Reply via email to