aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-list.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-10-12 12:57:05 +0800
committerChris Lahey <clahey@src.gnome.org>2000-10-12 12:57:05 +0800
commit2adab13971baa11b24d52c2ce2991ba39b08ad37 (patch)
treeeca74c18fe9bcf7b8cb988fdc52aab63ea670e51 /mail/message-list.c
parent12d21d2361a3802bd6785533e8b53b0d91244729 (diff)
downloadgsoc2013-evolution-2adab13971baa11b24d52c2ce2991ba39b08ad37.tar
gsoc2013-evolution-2adab13971baa11b24d52c2ce2991ba39b08ad37.tar.gz
gsoc2013-evolution-2adab13971baa11b24d52c2ce2991ba39b08ad37.tar.bz2
gsoc2013-evolution-2adab13971baa11b24d52c2ce2991ba39b08ad37.tar.lz
gsoc2013-evolution-2adab13971baa11b24d52c2ce2991ba39b08ad37.tar.xz
gsoc2013-evolution-2adab13971baa11b24d52c2ce2991ba39b08ad37.tar.zst
gsoc2013-evolution-2adab13971baa11b24d52c2ce2991ba39b08ad37.zip
Replace To with From except in Drafts, Outbox, or Sent boxes. Make Subject
2000-10-12 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Replace To with From except in Drafts, Outbox, or Sent boxes. Make Subject column pay attention to text attributes like bold and strikethrough. svn path=/trunk/; revision=5877
Diffstat (limited to 'mail/message-list.c')
-rw-r--r--mail/message-list.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mail/message-list.c b/mail/message-list.c
index c7e0c3e571..2305a8d47a 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -857,7 +857,7 @@ message_list_get_layout (MessageList *message_list)
"<ETableColumn model_col= \"1\" pixbuf=\"score\" expansion=\"0.0\" minimum_width=\"16\" resizable=\"false\" cell=\"render_score\" compare=\"integer\"/>"
"<ETableColumn model_col= \"2\" pixbuf=\"attachment\" expansion=\"0.0\" minimum_width=\"16\" resizable=\"false\" cell=\"render_attachment\" compare=\"integer\" sortable=\"false\"/>"
"<ETableColumn model_col= \"3\" _title=\"From\" expansion=\"24.0\" minimum_width=\"32\" resizable=\"true\" cell=\"render_text\" compare=\"address_compare\"/>"
- "<ETableColumn model_col= \"4\" _title=\"Subject\" expansion=\"30.0\" minimum_width=\"32\" resizable=\"true\" cell=\"tree-string\" compare=\"subject_compare\"/>"
+ "<ETableColumn model_col= \"4\" _title=\"Subject\" expansion=\"30.0\" minimum_width=\"32\" resizable=\"true\" cell=\"render_tree\" compare=\"subject_compare\"/>"
"<ETableColumn model_col= \"5\" _title=\"Date\" expansion=\"24.0\" minimum_width=\"32\" resizable=\"true\" cell=\"render_date\" compare=\"integer\"/>"
"<ETableColumn model_col= \"6\" _title=\"Received\" expansion=\"20.0\" minimum_width=\"32\" resizable=\"true\" cell=\"render_date\" compare=\"integer\"/>"
"<ETableColumn model_col= \"7\" _title=\"To\" expansion=\"24.0\" minimum_width=\"32\" resizable=\"true\" cell=\"render_text\" compare=\"address_compare\"/>"
@@ -890,9 +890,9 @@ message_list_setup_etable(MessageList *message_list)
/* I wonder if there's a better way to do this ...? */
name = camel_service_get_name((CAMEL_SERVICE(message_list->folder->parent_store)), TRUE);
printf("folder name is '%s'\n", name);
- if (strstr(name, "/Drafts") == 0
- || strstr(name, "/Outbox") == 0
- || strstr(name, "/Sent") == 0) {
+ if (strstr(name, "/Drafts")
+ || strstr(name, "/Outbox")
+ || strstr(name, "/Sent")) {
e_table_scrolled_set_state(E_TABLE_SCROLLED(message_list->etable), state);
}
g_free(name);