aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/message-list.c8
2 files changed, 10 insertions, 4 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 6f955f49d4..dedc1e5203 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2001-09-26 Christopher James Lahey <clahey@ximian.com>
+
+ * message-list.c (message_list_foreach): Use
+ e_tree_selected_path_foreach instead of
+ e_tree_selected_row_foreach here.
+
2001-09-27 Michael Meeks <michael@ximian.com>
* mail-config.c (mail_config_init): report the
diff --git a/mail/message-list.c b/mail/message-list.c
index 4d083819fb..da895d619f 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -2054,13 +2054,13 @@ struct message_list_foreach_data {
};
static void
-mlfe_callback (int row, gpointer user_data)
+mlfe_callback (ETreePath path, gpointer user_data)
{
struct message_list_foreach_data *mlfe_data = user_data;
const char *uid;
uid = get_message_uid (mlfe_data->message_list,
- e_tree_node_at_row (mlfe_data->message_list->tree, row));
+ path);
if (uid) {
mlfe_data->callback (mlfe_data->message_list, uid,
mlfe_data->user_data);
@@ -2081,8 +2081,8 @@ message_list_foreach (MessageList *message_list,
mlfe_data.message_list = message_list;
mlfe_data.callback = callback;
mlfe_data.user_data = user_data;
- e_tree_selected_row_foreach (message_list->tree,
- mlfe_callback, &mlfe_data);
+ e_tree_selected_path_foreach (message_list->tree,
+ mlfe_callback, &mlfe_data);
}
/* set whether we are in threaded view or flat view */