[Sugar-devel] [PATCH] add copy bundle capability to view source

Walter Bender walter.bender at gmail.com
Wed May 25 18:06:01 EDT 2011


Attached is a first pass at a patch to enable copying activities from the
View Source palette. The basic idea is quite simple: a submenu with a copy
button has been added to the view bundle source radio button that will make
a copy of an activity into $HOME/Activities. The name of the copy is
My[ExistingActivityName]. I needed to also create a new activity bundle_id,
which is [ExistingBundleID]_my_copy.

Seems to work.

Feedback about both the patch and the general idea welcome and appreciated.

regards.

-walter

(PS: Note that there is already a copy to Journal button for
activity-specific source code on the view activity source radio button.)

-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20110525/1ad2efcd/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-added-support-for-copying-bundle-fixed-bundle_name-p.patch
Type: application/octet-stream
Size: 6677 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20110525/1ad2efcd/attachment.obj>


More information about the Sugar-devel mailing list