From 20c4b44474062abd353bc10966b5f7f4026d1336 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 25 Sep 2002 22:56:23 +0000 Subject: Add a margin around the "flag for followup" table so it lines up with * mail-display.c (mail_display_render): Add a margin around the "flag for followup" table so it lines up with everything else. Also, don't add "at your earliest convenience" after the flag if there's no date set, since that doesn't make any sense for half of the flags. ("For Your Information at your earliest convenience"). svn path=/trunk/; revision=18226 --- mail/ChangeLog | 8 ++++++++ mail/mail-display.c | 11 +++++++---- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/mail/ChangeLog b/mail/ChangeLog index 5bbf4072b0..eb32df9718 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,11 @@ +2002-09-25 Dan Winship + + * mail-display.c (mail_display_render): Add a margin around the + "flag for followup" table so it lines up with everything else. + Also, don't add "at your earliest convenience" after the flag if + there's no date set, since that doesn't make any sense for half of + the flags. ("For Your Information at your earliest convenience"). + 2002-09-25 Dan Winship * component-factory.c (folder_types): add "mail/public". Leave diff --git a/mail/mail-display.c b/mail/mail-display.c index 80e9fa93c3..4865c11909 100644 --- a/mail/mail-display.c +++ b/mail/mail-display.c @@ -1750,14 +1750,17 @@ mail_display_render (MailDisplay *md, GtkHTML *html, gboolean reset_scroll) e_strftime_fix_am_pm (due_date, sizeof (due_date), _("by %B %d, %Y, %l:%M %P"), &due); } else { - snprintf (due_date, sizeof (due_date), "%s", _("at your earliest convenience")); + due_date[0] = '\0'; } gtk_html_stream_printf (stream, "" - "
" - "" + "
" + "
" + "
" + "" "" - "
%s%s%s%s %s
", fontcolor, bgcolor, + "
%s%s%s%s %s
" + "
", fontcolor, bgcolor, mail_display_get_url_for_icon (md, EVOLUTION_IMAGES "/flag-for-followup-16.png"), overdue ? "" : "", overdue, overdue ? " " : "", flag, due_date); -- cgit v1.2.3