Public bug reported: Binary package hint: gnome-panel
Ubuntu version: 8.10 gnome-panel version: 2.24.1-0ubuntu2.1 I noticed a request on the Ubuntu brainstorm site for a fuzzy clock in Gnome (http://brainstorm.ubuntu.com/idea/6252/) and I wanted one, too. Attached is a patch to some of the files in gnome-panel's "applets/clock" directory. There are two issues I haven't addressed: 1.) Blank space after fuzzy clock text: This is caused by clock_size_request() ignoring requests to resize to smaller dimensions than are currently used by the clock. As the source mentions, this prevents a jumping clock when a proportional font is used. If you'd like the clock to resize, just add "cd->format == CLOCK_FORMAT_FUZZY_HOUR || cd->format == CLOCK_FORMAT_FUZZY_DAY ||" to the start of the conditions of the two if statements in that function. 2.) Internationalization: The text strings used in the fuzzy clocks need to be translated. I also tweaked the patch so it applies cleanly against Karmic's version of gnome-panel (2.27.92-0ubuntu4), but I can submit that in a separate bug report, if preferred. ** Affects: gnome-panel (Ubuntu) Importance: Undecided Status: New -- Patch to add a fuzzy clock https://bugs.launchpad.net/bugs/433808 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
