diff options
author | Michael Meeks <michael@helixcode.com> | 2000-10-09 20:01:27 +0800 |
---|---|---|
committer | Michael Meeks <mmeeks@src.gnome.org> | 2000-10-09 20:01:27 +0800 |
commit | 625a04713d6b3d36d99eccfa1de484ad3991bfe0 (patch) | |
tree | 9d3bff7873ff8ebf729d0a689baaf563c04bc3cf /mail/folder-browser-factory.c | |
parent | 70131e1677eebdefa01d981edcafa4cbbf02f471 (diff) | |
download | gsoc2013-evolution-625a04713d6b3d36d99eccfa1de484ad3991bfe0.tar gsoc2013-evolution-625a04713d6b3d36d99eccfa1de484ad3991bfe0.tar.gz gsoc2013-evolution-625a04713d6b3d36d99eccfa1de484ad3991bfe0.tar.bz2 gsoc2013-evolution-625a04713d6b3d36d99eccfa1de484ad3991bfe0.tar.lz gsoc2013-evolution-625a04713d6b3d36d99eccfa1de484ad3991bfe0.tar.xz gsoc2013-evolution-625a04713d6b3d36d99eccfa1de484ad3991bfe0.tar.zst gsoc2013-evolution-625a04713d6b3d36d99eccfa1de484ad3991bfe0.zip |
re-write.
2000-10-09 Michael Meeks <michael@helixcode.com>
* message-list.c (message_list_toggle_threads): re-write.
* folder-browser-factory.c (control_activate): update paths, need
CVS HEAD bonobo, use a listener not a verb.
svn path=/trunk/; revision=5792
Diffstat (limited to 'mail/folder-browser-factory.c')
-rw-r--r-- | mail/folder-browser-factory.c | 8 |
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); |