Fix the mail order stuff
svn path=/trunk/; revision=15449
This commit is contained in:
@ -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
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user