Re: Changes in Nautilus?



Petr Tomasek wrote:

Hello!

Could someone point me to a (technical) document describing
changes in Nautilus' internals?

Is there some tutorial how thinks like custom right-click-menu
items are handled in the new Nautilus?
Right click menu items are handled via the Nautilus extension interface. If you want a simple example extension look here:

http://cvs.gnome.org/viewcvs/gnome-control-center/vfs-methods/fontilus/fontilus-context-menu.c?view=markup

This is compiled into a shared library and installed into the Nautilus extensions directory. Every time you right click on a file (or files), Nautilus queries all the extension objects implementing the NautilusMenuProvider interface to see if they want to add some entries.

James.



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