Re: [PATCH] Clear icon container drag state when removing icon



On Fri, 2005-09-30 at 20:20 +0200, Christian Neumair wrote:
> The attached icon fixes bug 158196 [1] which occurs when you're moving
> the mouse but the drag threshold is not yet reached and the icon you're
> trying to drag is removed from the container. The attached patch clears
> the drag state in that case. Note that this will not break drags that
> are already in progress, they fail silently like before - since the
> NautilusIconContainer drag information unlike the NautilusIconDnd drag
> state just refer to details->drag_icon and details->drag_state, which
> are not queried any longer after the "drag-begin" emission.

Thanks, commited. I also removed some dead code in clear_drag_state().

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's an all-American crooked ex-con on his last day in the job. She's a 
provocative renegade socialite fleeing from a Satanic cult. They fight crime! 




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