aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--my-evolution/ChangeLog7
-rw-r--r--my-evolution/e-summary-mail.c2
-rw-r--r--my-evolution/e-summary-preferences.c5
3 files changed, 11 insertions, 3 deletions
diff --git a/my-evolution/ChangeLog b/my-evolution/ChangeLog
index 28a5bc57c7..c91de03357 100644
--- a/my-evolution/ChangeLog
+++ b/my-evolution/ChangeLog
@@ -1,3 +1,10 @@
+2002-01-22 Iain Holmes <iain@ximian.com>
+
+ * e-summary-mail (e_summary_mail_reconfigure): Do the list backwards.
+
+ * e-summary-preferences.c (fill_mail_shown_clist): Prepend items.
+ (mail_add_clicked_cb): Prepend items.
+
2002-01-04 Iain Holmes <iain@ximian.com>
* e-summary-weather.c (message_finished): Made the Weather message
diff --git a/my-evolution/e-summary-mail.c b/my-evolution/e-summary-mail.c
index cad51b1c2d..90d6bddd91 100644
--- a/my-evolution/e-summary-mail.c
+++ b/my-evolution/e-summary-mail.c
@@ -434,7 +434,7 @@ e_summary_mail_reconfigure (ESummary *summary)
old = mail->shown;
mail->shown = NULL;
- for (p = summary->preferences->display_folders; p; p = p->next) {
+ for (p = g_list_last (summary->preferences->display_folders); p; p = p->prev) {
ESummaryMailFolder *folder;
char *uri;
diff --git a/my-evolution/e-summary-preferences.c b/my-evolution/e-summary-preferences.c
index 1a821601cf..09f9996e2d 100644
--- a/my-evolution/e-summary-preferences.c
+++ b/my-evolution/e-summary-preferences.c
@@ -660,7 +660,7 @@ fill_mail_shown_clist (GtkCList *clist,
} else {
text[0] = (char *) name + 1; /* GtkCList sucks. */
}
- row = gtk_clist_append (clist, text);
+ row = gtk_clist_prepend (clist, text);
gtk_clist_set_row_data (clist, row, p);
}
}
@@ -747,7 +747,7 @@ mail_add_clicked_cb (GtkButton *button,
text[0] = rd->name + 1;
row = gtk_clist_append (GTK_CLIST (pd->mail->shown), text);
- pd->summary->preferences->display_folders = g_list_append (pd->summary->preferences->display_folders,
+ pd->summary->preferences->display_folders = g_list_prepend (pd->summary->preferences->display_folders,
g_strdup (rd->uri + 7));
gtk_clist_set_row_data (GTK_CLIST (pd->mail->shown), row, pd->summary->preferences->display_folders);
@@ -859,6 +859,7 @@ rdf_add_clicked_cb (GtkButton *button,
return;
}
}
+
pd->summary->preferences->rdf_urls = g_list_prepend (pd->summary->preferences->rdf_urls, g_strdup (info->url));
row = gtk_clist_prepend (GTK_CLIST (pd->rdf->shown), text);