aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-list.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2001-01-21 13:49:00 +0800
committerChris Lahey <clahey@src.gnome.org>2001-01-21 13:49:00 +0800
commitd623f94d7f9d69ce6622e1764f42cac15e6699eb (patch)
treeb310c5d05c050a9e473c342f1e278f9b950afb4a /mail/message-list.c
parent7d1cbbaa104a97cf0f10dae61c2fd37ca1feeee3 (diff)
downloadgsoc2013-evolution-d623f94d7f9d69ce6622e1764f42cac15e6699eb.tar.gz
gsoc2013-evolution-d623f94d7f9d69ce6622e1764f42cac15e6699eb.tar.zst
gsoc2013-evolution-d623f94d7f9d69ce6622e1764f42cac15e6699eb.zip
Added draw-focus="true" and selection-mode="browse" attributes to the
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. svn path=/trunk/; revision=7674
Diffstat (limited to 'mail/message-list.c')
-rw-r--r--mail/message-list.c5
1 files changed, 1 insertions, 4 deletions
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);