[Sugar-devel] [PATCH] add clock to frame
eben at laptop.org
Sat May 2 10:49:05 EDT 2009
On Sat, May 2, 2009 at 7:04 AM, Martin Dengler <martin at martindengler.com> wrote:
> On Sat, May 02, 2009 at 10:28:06AM +0200, Tomeu Vizoso wrote:
>> Hi Martin,
>> I was hoping the frame clock could be implemented as a device icon
>> extension, so people could add it, remove it and customize it more
>> easily. Why is it inside the shell instead?
> The code (clock.py) is in fact a device icon, and if you drop it in
> /usr/share/sugar/extensions/deviceicon it'll Just Work.
> It's in the shell because it's in the upper-right corner of the frame,
> where I found it looks a lot better:
Hmmm, but this breaks the paradigm of the frame; I think Sugar should
only officially support a clock in the devices tray. Simple hacks, of
course, could allow people to change it to other corners, but I don't
think it should even be an option, officially.
Also, the clock takes up a significant amount of space. Can we use the
normal paradigm for device icons instead? If the clock simply read
"12:34" and then additional information, such as the day and date,
appeared within the palette, along with options for, perhaps, 12 or 24
hour time, etc. I think it would be a lot cleaner. I'd also recommend
putting the text against a filled background, instead of the frame
itself, to give it presence as a device object, and not just some text
floating in the Frame.
That said, great work on adding a clock! If I get a chance I could try
mocking up some visual treatments.
>> Btw, do you want me to ask in olpc-sur how people already using 8.2
>> would like the clock to look like?
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
More information about the Sugar-devel