Re: [Sugar-devel] journal / datastore question

2010-12-01 Thread James Simmons
Erik, I believe that the write_file() is always to the Journal entry you resumed from. You can certainly read and write to any number of other Journal entries, but the write_file() only writes to the resumed entry. It is possible to avoid creating a Journal entry. For instance, Get Internet Arc

Re: [Sugar-devel] [Dextrose] [PATCH v5 sugar] Pulsing icon delayed by 5 seconds or so SL#2080

2010-12-01 Thread Gonzalo Odiard
On Sun, Oct 31, 2010 at 3:44 AM, Martin Dengler wrote: > On Sat, Oct 30, 2010 at 12:09:53AM +0530, Anurag Chowdhury wrote: > > Uptill now what we have gathered from this issue is: > > > > 1) We can improve this issue by using a cache system or cairo operation: > > > > >" I think the problem

[Sugar-devel] journal / datastore question

2010-12-01 Thread Erik Blankinship
Let's say I have a gimp-like activity. I launch the activity and it is "empty". I open an image file via object chooser, save the file back to the datastore. I do this a few times. When I close my activity, I keep a reference to the datastore-id of the last photo I edited so that it will resume

Re: [Sugar-devel] [PATCH] fix journal scan of external media, dev.laptop.org #10140

2010-12-01 Thread James Cameron
On Tue, Nov 30, 2010 at 03:32:57PM +0100, Sascha Silbe wrote: > Excerpts from James Cameron's message of Tue Nov 30 01:14:14 +0100 2010: > > [src/jarabe/journal/model.py] > > > +if self._date_start is not None and self.st_mtime < > > self._date_start: > > +return > > + > > +

Re: [Sugar-devel] getting datastoreObject from read_file call?

2010-12-01 Thread Aleksey Lim
On Wed, Dec 01, 2010 at 01:19:40PM -0500, Erik Blankinship wrote: > When read_file is called by my activity, I get a file path to something that > is probably in my journal. > > How can I get the datastoreObject affiliated with that file_path? Activity class has metadata property, which is a dict

Re: [Sugar-devel] Turtle art crystal radio

2010-12-01 Thread forster
Thanks Gary quick and dirty is good I will try it Tony > Hi Tony, > > On 1 Dec 2010, at 07:41, fors...@ozonline.com.au wrote: > > > Hi all > > Its been suggested that the XO could be turned into a crystal radio. > > Any suggestions of an easy way to get data from the microphone socket to > > th

Re: [Sugar-devel] Turtle art crystal radio

2010-12-01 Thread Gary Martin
Hi Tony, On 1 Dec 2010, at 07:41, fors...@ozonline.com.au wrote: > Hi all > Its been suggested that the XO could be turned into a crystal radio. > Any suggestions of an easy way to get data from the microphone socket to the > speaker? There must be a nicer way than this (using the csound python

[Sugar-devel] getting datastoreObject from read_file call?

2010-12-01 Thread Erik Blankinship
When read_file is called by my activity, I get a file path to something that is probably in my journal. How can I get the datastoreObject affiliated with that file_path? ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.

Re: [Sugar-devel] Problem developing app

2010-12-01 Thread James Simmons
Rodrigo, I don't understand the point of not putting code into Git until its finished. Most of the benefit of Git comes while you're *developing* software. We really need to see what you have to be able to help you. If you could send me your XO bundle as an attachment I'd be happy to look at it

Re: [Sugar-devel] Problem developing app

2010-12-01 Thread Rodrigo
> > Is your source code uploaded to a git repository? > No yet, the company I'm working for doesn't let me upload it until it's finished :'( I'd suggest bringing up the Log Activit I've done what you said, and seems to make more sense, but I can't get the meaning anyway. I attach the log from th

Re: [Sugar-devel] [PATCH sugar] About my computer: use NetworkManager to acquire list of devices

2010-12-01 Thread Daniel Drake
On 1 December 2010 00:09, James Cameron wrote: > On XO-1 where there is one physical device, with one instance of > firmware, and two network interfaces (eth0, msh0), this may be > displayed as two devices with the same firmware version. According to that code, it won't show the mesh device, beca