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/message-list.c | |
parent | 70131e1677eebdefa01d981edcafa4cbbf02f471 (diff) | |
download | gsoc2013-evolution-625a04713d6b3d36d99eccfa1de484ad3991bfe0.tar.gz 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/message-list.c')
-rw-r--r-- | mail/message-list.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/mail/message-list.c b/mail/message-list.c index 59ce592f7e..4f02e1d7b8 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -1655,12 +1655,18 @@ message_list_foreach (MessageList *message_list, } void -message_list_toggle_threads (BonoboUIHandler *uih, void *user_data, - const char *path) +message_list_toggle_threads (BonoboUIComponent *component, + const char *path, + Bonobo_UIComponent_EventType type, + const char *state, + gpointer user_data) { MessageList *ml = user_data; - mail_config_set_thread_list (bonobo_ui_handler_menu_get_toggle_state (uih, path)); + if (type != Bonobo_UIComponent_STATE_CHANGED) + return; + + mail_config_set_thread_list (atoi (state)); mail_do_regenerate_messagelist (ml, ml->search); } |