[Sugar-devel] New Sugar Commander for review, creates Journal entry

Gonzalo Odiard gonzalo at laptop.org
Sun Aug 7 11:18:32 EDT 2011


Why do you save the entry like text/plain?
If you do this, the file will be open by Read, Write, and other activities
opening text files.
I think is not a good idea, sorry by not replying before.

Gonzalo

On Sun, Aug 7, 2011 at 10:15 AM, James Simmons <nicestep at gmail.com> wrote:

> Tony,
>
> I updated Sugar Commander this morning.  You can find the new version at:
>
> http://dl.dropbox.com/u/8919415/SugarCommander-8.xo
>
> 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.
>
> James Simmons
>
>
> On Sat, Aug 6, 2011 at 11:48 PM, James Simmons <nicestep at gmail.com> wrote:
>
>> Tony,
>>
>> 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.
>>
>> 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.
>>
>> James Simmons
>>
>>
>> On Sat, Aug 6, 2011 at 7:38 PM, <forster at ozonline.com.au> wrote:
>>
>>> > I have a new version of Sugar Commander which leaves a Journal entry
>>> behind.
>>>
>>> Tested OK on 0.84.31  0.88 and 0.92
>>>
>>> I think the Journal entry is useful
>>>
>>> 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.
>>>
>>> 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.
>>>
>>> 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.
>>>
>>> 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
>>>
>>> Tony
>>>
>>
>>
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20110807/be33bd95/attachment.html>


More information about the Sugar-devel mailing list