[Sugar-devel] [PATCH] add clock to frame
Martin Dengler
martin at martindengler.com
Sat May 2 12:36:12 EDT 2009
On Sat, May 02, 2009 at 10:49:05AM -0400, Eben Eliason wrote:
> 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
Well, I agree it breaks the paradigm, but it's a shame to let all that
nice space on the top right go spare. I'm happy to have it hacked
there on my build, of course.
> I think Sugar should only officially support a clock in the devices
> tray.
What FRAME_RELATIVE_POSITION would you like it in?
> Also, the clock takes up a significant amount of space.
That's the advantage of putting it in the upper right where there's
lots of space :). I like seeing the Month/Day, but of course that's
me. I think the code is simple enough that that customisation can
just be hacked in (as other commenters have seemed satisfied with),
rather than spending time and effort designing and supporting some
sort of monster clock-configuration dbus-communicating control-panel.
> [clock should be HH:MM with additional information in the palette]
Sure
> I'd also recommend putting the text against a filled background
Will do.
> If I get a chance I could try mocking up some visual treatments.
Cool - anything you get a chance to put together would be nice.
> Eben
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.sugarlabs.org/archive/sugar-devel/attachments/20090502/91915275/attachment.pgp
More information about the Sugar-devel
mailing list