evolution r34987 - trunk/mail
- From: sragavan svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r34987 - trunk/mail
- Date: Mon, 11 Feb 2008 02:38:13 +0000 (GMT)
Author: sragavan
Date: Mon Feb 11 02:38:12 2008
New Revision: 34987
URL: http://svn.gnome.org/viewvc/evolution?rev=34987&view=rev
Log:
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):
Modified:
trunk/mail/ChangeLog
trunk/mail/evolution-mail.schemas.in
trunk/mail/message-list.c
Modified: trunk/mail/evolution-mail.schemas.in
==============================================================================
--- trunk/mail/evolution-mail.schemas.in (original)
+++ trunk/mail/evolution-mail.schemas.in Mon Feb 11 02:38:12 2008
@@ -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>
Modified: trunk/mail/message-list.c
==============================================================================
--- trunk/mail/message-list.c (original)
+++ trunk/mail/message-list.c Mon Feb 11 02:38:12 2008
@@ -1669,10 +1669,13 @@
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 ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]