aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2002-01-24 22:21:20 +0800
committerIain Holmes <iain@src.gnome.org>2002-01-24 22:21:20 +0800
commitd435a965c2b02c20429c3f858378fb296167f7be (patch)
treecac9f16ab3aa968784401f08da01355dae87ad09
parent6336d0f2e6350ac2649bf2919830e8381d883701 (diff)
downloadgsoc2013-evolution-d435a965c2b02c20429c3f858378fb296167f7be.tar.gz
gsoc2013-evolution-d435a965c2b02c20429c3f858378fb296167f7be.tar.zst
gsoc2013-evolution-d435a965c2b02c20429c3f858378fb296167f7be.zip
Fix the mail order stuff
svn path=/trunk/; revision=15449
-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);