Re: Want to add "Eject" menu item to "File" menu



It would be nice to have all the relevant desktop context menus
available in the file manager view of the desktop directory as well
(empty trash, unmount etc.).

One thing you could do would be to move a bunch of the desktop mounting
code from fm-desktop-icon-view.c to fm-directory-view.c see bug 43475. 
It's currently assigned to me (I was going to try to do it when i get
back from europe), but if you want to take a crack at it go right ahead.

dave

On Wed, 2002-06-26 at 11:11, Rajeev Karale wrote:
> Hi All,
> 
> I am trying to add optional menu item "Eject" to "File" menu of nautilus file manager window.. 
> Here file manager window is nautilus window for mounted media.
> Nauitlus as of now won't support removable volume specific menu items in file manager window.
> This can be done if I will be able to decide that window is volume specific window.
> This functionality is provided for trash, where they will check whether window is trash window.
> NAUTILUS_IS_TRASH_DIRECTORY().
> nautilus presently don't have code to decide whether window is a volume window.
> I need to add following files to nautilus.
> nautilus-volume-directoty.c
> nautilus-volume-directory.h
> And provide macro like NAUTILUS_IS_VOLUME_DIRECTORY() to decide whether window is volume window.
> 
> Please let me know if I am wrong, or if some one knows simple way to do it.
> 
> thanx,
> Rajeev.




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