aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog8
-rw-r--r--mail/evolution-mail.schemas.in14
-rw-r--r--mail/message-list.c5
3 files changed, 26 insertions, 1 deletions
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 <sragavan@novell.com>
+
+ ** 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 <msuman@novell.com>
** 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
@@ -386,6 +386,20 @@
</schema>
<schema>
+ <key>/schemas/apps/evolution/mail/display/vertical_view_fonts</key>
+ <applyto>/apps/evolution/mail/display/vertical_view_fonts</applyto>
+ <owner>evolution-mail</owner>
+ <type>bool</type>
+ <default>false</default>
+ <locale name="C">
+ <short>Determines whether to use the same fonts for both "From" and "Subject" lines in the "Messages" column in vertical view.</short>
+ <long>
+ Determines whether to use the same fonts for both "From" and "Subject" lines in the "Messages" column in vertical view.
+ </long>
+ </locale>
+ </schema>
+
+ <schema>
<key>/schemas/apps/evolution/mail/display/mark_seen_timeout</key>
<applyto>/apps/evolution/mail/display/mark_seen_timeout</applyto>
<owner>evolution-mail</owner>
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 ();