[Sugar-devel] [PATCH] add view source for Sugar toolkit
Walter Bender
walter.bender at gmail.com
Mon Aug 1 20:59:54 EDT 2011
On Mon, Aug 1, 2011 at 5:02 PM, Walter Bender <walter.bender at gmail.com> wrote:
> On Mon, Aug 1, 2011 at 4:44 PM, Simon Schampijer <simon at schampijer.de> wrote:
>> On 07/04/2011 07:07 PM, Walter Bender wrote:
>>>
>>> From: Walter Bender<walter.bender at gmail.com>
>>>
>>> As per feedback from the design team, I have added a radio button to view
>>> the source of the Sugar toolkit to the standard view source toolbar. Since
>>> we are restricting ourselves to just the Sugar toolkit, the patch is a
>>> simplified version of an earlier patch, which had appended multiple paths
>>> to
>>> the treeview.
>>
>> Thanks for the patch. It would be good to select a file by default - in the
>> source view for the activity we do show the activity.py file by default -
>> you could do similar in the toolkit view.
>
> Perhaps activity/activity.py?
I almost have this working. I can get activity.py to appear when you
first select Sugar source, but I am just ignorant of TreeView, so I
cannot seem to get the TreeView to have the proper branch selected.
Any clues?
Also, I have the title switching now between the Activity name and
Sugar Toolkit. Nice enhancement. Thanks for the suggestion.
See attached.
-walter
>
> -walter
>
>>
>> The title of the dialog should maybe change accordingly when switching
>> between the toolkit view and the activity view of the source.
>>
>> Regards,
>> Simon
>> _______________________________________________
>> Sugar-devel mailing list
>> Sugar-devel at lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>
>
>
>
> --
> Walter Bender
> Sugar Labs
> http://www.sugarlabs.org
>
--
Walter Bender
Sugar Labs
http://www.sugarlabs.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: viewsource.py
Type: application/octet-stream
Size: 20138 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20110801/95c287c9/attachment-0001.obj>
More information about the Sugar-devel
mailing list