aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2006-06-19 18:34:20 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2006-06-19 18:34:20 +0800
commit14748fdd0af022af5e73d38f217b2897263ffdcb (patch)
treee9ba84ba4c9211bc0e58355da2467d1a86bfd5a5
parent601232972838757ac2cb67d3c80d5ea65216f1ca (diff)
downloadgsoc2013-evolution-14748fdd0af022af5e73d38f217b2897263ffdcb.tar
gsoc2013-evolution-14748fdd0af022af5e73d38f217b2897263ffdcb.tar.gz
gsoc2013-evolution-14748fdd0af022af5e73d38f217b2897263ffdcb.tar.bz2
gsoc2013-evolution-14748fdd0af022af5e73d38f217b2897263ffdcb.tar.lz
gsoc2013-evolution-14748fdd0af022af5e73d38f217b2897263ffdcb.tar.xz
gsoc2013-evolution-14748fdd0af022af5e73d38f217b2897263ffdcb.tar.zst
gsoc2013-evolution-14748fdd0af022af5e73d38f217b2897263ffdcb.zip
Fix for bug #344580
svn path=/trunk/; revision=32172
-rw-r--r--mail/ChangeLog8
-rw-r--r--mail/message-list.c16
2 files changed, 24 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 74b791ebdf..18a8a0905f 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,11 @@
+2006-06-19 Srinivasa Ragavan <sragavan@novell.com>
+
+ ** Fix for bug #344580
+
+ * message-list.c: (create_composite_cell),
+ (composite_cell_set_strike_col), (message_list_set_folder): Strike out
+ deleted mails, if set to visible
+
2006-06-14 Tor Lillqvist <tml@novell.com>
* em-account-editor.c (emae_check_complete): g_get_real_name()
diff --git a/mail/message-list.c b/mail/message-list.c
index 1b166f0bf2..cea727d562 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -1519,9 +1519,19 @@ static ECell * create_composite_cell (int col)
e_cell_vbox_append (cell_vbox, cell_hbox, COL_FROM);
e_cell_vbox_append (cell_vbox, cell_tree, COL_SUBJECT);
+ g_object_set_data (cell_vbox, "cell_date", cell_date);
+ g_object_set_data (cell_vbox, "cell_sub", cell_sub);
+ g_object_set_data (cell_vbox, "cell_from", cell_from);
return cell_vbox;
}
+static void
+composite_cell_set_strike_col (ECell *cell, int col)
+{
+ g_object_set (g_object_get_data(cell, "cell_date"), "strikeout_column", col, NULL);
+ g_object_set (g_object_get_data(cell, "cell_from"), "strikeout_column", col, NULL);
+}
+
static ETableExtras *
message_list_create_extras (void)
{
@@ -3024,6 +3034,12 @@ message_list_set_folder (MessageList *message_list, CamelFolder *folder, const c
cell = e_table_extras_get_cell (message_list->extras, "render_size");
g_object_set (cell, "strikeout_column", strikeout_col, NULL);
+
+ cell = e_table_extras_get_cell (message_list->extras, "render_composite_from");
+ composite_cell_set_strike_col (cell, strikeout_col);
+
+ cell = e_table_extras_get_cell (message_list->extras, "render_composite_to");
+ composite_cell_set_strike_col (cell, strikeout_col);
/* Build the etree suitable for this folder */
message_list_setup_etree (message_list, outgoing);