aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser-factory.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/folder-browser-factory.c')
-rw-r--r--mail/folder-browser-factory.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mail/folder-browser-factory.c b/mail/folder-browser-factory.c
index c629e00151..7f590465ea 100644
--- a/mail/folder-browser-factory.c
+++ b/mail/folder-browser-factory.c
@@ -189,14 +189,14 @@ control_activate (BonoboControl *control,
if (mail_config_thread_list ())
bonobo_ui_component_set_prop (
- uic, "/menu/View/Threaded", "state", "1", NULL);
+ uic, "/commands/ViewThreaded", "state", "1", NULL);
else
bonobo_ui_component_set_prop (
- uic, "/menu/View/Threaded", "state", "0", NULL);
+ uic, "/commands/ViewThreaded", "state", "0", NULL);
- bonobo_ui_component_add_verb (
+ bonobo_ui_component_add_listener (
uic, "ViewThreaded",
- (BonoboUIVerbFn) message_list_toggle_threads,
+ message_list_toggle_threads,
FOLDER_BROWSER (folder_browser)->message_list);
create_ondemand_hooks (fb, uic);