aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/e-summary-preferences.c
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2001-09-19 08:11:58 +0800
committerIain Holmes <iain@src.gnome.org>2001-09-19 08:11:58 +0800
commitb8fc17e8f9af33733e57aeeb5436bbd8c2c6076d (patch)
treee3701b9fd937f621f4aecd2194016de78dc14a6a /my-evolution/e-summary-preferences.c
parent49dc2eda6d496eff3de0d3c2eddaa5fc74c625c0 (diff)
downloadgsoc2013-evolution-b8fc17e8f9af33733e57aeeb5436bbd8c2c6076d.tar
gsoc2013-evolution-b8fc17e8f9af33733e57aeeb5436bbd8c2c6076d.tar.gz
gsoc2013-evolution-b8fc17e8f9af33733e57aeeb5436bbd8c2c6076d.tar.bz2
gsoc2013-evolution-b8fc17e8f9af33733e57aeeb5436bbd8c2c6076d.tar.lz
gsoc2013-evolution-b8fc17e8f9af33733e57aeeb5436bbd8c2c6076d.tar.xz
gsoc2013-evolution-b8fc17e8f9af33733e57aeeb5436bbd8c2c6076d.tar.zst
gsoc2013-evolution-b8fc17e8f9af33733e57aeeb5436bbd8c2c6076d.zip
Keep the mail folders in the correct order
svn path=/trunk/; revision=12963
Diffstat (limited to 'my-evolution/e-summary-preferences.c')
-rw-r--r--my-evolution/e-summary-preferences.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/my-evolution/e-summary-preferences.c b/my-evolution/e-summary-preferences.c
index 43484c26be..3bdb6a6911 100644
--- a/my-evolution/e-summary-preferences.c
+++ b/my-evolution/e-summary-preferences.c
@@ -704,8 +704,8 @@ 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_prepend (pd->summary->preferences->display_folders,
- g_strdup (rd->uri + 7));
+ pd->summary->preferences->display_folders = g_list_append (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);
gnome_property_box_changed (pd->box);
@@ -726,6 +726,7 @@ mail_remove_clicked_cb (GtkButton *button,
g_free (p->data);
g_list_free (p);
+ gtk_clist_select_row (GTK_CLIST (pd->mail->shown), row, 0);
gnome_property_box_changed (pd->box);
}