diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-10-12 12:57:05 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-10-12 12:57:05 +0800 |
commit | 2adab13971baa11b24d52c2ce2991ba39b08ad37 (patch) | |
tree | eca74c18fe9bcf7b8cb988fdc52aab63ea670e51 /mail | |
parent | 12d21d2361a3802bd6785533e8b53b0d91244729 (diff) | |
download | gsoc2013-evolution-2adab13971baa11b24d52c2ce2991ba39b08ad37.tar.gz 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')
-rw-r--r-- | mail/ChangeLog | 6 | ||||
-rw-r--r-- | mail/message-list.c | 8 |
2 files changed, 10 insertions, 4 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 7be9134e1b..0c2b5591d1 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +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. + 2000-10-12 Iain Holmes <iain@helixcode.com> * component-factory.c: Disable the executive summary. 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); |