[sugar] [PATCH] Move clipboard service into the shell

Simon Schampijer simon
Tue Sep 16 08:41:41 EDT 2008


Tomeu Vizoso wrote:
> Hi all,
> 
> there has been some discussion about the convenience of sticking to
> the same clipboard mechanisms used in other X11-based desktops, so the
> current clipboard service based on D-Bus doesn't make much sense any
> more.
> 
> Moving its implementation to the shell process will reduce overall
> code size, latency in UI operations and memory usage.
> 
> Also plan to move next the activity registry inside the shell, so
> we'll be able to drop the sugar-shell-service process altogether.
> 
> Regards,
> 
> Tomeu

General approach looks good to me.

Please make sure to remove the src/view/Shell.py part from the patch.

Classes should derive from object by default (ContextMap, 
ClipboardObject, Format).

clipboardmenu.py
jobject.metadata['title'] = _('Clipboard object: %s.') % name (don't 
think we need a dot here)

r+,
    Simon



More information about the Sugar-devel mailing list