aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog8
-rw-r--r--mail/message-list.c5
2 files changed, 9 insertions, 4 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 64cbe1c166..3f40c4c23f 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,11 @@
+2001-01-21 Christopher James Lahey <clahey@helixcode.com>
+
+ * message-list.c (message_list_get_layout): Added
+ draw-focus="true" and selection-mode="browse" attributes to the
+ ETableSpecification.
+ (message_list_construct): Removed setting the "draw_focus"
+ argument since it doesn't exist any more.
+
2001-01-21 Not Zed <NotZed@Ximian.com>
* mail-mt.c (mail_msg_new): Init a cancel field in the message.
diff --git a/mail/message-list.c b/mail/message-list.c
index 025d87c18d..9313206497 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -1116,7 +1116,7 @@ static char *
message_list_get_layout (MessageList *message_list)
{
/* Default: Status, Attachments, Priority, From, Subject, Date */
- return g_strdup ("<ETableSpecification cursor-mode=\"line\" draw-grid=\"true\">"
+ return g_strdup ("<ETableSpecification cursor-mode=\"line\" draw-grid=\"true\" draw-focus=\"true\" selection-mode=\"browse\">"
"<ETableColumn model_col= \"0\" _title=\"Status\" pixbuf=\"status\" expansion=\"0.0\" minimum_width=\"18\" resizable=\"false\" cell=\"render_message_status\" compare=\"integer\" sortable=\"false\"/>"
"<ETableColumn model_col= \"1\" _title=\"Flagged\" pixbuf=\"flagged\" expansion=\"0.0\" minimum_width=\"18\" resizable=\"false\" cell=\"render_flagged\" compare=\"integer\"/>"
"<ETableColumn model_col= \"2\" _title=\"Score\" pixbuf=\"score\" expansion=\"0.0\" minimum_width=\"18\" resizable=\"false\" cell=\"render_score\" compare=\"integer\"/>"
@@ -1286,9 +1286,6 @@ message_list_construct (MessageList *message_list)
g_free (spec);
gtk_object_sink (GTK_OBJECT (extras));
- gtk_object_set (GTK_OBJECT (message_list->table), "drawfocus",
- FALSE, NULL);
-
gtk_signal_connect (GTK_OBJECT (message_list->table), "cursor_change",
GTK_SIGNAL_FUNC (on_cursor_change_cmd),
message_list);