Re: [Patch] Mount window closes on unmount if opened from Places or Desktop



On Thu, 2010-03-04 at 17:04 +1300, Luke Symes wrote:
> One approach could be to add an "is_unmount_slot" property to
> NautilusNavigationWindowSlot, and then set to TRUE before doing an
> unmount.

I would probably set it on the window rather than the slot, so you don't
touch the window you start the unmount in at all. I don't think the user
expects that.

>  However, I tried coding this up and could do it for sidebar
> unmounts/ejects but not for slot context menu unmounts. This would
> mean if you unmounted from the Desktop icon, the same problem of slots
> closing appears. This is a problem because you can get this context
> menu in the mount folder itself, and clicking it will close that
> folder.
> Any thoughts?

I don't see why it would be hard to set a property on the window from
the context menu callback. Can you explain why that is a problem?

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
       alexl redhat com            alexander larsson gmail com 
He's a jaded moralistic firefighter possessed of the uncanny powers of an 
insect. She's a psychotic goth lawyer prone to fits of savage, blood-crazed 
rage. They fight crime! 



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