gnome-panel r10254 - trunk/applets/clock
- From: vuntz svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-panel r10254 - trunk/applets/clock
- Date: Wed, 21 Feb 2007 20:39:46 +0000 (GMT)
Author: vuntz
Date: 2007-02-21 20:39:46 +0000 (Wed, 21 Feb 2007)
New Revision: 10254
ViewCVS link: http://svn.gnome.org/viewcvs/gnome-panel?rev=10254&view=rev
Modified:
trunk/applets/clock/ChangeLog
trunk/applets/clock/clock.c
Log:
2007-02-21 Vincent Untz <vuntz gnome org>
* clock.c: (get_updated_timeformat): copied from update_timeformat(),
but contains code to add gravity around the time
(update_timeformat): call get_updated_timeformat() twice: once to get
the format with the markup, and once to get a fallback format without
markup
(update_clock): changed the logic a bit, so that we can use pango
markup, and make sure that we display something if the markup is not
correct
(destroy_clock): updated
(clock_update_text_gravity): new, set the gravity of the label for
vertical text!
(force_no_focus_padding): updated, and call
clock_update_text_gravity() and connect to the screen-changed signal
to call it again
Fix bug #409127.
And, although this is not the goal of this commit, this fixes bug
#332737.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]