[Sugar-devel] [PATCH sugar] Fix drag and drop to the clipboard - SL #3811

Manuel Quiñones manuq at laptop.org
Tue Aug 21 06:41:11 EDT 2012


2012/8/21 Simon (erikos) Schampijer <simon at laptop.org>:
> Hi Manuel,
>
> great you found a fix for this one!
>
>
> On 08/21/2012 07:03 AM, Manuel Quiñones wrote:
>>
>> 2012/8/21 Manuel Quiñones <manuq at laptop.org>:
>>>
>>> gtk.gdk.DragContext.get_source_widget returns None if the drag is not
>>> made within the same application.
>>
>>
>> pygtk documentation for reference:
>>
>> http://www.pygtk.org/docs/pygtk/class-gdkdragcontext.html#method-gdkdragcontext--get-source-widget
>
>
> Yes, please add this reference when committing.

Thanks for the review, pushed.

>
>> This is enough test to say that
>>>
>>> it's not an internal drag.  The gtk.Viewport comparison is left as
>>> fallback.
>
>
> Makes sense.
>
>>> Signed-off-by: Manuel Quiñones <manuq at laptop.org>
>
>
> Acked-by: Simon Schampijer <simon at laptop.org>
>
> While testing your patch I came across #3818, #3819, #3820 :)

I happen to like busy Tuesdays :P

-- 
.. manuq ..


More information about the Sugar-devel mailing list