diff options
-rw-r--r-- | mail/ChangeLog | 4 | ||||
-rw-r--r-- | mail/message-list.c | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 039653a794..ced01de2a7 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,7 @@ +2001-09-26 Christopher James Lahey <clahey@ximian.com> + + * message-list.c (mlfe_callback): Check for the root node here. + 2001-09-26 Jeffrey Stedfast <fejj@ximian.com> * mail-mt.c (do_get_pass): Change the wording of the password diff --git a/mail/message-list.c b/mail/message-list.c index da895d619f..f78e4beb99 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -2058,6 +2058,9 @@ mlfe_callback (ETreePath path, gpointer user_data) { struct message_list_foreach_data *mlfe_data = user_data; const char *uid; + + if (e_tree_model_node_is_root (mlfe_data->message_list->model, path)) + return; uid = get_message_uid (mlfe_data->message_list, path); |