How to get NautilusFileInfo, to call nautilus_file_info_add_emblem()?
- From: Jack Bates <ms419 freezone co uk>
- To: nautilus-list gnome org
- Subject: How to get NautilusFileInfo, to call nautilus_file_info_add_emblem()?
- Date: Wed, 26 Aug 2009 11:39:22 -0700
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
$
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]