Re: [Sugar-devel] [Feature] Start an activity from another, activity

2015-04-23 Thread James Cameron
On Thu, Apr 23, 2015 at 04:12:24PM +0200, Tony Anderson wrote: > Browse (as most browsers) downloads any mime_type it does not know > how to display. I modified Browse not to display pdf (should be done > in the Read activity). > > The Read activity does not display plain text (e.g. Rachel Gutenber

Re: [Sugar-devel] [Feature] Start an activity from another, activity

2015-04-23 Thread Gonzalo Odiard
On Thu, Apr 23, 2015 at 11:12 AM, Tony Anderson wrote: > Hi, Gonzalo > > Browse (as most browsers) downloads any mime_type it does not know how to > display. I modified Browse not to display pdf (should be done in the Read > activity). > The Read activity does not display plain text (e.g. Rachel

Re: [Sugar-devel] [Feature] Start an activity from another, activity

2015-04-23 Thread Tony Anderson
Hi, Gonzalo Browse (as most browsers) downloads any mime_type it does not know how to display. I modified Browse not to display pdf (should be done in the Read activity). The Read activity does not display plain text (e.g. Rachel Gutenberg collection - Great Books). This is something that prob

Re: [Sugar-devel] [Feature] Start an activity from another, activity

2015-04-23 Thread Gonzalo Odiard
Hi Tony, This feature try implement that in a smarter way. Here a example: * You download something in Browse. * Browse can't manage every possible file. We include a pdf viewer, but by example, we can't show a epub file in the browser or a piece TurtleArt code. * Right now Browse save the download

Re: [Sugar-devel] [Feature] Start an activity from another, activity

2015-04-23 Thread Tony Anderson
Hi, Gonzalo This capability has been included in Sugar from day one in the form of sugar-launch. Sugar launch can be executed by any activity using the Python subprocess module. I have added support for the options -o and -u. The first launches with a specified (Journal) object_id. The second