From a2e97ee71b03327741343200a2237fa031e3dffa Mon Sep 17 00:00:00 2001 From: Larry Ewing Date: Mon, 19 Jul 2004 16:42:59 +0000 Subject: use short month forms to limit the maximum width of the label. 2004-07-16 Larry Ewing * gui/calendar-component.c (set_info): use short month forms to limit the maximum width of the label. svn path=/trunk/; revision=26673 --- calendar/ChangeLog | 7 ++++++- calendar/gui/calendar-component.c | 12 ++++++------ 2 files changed, 12 insertions(+), 7 deletions(-) (limited to 'calendar') 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 + + * gui/calendar-component.c (set_info): use short month forms to + limit the maximum width of the label. + 2004-07-15 Rodrigo Moya 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); } -- cgit