Re: [Sugar-devel] New Chapter in Make Your Own Sugar Activities needs review

2010-03-31 Thread James Simmons
Bert, I fixed the instance->data error. The MIME fix will go in later, when I have a chance to try it out. Thanks, James Simmons On Wed, Mar 31, 2010 at 11:41 AM, Bert Freudenberg wrote: > On 31.03.2010, at 17:54, James Simmons wrote: >> > Some more inaccuracies I didn't notice the last tim

Re: [Sugar-devel] New Chapter in Make Your Own Sugar Activities needs review

2010-03-31 Thread Bert Freudenberg
On 31.03.2010, at 17:54, James Simmons wrote: > > Bert, > > Last night I fixed up Sugar Commander code by removing unneeded > backslashes and adding logic to process Journal update callbacks. > This code will be in Sugar Commander 3, which I will not release until > I've lived with it for awhile.

Re: [Sugar-devel] New Chapter in Make Your Own Sugar Activities needs review

2010-03-31 Thread James Simmons
Bert, Last night I fixed up Sugar Commander code by removing unneeded backslashes and adding logic to process Journal update callbacks. This code will be in Sugar Commander 3, which I will not release until I've lived with it for awhile. Version 2 is usable and I wanted to get that out the door t

Re: [Sugar-devel] New Chapter in Make Your Own Sugar Activities needs review

2010-03-30 Thread James Simmons
I select a Journal entry in the list I get the latest entry from the datastore. I'll think some more about changing this, but that will wait for version 3. James Simmons > Date: Tue, 30 Mar 2010 17:16:50 +0200 > From: Bert Freudenberg > Subject: Re: [Sugar-devel] New Chapte

Re: [Sugar-devel] New Chapter in Make Your Own Sugar Activities needs review

2010-03-30 Thread Bert Freudenberg
On 30.03.2010, at 16:46, James Simmons wrote: > > Bert and Sascha, > > In the book I'm trying to encourage practices that work in multiple > versions of Sugar. I tried what Bert proposed last night and it > worked fine, so that's what I'm going to write up in the book. The > book is for beginne

Re: [Sugar-devel] New Chapter in Make Your Own Sugar Activities needs review

2010-03-30 Thread James Simmons
x27;ll update ASLO and the book. In the meantime, if you want to check my code and make suggestions I'd be grateful. Thanks, James Simmons > Date: Tue, 30 Mar 2010 00:37:22 +0200 > From: Bert Freudenberg > Subject: Re: [Sugar-devel] New Chapter in Make Your Own Sugar >        Act

Re: [Sugar-devel] New Chapter in Make Your Own Sugar Activities needs review

2010-03-29 Thread Bert Freudenberg
On 30.03.2010, at 00:23, Sascha Silbe wrote: > > On Mon, Mar 29, 2010 at 01:21:01PM +0200, Bert Freudenberg wrote: > >> Since the signals necessary for [listening to data store updates] are not >> exposed in the higher-level datastore abstractions, you need to go down to >> the D-Bus level (lif

Re: [Sugar-devel] New Chapter in Make Your Own Sugar Activities needs review

2010-03-29 Thread Sascha Silbe
On Mon, Mar 29, 2010 at 01:21:01PM +0200, Bert Freudenberg wrote: Since the signals necessary for [listening to data store updates] are not exposed in the higher-level datastore abstractions, you need to go down to the D-Bus level (lifted from jarabe/journal/model.py): Actually as of 0.88 they

Re: [Sugar-devel] New Chapter in Make Your Own Sugar Activities needs review

2010-03-29 Thread James Simmons
ject inspires strong feelings. Thanks much, James Simmons On Mon, Mar 29, 2010 at 9:13 AM, James Simmons wrote: > Date: Mon, 29 Mar 2010 13:21:01 +0200 > From: Bert Freudenberg > Subject: Re: [Sugar-devel] New Chapter in Make Your Own Sugar >        Activities      needs review

Re: [Sugar-devel] New Chapter in Make Your Own Sugar Activities needs review

2010-03-29 Thread James Simmons
Edward, I've discovered another bug in Sugar Commander (when you update metadata you lose the preview and probably other things too). I have a pretty good idea of how to fix it, so I'll be doing that tonight and updating the chapter too. I'd be interested in your ideas as well. Thanks, James S

Re: [Sugar-devel] New Chapter in Make Your Own Sugar Activities needs review

2010-03-29 Thread Bert Freudenberg
On 28.03.2010, at 22:26, James Simmons wrote: > > This PDF has the "Fun With The Journal" chapter updated using Bert > Freudenberg's suggestions. I've updated Sugar Commander based on > these suggestions and it works better than ever, and thanks to Bert I > understand parts of my own code that we

Re: [Sugar-devel] New Chapter in Make Your Own Sugar Activities needs review

2010-03-28 Thread Edward Cherlin
On Sun, Mar 28, 2010 at 16:26, James Simmons wrote: > This PDF has the "Fun With The Journal" chapter updated using Bert > Freudenberg's suggestions.  I've updated Sugar Commander based on > these suggestions and it works better than ever, and thanks to Bert I > understand parts of my own code tha

Re: [Sugar-devel] New Chapter in Make Your Own Sugar Activities needs review

2010-03-28 Thread James Simmons
This PDF has the "Fun With The Journal" chapter updated using Bert Freudenberg's suggestions. I've updated Sugar Commander based on these suggestions and it works better than ever, and thanks to Bert I understand parts of my own code that were mysterious before. http://objavi.flossmanuals.net/boo

Re: [Sugar-devel] New Chapter in Make Your Own Sugar Activities needs review

2010-03-28 Thread James Simmons
From: James Simmons Date: Sun, Mar 28, 2010 at 8:45 AM Subject: Re: [Sugar-devel] New Chapter in Make Your Own Sugar Activities needs review To: Bert Freudenberg Bert, Thanks much.  I'll fix Sugar Commander and the chapter per your instructions.  There is NO WAY I would have figured out

Re: [Sugar-devel] New Chapter in Make Your Own Sugar Activities needs review

2010-03-28 Thread Bert Freudenberg
On 28.03.2010, at 04:04, James Simmons wrote: > > In the last version of the book I had some content on working with the > Journal in the "Adding Refinements" chapter but it wasn't much and > didn't belong there. After finishing Sugar Commander I felt that I > had a good example to use for a whol

[Sugar-devel] New Chapter in Make Your Own Sugar Activities needs review

2010-03-27 Thread James Simmons
In the last version of the book I had some content on working with the Journal in the "Adding Refinements" chapter but it wasn't much and didn't belong there. After finishing Sugar Commander I felt that I had a good example to use for a whole chapter on working with the Journal, so I removed the c