aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser-ui.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-01-23 11:09:31 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-01-23 11:09:31 +0800
commit8825b35b7613fd532813a422b908a097c2791513 (patch)
treec03b982ca2c1404c9e06c5a3e695a471d7ef89f7 /mail/folder-browser-ui.c
parentc9d980f3b91cdd426177d827596dc10aa2cc595d (diff)
downloadgsoc2013-evolution-8825b35b7613fd532813a422b908a097c2791513.tar
gsoc2013-evolution-8825b35b7613fd532813a422b908a097c2791513.tar.gz
gsoc2013-evolution-8825b35b7613fd532813a422b908a097c2791513.tar.bz2
gsoc2013-evolution-8825b35b7613fd532813a422b908a097c2791513.tar.lz
gsoc2013-evolution-8825b35b7613fd532813a422b908a097c2791513.tar.xz
gsoc2013-evolution-8825b35b7613fd532813a422b908a097c2791513.tar.zst
gsoc2013-evolution-8825b35b7613fd532813a422b908a097c2791513.zip
Removed. (mail_config_set_thread_list): Removed.
2003-01-22 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_get_thread_list): Removed. (mail_config_set_thread_list): Removed. (mail_config_uri_renamed): No longer needs to change threaded state for each url either. (mail_config_write_on_exit): Updated. * folder-browser-ui.c (folder_browser_ui_add_list): Get the threaded state via gconf. * folder-browser.c (folder_browser_toggle_threads): Save the threaded state. svn path=/trunk/; revision=19580
Diffstat (limited to 'mail/folder-browser-ui.c')
-rw-r--r--mail/folder-browser-ui.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/mail/folder-browser-ui.c b/mail/folder-browser-ui.c
index 9ce54a16b3..24916b59bf 100644
--- a/mail/folder-browser-ui.c
+++ b/mail/folder-browser-ui.c
@@ -577,12 +577,13 @@ folder_browser_ui_add_list (FolderBrowser *fb)
fbui_sensitise_item (fb, "HideDeleted", FALSE);
/* Threaded toggle */
- state = mail_config_get_thread_list (FOLDER_BROWSER (fb)->uri);
+ state = gconf_client_get_bool (gconf, "/apps/evolution/mail/display/thread_list", NULL);
bonobo_ui_component_set_prop (uic, "/commands/ViewThreaded", "state", state ? "1" : "0", NULL);
bonobo_ui_component_add_listener (uic, "ViewThreaded", folder_browser_toggle_threads, fb);
- /* FIXME: this kind of bypasses bonobo but seems the only way when we change components */
- folder_browser_toggle_threads (uic, "", Bonobo_UIComponent_STATE_CHANGED,
- state ? "1" : "0", fb);
+ message_list_set_threaded (fb->message_list, state);
+ state = fb->selection_state;
+ fb->selection_state = FB_SELSTATE_UNDEFINED;
+ folder_browser_ui_set_selection_state (fb, state);
/* Property menu */
folder_browser_setup_property_menu (fb, fb->uicomp);