[Sugar-devel] [PATCH] Bring back dragging of elements from the activities to the frame clipboard - SL #3819

Manuel Quiñones manuq at laptop.org
Mon Apr 8 11:16:51 EDT 2013


2013/4/4 Manuel Quiñones <manuq at laptop.org>:
> 2013/4/4 Flavio Danesse <fdanesse at gmail.com>:
>> Actually if you for example:
>>
>> selection.get_uris (* args, ** kwargs)
>>
>> will return a list of uris in selection, so if no uris it will return an
>> empty list, then do not even need to know what type of data is in selection.
>
> Excellent Flavio!  I have to try it.  This will simplify the code a
> lot as you say.

I confirmed get_uris() made the trick.  In fact one py file was fixed
a while ago in 2007, but not the others.

--
.. manuq ..


More information about the Sugar-devel mailing list