On Sun, May 25, 2008 at 12:14 PM, Simon Schampijer <[EMAIL PROTECTED]> wrote: > hey tomeu, > > thanks for starting to taggle this. > > What is the general plan - at the moment this copies the link to the > clipboard. For example for an image I imagine that this copies the image to > the clipboard that I can use it in another activity. I guess we want to > provide both of the functionality copy the link location and copying the > data.
Yes, the goal is to provide all the options specified here by Eben: http://dev.laptop.org/ticket/2903 I'm working now on copy image to the clipboard. > Are there constants we can use instead of '2' and 'a' ? > if event.button != 2: > return > target = event.target > if target.tagName.lower() == 'a': Not that I know :/ > Don't need those in palette.py > import logging > import xpcom > from xpcom import components Thanks, will push. Tomeu _______________________________________________ Sugar mailing list [email protected] http://lists.laptop.org/listinfo/sugar

