aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-11-14 03:33:47 +0800
committerChris Lahey <clahey@src.gnome.org>2000-11-14 03:33:47 +0800
commita53ac3867bb028e0b318aa9fcfda00657b1cfd7d (patch)
treea6bb7c2a29106043d687cbe0cecd17ff5bbb3123 /mail
parentf300ac0095fc9830abe1133ca8e3c6a8f1433723 (diff)
downloadgsoc2013-evolution-a53ac3867bb028e0b318aa9fcfda00657b1cfd7d.tar
gsoc2013-evolution-a53ac3867bb028e0b318aa9fcfda00657b1cfd7d.tar.gz
gsoc2013-evolution-a53ac3867bb028e0b318aa9fcfda00657b1cfd7d.tar.bz2
gsoc2013-evolution-a53ac3867bb028e0b318aa9fcfda00657b1cfd7d.tar.lz
gsoc2013-evolution-a53ac3867bb028e0b318aa9fcfda00657b1cfd7d.tar.xz
gsoc2013-evolution-a53ac3867bb028e0b318aa9fcfda00657b1cfd7d.tar.zst
gsoc2013-evolution-a53ac3867bb028e0b318aa9fcfda00657b1cfd7d.zip
Update the gal reqiurement version.
2000-11-13 Christopher James Lahey <clahey@helixcode.com> * configure.in: Update the gal reqiurement version. From mail/ChangeLog: 2000-11-13 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Removed some e_table_model calls and replaced them with e_tree_model calls. svn path=/trunk/; revision=6564
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 56239bb8aa..e623dab024 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2000-11-13 Christopher James Lahey <clahey@helixcode.com>
+
+ * message-list.c: Removed some e_table_model calls and replaced
+ them with e_tree_model calls.
+
2000-11-12 Dan Winship <danw@helixcode.com>
* mail-local.c (mail_do_register_folder): Do this the normal way
diff --git a/mail/message-list.c b/mail/message-list.c
index b1fcd8843f..8ea8c35677 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -1189,7 +1189,7 @@ clear_tree (MessageList *ml)
free_tree_ids(etm);
if (ml->tree_root) {
- e_table_model_pre_change((ETableModel *)etm);
+ /* FIXME: Freeze here, buddy. */
e_tree_model_node_remove (etm, ml->tree_root);
}
@@ -1333,9 +1333,7 @@ build_tree (MessageList *ml, struct _thread_messages *thread)
top = e_tree_model_node_get_first_child(etm, ml->tree_root);
if (top == NULL) {
- e_table_model_pre_change(ml->table_model);
build_subtree(ml, ml->tree_root, thread->tree, &row, expanded_nodes);
- e_table_model_changed(ml->table_model);
} else {
build_subtree_diff(ml, ml->tree_root, top, thread->tree, &row, expanded_nodes);
}
@@ -1389,6 +1387,8 @@ build_subtree (MessageList *ml, ETreePath *parent, struct _container *c, int *ro
char *id;
int expanded = FALSE;
+ e_tree_model_freeze (tree);
+
while (c) {
if (c->message) {
id = new_id_from_uid(c->message->uid);
@@ -1414,6 +1414,8 @@ build_subtree (MessageList *ml, ETreePath *parent, struct _container *c, int *ro
}
c = c->next;
}
+
+ e_tree_model_thaw (tree);
}
/* compares a thread tree node with the etable tree node to see if they point to