[Sugar-devel] [PATCH] add view source for sugar libraries

Frederick Grose fgrose at gmail.com
Fri May 27 18:43:06 EDT 2011


On Fri, May 27, 2011 at 3:49 PM, Walter Bender <walter.bender at gmail.com>wrote:

> The attached patch is an extension to a previous patch (although it may be
> able to be applied independently) which enabled copying of source code from
> the View Source palette. This patch adds view source for the Sugar packages
> in .../site-packages/jarabe and .../site-packages/sugar (it picks the first
> instance of site-packages from sys.path).
>
> As was the previous patch, this is for soliciting comments and feedback.
>
> I trigger Sugar View Source from the Journal entry in the Frame. I am open
> to other ideas as to where to put this. (Perhaps we always include it as
> part of the activity View Source in a separate radio button?)
>
> Currently, I am not showing the contents of /usr/share/sugar but probably
> should at least show the extensions and data directories.
>
> I haven't added the copy function yet as I want to think it through a bit
> more.
>
> FWIW, this patch also contains a fix to #2854.
>
> -walter
>
> --
> Walter Bender
> Sugar Labs
> http://www.sugarlabs.org
>

Consider https://bugs.sugarlabs.org/ticket/535

Thanks!                  --Fred
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20110527/25276049/attachment.html>


More information about the Sugar-devel mailing list