2013/4/4 Manuel Quiñones ma...@laptop.org:
2013/4/4 Flavio Danesse fdane...@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
TestCase:
- open an activity like Browse, Read, Log (not Write, is a special case)
- bring up the frame
- drag things to the left side panel of the frame (images, links, or selected
text)
The elements should be added to the clipboard which is inside the
panel. They should have the proper icon
TestCase:
- open an activity like Browse, Read, Log (not Write, is a special case)
- bring up the frame
- drag things to the left side panel of the frame (images, links, or selected
text)
The elements should be added to the clipboard which is inside the
panel. They should have the proper icon
Manuel, I think this code can be improved and greatly simplified if instead
of using things like:
selection_data.split uris = ('\ n')
use:
uris = selection.get_uris ()
Instead of using:
selection.get_data (* args, ** kwargs)
You can work directly on selection and get the data type with:
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.
2013/4/4 Flavio Danesse fdane...@gmail.com
Manuel, I think this code can
2013/4/4 Flavio Danesse fdane...@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
6 matches
Mail list logo