On Mon, Aug 1, 2011 at 5:02 PM, Walter Bender <[email protected]> wrote: > On Mon, Aug 1, 2011 at 4:44 PM, Simon Schampijer <[email protected]> wrote: >> On 07/04/2011 07:07 PM, Walter Bender wrote: >>> >>> From: Walter Bender<[email protected]> >>> >>> 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 >> [email protected] >> http://lists.sugarlabs.org/listinfo/sugar-devel >> > > > > -- > Walter Bender > Sugar Labs > http://www.sugarlabs.org > -- Walter Bender Sugar Labs http://www.sugarlabs.org
viewsource.py
Description: Binary data
_______________________________________________ Sugar-devel mailing list [email protected] http://lists.sugarlabs.org/listinfo/sugar-devel

