diff options
author | Larry Ewing <lewing@ximian.com> | 2004-07-20 00:42:59 +0800 |
---|---|---|
committer | Larry Ewing <lewing@src.gnome.org> | 2004-07-20 00:42:59 +0800 |
commit | a2e97ee71b03327741343200a2237fa031e3dffa (patch) | |
tree | d9ebb2561f8d8e270ad70679916fc301eb748ba6 | |
parent | 25e8440cb73edfccb4ac1d76c285919da87f661e (diff) | |
download | gsoc2013-evolution-a2e97ee71b03327741343200a2237fa031e3dffa.tar gsoc2013-evolution-a2e97ee71b03327741343200a2237fa031e3dffa.tar.gz gsoc2013-evolution-a2e97ee71b03327741343200a2237fa031e3dffa.tar.bz2 gsoc2013-evolution-a2e97ee71b03327741343200a2237fa031e3dffa.tar.lz gsoc2013-evolution-a2e97ee71b03327741343200a2237fa031e3dffa.tar.xz gsoc2013-evolution-a2e97ee71b03327741343200a2237fa031e3dffa.tar.zst gsoc2013-evolution-a2e97ee71b03327741343200a2237fa031e3dffa.zip |
use short month forms to limit the maximum width of the label.
2004-07-16 Larry Ewing <lewing@ximian.com>
* gui/calendar-component.c (set_info): use short month forms to
limit the maximum width of the label.
svn path=/trunk/; revision=26673
-rw-r--r-- | calendar/ChangeLog | 7 | ||||
-rw-r--r-- | calendar/gui/calendar-component.c | 12 |
2 files changed, 12 insertions, 7 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 4d0339cf6e..41668e01c2 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +2004-07-16 Larry Ewing <lewing@ximian.com> + + * gui/calendar-component.c (set_info): use short month forms to + limit the maximum width of the label. + 2004-07-15 Rodrigo Moya <rodrigo@novell.com> Fixes #57142 @@ -8691,4 +8696,4 @@ to double-check the event can be deleted. (purging_query_done_cb, purging_eval_error_cb): needed callbacks to finish the query. - (gnome_calendar_destroy): free new memb
\ No newline at end of file + (gnome_calendar_destroy): free new memb diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c index 51b6402eb4..80e921803b 100644 --- a/calendar/gui/calendar-component.c +++ b/calendar/gui/calendar-component.c @@ -513,7 +513,7 @@ set_info (CalendarComponentView *component_view) && start_tm.tm_mon == end_tm.tm_mon && start_tm.tm_mday == end_tm.tm_mday) { e_utf8_strftime (buffer, sizeof (buffer), - _("%A %d %B %Y"), &start_tm); + _("%A %d %b %Y"), &start_tm); } else if (start_tm.tm_year == end_tm.tm_year) { e_utf8_strftime (buffer, sizeof (buffer), _("%a %d %b"), &start_tm); @@ -537,22 +537,22 @@ set_info (CalendarComponentView *component_view) e_utf8_strftime (buffer, sizeof (buffer), "%d", &start_tm); e_utf8_strftime (end_buffer, sizeof (end_buffer), - _("%d %B %Y"), &end_tm); + _("%d %b %Y"), &end_tm); strcat (buffer, " - "); strcat (buffer, end_buffer); } else { e_utf8_strftime (buffer, sizeof (buffer), - _("%d %B"), &start_tm); + _("%d %b"), &start_tm); e_utf8_strftime (end_buffer, sizeof (end_buffer), - _("%d %B %Y"), &end_tm); + _("%d %b %Y"), &end_tm); strcat (buffer, " - "); strcat (buffer, end_buffer); } } else { e_utf8_strftime (buffer, sizeof (buffer), - _("%d %B %Y"), &start_tm); + _("%d %b %Y"), &start_tm); e_utf8_strftime (end_buffer, sizeof (end_buffer), - _("%d %B %Y"), &end_tm); + _("%d %b %Y"), &end_tm); strcat (buffer, " - "); strcat (buffer, end_buffer); } |