Patch to add a fuzzy clock

Bug #433808 reported by mascdman
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNOME Panel
New
Wishlist
gnome-panel (Ubuntu)
Triaged
Wishlist
Ubuntu Desktop Bugs

Bug Description

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.

Revision history for this message
mascdman (mascdman-gmail) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report and work there. The issue is an upstream one and it would be nice if somebody having it could send the bug the to the people writting the software (https://wiki.ubuntu.com/Bugs/Upstream/GNOME)

Changed in gnome-panel (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

Did you send the change to GNOME? in which case could you give us the bug number reference?

Revision history for this message
David Futcher (bobbo) wrote :

I've sent this patch up to GNOME, however, there is already another patch on that bug report. We'll see what happens.

tags: added: patch-forwarded-upstream
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for sending the bug to GNOME

Changed in gnome-panel (Ubuntu):
status: Confirmed → Triaged
Changed in gnome-panel:
status: Unknown → Confirmed
Changed in gnome-panel:
status: Confirmed → Invalid
Revision history for this message
Martin Mai (mrkanister-deactivatedaccount-deactivatedaccount) wrote :

Upstream bug has been marked as duplicate of bug https://bugzilla.gnome.org/show_bug.cgi?id=582857

Changed in gnome-panel:
status: Invalid → Unknown
Changed in gnome-panel:
status: Unknown → New
papukaija (papukaija)
tags: added: patch
Changed in gnome-panel:
importance: Unknown → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.