aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/e-summary-mail.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2003-01-10 11:15:01 +0800
committerMichael Zucci <zucchi@src.gnome.org>2003-01-10 11:15:01 +0800
commit2a3599cb5230737336371fcf50dc214a4b78fe81 (patch)
treeb27c074e2e1a7c61810bdf64dc69d2e2841fffae /my-evolution/e-summary-mail.c
parent7a00f56defc7956b6025eb30c03713971dd1f6fc (diff)
downloadgsoc2013-evolution-2a3599cb5230737336371fcf50dc214a4b78fe81.tar
gsoc2013-evolution-2a3599cb5230737336371fcf50dc214a4b78fe81.tar.gz
gsoc2013-evolution-2a3599cb5230737336371fcf50dc214a4b78fe81.tar.bz2
gsoc2013-evolution-2a3599cb5230737336371fcf50dc214a4b78fe81.tar.lz
gsoc2013-evolution-2a3599cb5230737336371fcf50dc214a4b78fe81.tar.xz
gsoc2013-evolution-2a3599cb5230737336371fcf50dc214a4b78fe81.tar.zst
gsoc2013-evolution-2a3599cb5230737336371fcf50dc214a4b78fe81.zip
glist->gslist for display_folders list (mail_change_notify): "
2003-01-10 Not Zed <NotZed@Ximian.com> * e-summary-mail.c (new_folder_cb): glist->gslist for display_folders list (mail_change_notify): " (e_summary_mail_reconfigure): ", and also traverse the list forwards, since we can't go backwards since its now an slist. * e-summary-preferences.c (e_summary_preferences_restore): append new folder entries to the folders list. (config_control_apply_cb): display_folders is a list of folders, not a list of strings, treat accordingly. svn path=/trunk/; revision=19389
Diffstat (limited to 'my-evolution/e-summary-mail.c')
-rw-r--r--my-evolution/e-summary-mail.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/my-evolution/e-summary-mail.c b/my-evolution/e-summary-mail.c
index 8be64a05c8..20684dbb0f 100644
--- a/my-evolution/e-summary-mail.c
+++ b/my-evolution/e-summary-mail.c
@@ -226,7 +226,7 @@ new_folder_cb (EvolutionStorageListener *listener,
{
ESummaryPrefs *global_preferences;
ESummaryMailFolder *mail_folder;
- GList *p;
+ GSList *p;
if (strcmp (folder->type, "mail") != 0)
return;
@@ -322,7 +322,7 @@ mail_change_notify (BonoboListener *listener,
GNOME_Evolution_FolderInfo_MessageCount *count;
ESummaryMailFolder *folder;
ESummaryPrefs *global_preferences;
- GList *p;
+ GSList *p;
count = arg->_value;
folder = g_hash_table_lookup (folder_store->physical_uri_to_folder, count->path);
@@ -517,13 +517,14 @@ void
e_summary_mail_reconfigure (void)
{
ESummaryPrefs *preferences;
- GList *old, *p;
+ GList *old;
+ GSList *p;
old = folder_store->shown;
folder_store->shown = NULL;
preferences = e_summary_preferences_get_global ();
- for (p = g_list_last (preferences->display_folders); p; p = p->prev) {
+ for (p = preferences->display_folders; p; p = p->next) {
ESummaryMailFolder *folder;
ESummaryPrefsFolder *f = p->data;
char *uri;