From 3d85ee95724f8743d756dda91e239670ada01f00 Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Mon, 11 Feb 2008 02:38:12 +0000 Subject: ** Fix for bug #411576 2008-02-10 Srinivasa Ragavan ** Fix for bug #411576 * evolution-mail.schemas.in: Add a key to decide if same fonts gotto be used in message list in vertical view column. * message-list.c: (create_composite_cell): svn path=/trunk/; revision=34987 --- mail/ChangeLog | 8 ++++++++ mail/evolution-mail.schemas.in | 14 ++++++++++++++ mail/message-list.c | 5 ++++- 3 files changed, 26 insertions(+), 1 deletion(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 924799235e..65ea871e64 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,11 @@ +2008-02-10 Srinivasa Ragavan + + ** Fix for bug #411576 + + * evolution-mail.schemas.in: Add a key to decide if same fonts gotto + be used in message list in vertical view column. + * message-list.c: (create_composite_cell): + 2008-02-10 Suman Manjunath ** Fix for bug #510642 diff --git a/mail/evolution-mail.schemas.in b/mail/evolution-mail.schemas.in index e984f379b6..9d9ecad2b4 100644 --- a/mail/evolution-mail.schemas.in +++ b/mail/evolution-mail.schemas.in @@ -385,6 +385,20 @@ + + /schemas/apps/evolution/mail/display/vertical_view_fonts + /apps/evolution/mail/display/vertical_view_fonts + evolution-mail + bool + false + + Determines whether to use the same fonts for both "From" and "Subject" lines in the "Messages" column in vertical view. + + Determines whether to use the same fonts for both "From" and "Subject" lines in the "Messages" column in vertical view. + + + + /schemas/apps/evolution/mail/display/mark_seen_timeout /apps/evolution/mail/display/mark_seen_timeout diff --git a/mail/message-list.c b/mail/message-list.c index 3211d2d84d..68b59449fa 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -1669,10 +1669,13 @@ static ECell * create_composite_cell (int col) gboolean show_email; int i; int alt_col = (col == COL_FROM) ? COL_SENDER : COL_RECIPIENTS; + gboolean same_font = FALSE; gconf = mail_config_get_gconf_client (); - fixed_name = gconf_client_get_string (gconf, "/desktop/gnome/interface/monospace_font_name", NULL); show_email = gconf_client_get_bool (gconf, "/apps/evolution/mail/display/show_email", NULL); + same_font = gconf_client_get_bool (gconf, "/apps/evolution/mail/display/vertical_view_fonts", NULL); + if (!same_font) + fixed_name = gconf_client_get_string (gconf, "/desktop/gnome/interface/monospace_font_name", NULL); cell_vbox = e_cell_vbox_new (); -- cgit v1.2.3