<br><br><div class="gmail_quote">On Fri, May 27, 2011 at 6:43 PM, Frederick Grose <span dir="ltr"><<a href="mailto:fgrose@gmail.com">fgrose@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5">On Fri, May 27, 2011 at 3:49 PM, Walter Bender <span dir="ltr"><<a href="mailto:walter.bender@gmail.com" target="_blank">walter.bender@gmail.com</a>></span> wrote:<br></div></div><div class="gmail_quote">
<div><div></div><div class="h5"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

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).<br>



<br>As was the previous patch, this is for soliciting comments and feedback.<br><br>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?)<br>



<br>Currently, I am not showing the contents of /usr/share/sugar but probably should at least show the extensions and data directories.<br><br>I haven't added the copy function yet as I want to think it through a bit more.<br>



<br>FWIW, this patch also contains a fix to #2854.<br><br>-walter<br clear="all"><font color="#888888"><br>-- <br>Walter Bender<br>Sugar Labs<br><a href="http://www.sugarlabs.org" target="_blank">http://www.sugarlabs.org</a></font><br>


</blockquote></div></div><div><br>Consider <a href="https://bugs.sugarlabs.org/ticket/535" target="_blank">https://bugs.sugarlabs.org/ticket/535</a><br><br>Thanks!                  --Fred <br></div></div>
</blockquote></div><br>Thanks for reminding me about this thread.<br><br>-walter<br><br clear="all"><br>-- <br>Walter Bender<br>Sugar Labs<br><a href="http://www.sugarlabs.org">http://www.sugarlabs.org</a><br><br>