[sugar] [PATCH] Add a simple palette for links with an option to	copy to the clipboard
    Simon Schampijer 
    simon
       
    Sun May 25 06:14:02 EDT 2008
    
    
  
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.
Are there constants we can use instead of '2' and 'a' ?
if event.button != 2:
     return
target = event.target
if target.tagName.lower() == 'a':
Don't need those in palette.py
import logging
import xpcom 
from xpcom import components
Thanks,
    Simon
Tomeu Vizoso wrote:
> Hi,
> 
> first step at providing palettes for content in Browse (#2903).
> 
> Thanks,
> 
> Tomeu
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Sugar mailing list
> Sugar at lists.laptop.org
> http://lists.laptop.org/listinfo/sugar
    
    
More information about the Sugar-devel
mailing list