Gonzalo,<div><br></div><div>The Journal entry will contain a text file that has the same text as the Description. It *can* be opened by the Activities you mention, and that was my intention. By default it will open with Sugar Commander. Nobody will open it with write without wanting to.</div>
<div><br></div><div>James Simmons<br><br><div class="gmail_quote">On Sun, Aug 7, 2011 at 10:18 AM, Gonzalo Odiard <span dir="ltr"><<a href="mailto:gonzalo@laptop.org">gonzalo@laptop.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Why do you save the entry like text/plain?<br>If you do this, the file will be open by Read, Write, and other activities opening text files.<br>I think is not a good idea, sorry by not replying before.<br><font color="#888888"><br>
Gonzalo<br><br>
</font><div class="gmail_quote"><div class="im">On Sun, Aug 7, 2011 at 10:15 AM, James Simmons <span dir="ltr"><<a href="mailto:nicestep@gmail.com" target="_blank">nicestep@gmail.com</a>></span> wrote:<br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
<div class="im">
Tony,<div><br></div><div>I updated Sugar Commander this morning. You can find the new version at:</div><div><div><br></div><div><a href="http://dl.dropbox.com/u/8919415/SugarCommander-8.xo" target="_blank">http://dl.dropbox.com/u/8919415/SugarCommander-8.xo</a></div>
<div><br></div></div><div>I put the Description entry in the Journal entry file and give the entry a MIME of text/plain. I also fixed some bugs that prevented it from running on Fedora 10, Sugar .82. It looks pretty good except that as you pointed out you can see the Journal entry that the Activity will create before it is actually written out. I'd like to NOT list that and I'm looking for ideas on that. I still only create the Journal entry on exit.</div>
<div><br></div><div><font color="#888888">James Simmons</font><div><div></div><div><br><br><div class="gmail_quote">On Sat, Aug 6, 2011 at 11:48 PM, James Simmons <span dir="ltr"><<a href="mailto:nicestep@gmail.com" target="_blank">nicestep@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
Tony,<div><br></div><div>I will consider saving the Journal entry with a plain text MIME type. The text file would contain the same text as in the Description. As far as saving on change of focus, I could do that but the Activity presents you with one of those Description dialogs when you exit it the first time and I think that comes up empty, so you could lose part of your record the first time you use the Activity. I can play with that a bit.</div>
<div><br></div><div>I came up with the scrolling arrangement after a lot of experimentation. I agree it isn't perfect but it works better than anything else I tried.</div><div><br></div><div><font color="#888888">James Simmons</font><div>
<div></div><div><br><br><div class="gmail_quote">
On Sat, Aug 6, 2011 at 7:38 PM, <span dir="ltr"><<a href="mailto:forster@ozonline.com.au" target="_blank">forster@ozonline.com.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
<div>> I have a new version of Sugar Commander which leaves a Journal entry behind.<br>
<br>
</div>Tested OK on 0.84.31 0.88 and 0.92<br>
<br>
I think the Journal entry is useful<br>
<br>
The scrollbar for description also scrolls title and tags, given that the description will get longer and longer, the title and tags will scroll a long way off screen, better if only the description scrolled.<br>
<br>
A couple of times Sugar Commander has shown two journal entries for itself but the Journal only shows one, I think its before the first save.<br>
<br>
If you copy Sugar Commander's journal entry to the clipboard and then try to keep the clipping it produces a shell error. It might be handy if the description was saved as a plain text mime.<br>
<br>
The updated description is not saved till you exit the activity, it might be better if it saved on a change of focus to be consistent with the rest of Sugar<br>
<br>
Tony<br>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div></div></div>
<br></div><div class="im">_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
<br></div></blockquote></div><br>
</blockquote></div><br></div>