GNOME Bugzilla – Bug 85723
Add popup calendar and time configuration to clock applet
Last modified: 2015-03-24 13:00:35 UTC
This is a patch for the 2.1.x branch. This makes clicking the clock applet open a calendar, and adds a menu item to open a configuration tool to set the date and time.
Created attachment 9288 [details] [review] add bloat to clock applet
Basically a dup of most of bug 82762 :/
I have some updates to this patch; rather than update the bug every time, let me know and I'll send along the latest patch when we're ready to consider applying it.
*** Bug 82762 has been marked as a duplicate of this bug. ***
Havoc: send me on the patch and I'll review it. One comment from a cursory glance - make sure to use egg_screen_exec when launching an app, gtk_window_set_screen when realising a toplevel, gdk_screen_get_height/width instead of gdk_screen_width/height. Also note multiscreen-hacks.h, instead of using #ifdef HAVE_GTK_MULTIHEAD all over the place.
*** Bug 72315 has been marked as a duplicate of this bug. ***
In bug #72315, it was suggested that a nice default for the time configuration tool is Gnome System Tools (when ported to Gnome2).
Created attachment 10823 [details] [review] newer patch
Havoc: I was about to apply the patch and fixup the multihead issues when I saw this that you're setting focus-line-width and focus-padding to zero ... Why are you doing this ? I know we've had issues with focus indication and applets in the past so I'm wary ...
Just the usual "make it use less space" reason. It's bogus, feel free to take it out. We can shrink it via font shrinkage or something.
Status here ?
Crap, I guess we missed feature freeze on this. :-/
Boo :/
Any chance of incorperating the behaviour of gworldclock into the clock applet? Perhaps the ability to add additional timezone clocks to it, and have these append after the date in the mouseover? Another alternative, which would conflict with this bug would be to open gworldclock when the clock applet is clicked on.
Sameer: please file new bugs with your enhancement requests. Havoc: finally, I've gone ahead and committed this. I was lazy and didn't do all the multiscreen stuff, though. 2003-01-27 Mark McLoughlin <mark@skynet.ie> Add popup calendar and time configuration to clock applet. Slightly re-worked version of Havoc's patch. #85723. * GNOME_ClockApplet.xml: add "Adjust Date & Time" item. * clock.c: add support for time configuration tool and calendar popup. * clock.schemas.in: add configuration tool preference.