aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-03-05 02:59:03 +0800
committerChris Lahey <clahey@src.gnome.org>2000-03-05 02:59:03 +0800
commit03a387dd445597caffa1383adceaa5d320ec6b30 (patch)
tree6d122ecdaf111609883255baaa103ffc8dd01c1b /mail
parent017e27c1cd0d686ef512e34ba15007a1c494a6f4 (diff)
downloadgsoc2013-evolution-03a387dd445597caffa1383adceaa5d320ec6b30.tar.gz
gsoc2013-evolution-03a387dd445597caffa1383adceaa5d320ec6b30.tar.zst
gsoc2013-evolution-03a387dd445597caffa1383adceaa5d320ec6b30.zip
Change this to use the ETable widget itself instead of building it from
2000-03-04 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Change this to use the ETable widget itself instead of building it from all the parts. svn path=/trunk/; revision=2043
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/message-list.c8
2 files changed, 10 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 867cabb05e..ce03474523 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2000-03-04 Christopher James Lahey <clahey@helixcode.com>
+
+ * message-list.c: Change this to use the ETable widget itself
+ instead of building it from all the parts.
+
2000-03-03 Christopher James Lahey <clahey@helixcode.com>
* message-list.c: Ref the table columns since we unref them at the
diff --git a/mail/message-list.c b/mail/message-list.c
index 3f334b02df..8e6d4dbaa3 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -262,6 +262,7 @@ set_content_size (GnomeCanvas *canvas, GtkAllocation *alloc)
gnome_canvas_set_scroll_region (canvas, 0, 0, alloc->width, alloc->height);
}
+#if 0
static GtkWidget *
make_etable (MessageList *message_list)
{
@@ -314,6 +315,7 @@ make_etable (MessageList *message_list)
return t;
}
+#endif
/*
* GtkObject::init
@@ -334,9 +336,9 @@ message_list_init (GtkObject *object)
/*
* The etable
*/
-
- message_list->etable = make_etable (message_list);
-
+
+ message_list->etable = e_table_new (message_list->header_model, message_list->table_model, "<ETableSpecification> <columns-shown> <column> 0 </column> <column> 1 </column> <column> 2 </column> <column> 3 </column> <column> 4 </column> <column> 5 </column> <column> 6 </column> <column> 7 </column> <column> 8 </column> <column> 9 </column> </columns-shown> <grouping> <leaf column=\"0\" ascending=\"1\"/> </grouping> </ETableSpecification>");
+
/*
* We do own the Etable, not some widget container
*/