diff options
author | Srinivasa Ragavan <sragavan@novell.com> | 2008-02-11 10:38:12 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@src.gnome.org> | 2008-02-11 10:38:12 +0800 |
commit | 3d85ee95724f8743d756dda91e239670ada01f00 (patch) | |
tree | e13979126b87fb3313879976152d0cea3a390b5b /mail | |
parent | 829da678ac8cdb5ed793062f4051323ec5e216bc (diff) | |
download | gsoc2013-evolution-3d85ee95724f8743d756dda91e239670ada01f00.tar gsoc2013-evolution-3d85ee95724f8743d756dda91e239670ada01f00.tar.gz gsoc2013-evolution-3d85ee95724f8743d756dda91e239670ada01f00.tar.bz2 gsoc2013-evolution-3d85ee95724f8743d756dda91e239670ada01f00.tar.lz gsoc2013-evolution-3d85ee95724f8743d756dda91e239670ada01f00.tar.xz gsoc2013-evolution-3d85ee95724f8743d756dda91e239670ada01f00.tar.zst gsoc2013-evolution-3d85ee95724f8743d756dda91e239670ada01f00.zip |
** Fix for bug #411576
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):
svn path=/trunk/; revision=34987
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 8 | ||||
-rw-r--r-- | mail/evolution-mail.schemas.in | 14 | ||||
-rw-r--r-- | mail/message-list.c | 5 |
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 (); |