diff options
author | Dan Winship <danw@src.gnome.org> | 2000-07-09 11:06:56 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-07-09 11:06:56 +0800 |
commit | 1cc1f0a7a777be8ae409bbfbf6299167493ebddd (patch) | |
tree | 0d50552a55862fa87ec90b7b0ef112314b4212f0 /mail/message-list.h | |
parent | 541c90527905994cdabb45d98398600a88db7b18 (diff) | |
download | gsoc2013-evolution-1cc1f0a7a777be8ae409bbfbf6299167493ebddd.tar.gz gsoc2013-evolution-1cc1f0a7a777be8ae409bbfbf6299167493ebddd.tar.zst gsoc2013-evolution-1cc1f0a7a777be8ae409bbfbf6299167493ebddd.zip |
Add a "Threaded Message List" item to the "View" menu.
* folder-browser-factory.c (control_activate): Add a "Threaded
Message List" item to the "View" menu.
* message-list.c (message_list_toggle_threads): Handler for that.
(build_flat): New function to build a "flat" message list using
the tree model.
(message_list_regenerate): Build tree or flat message list
depending on the global setting.
svn path=/trunk/; revision=3999
Diffstat (limited to 'mail/message-list.h')
-rw-r--r-- | mail/message-list.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/mail/message-list.h b/mail/message-list.h index bd4c37f42e..8f3f87073f 100644 --- a/mail/message-list.h +++ b/mail/message-list.h @@ -5,6 +5,7 @@ #include "mail-types.h" #include <bonobo/bonobo-main.h> #include <bonobo/bonobo-object.h> +#include <bonobo/bonobo-ui-handler.h> #include "camel/camel-folder.h" #include "e-table/e-table.h" #include "e-table/e-table-simple.h" @@ -78,8 +79,6 @@ struct _MessageList { /* row-selection and seen-marking timers */ guint idle_id, seen_id; - - gboolean is_tree_view; /* if we're doing tree view */ }; typedef struct { @@ -104,5 +103,10 @@ void message_list_foreach (MessageList *message_list, void message_list_select_next(MessageList *message_list, int row, guint32 flags, guint32 mask); +extern gboolean threaded_view; +void message_list_toggle_threads (BonoboUIHandler *uih, + void *user_data, + const char *path); + #endif /* _MESSAGE_LIST_H_ */ |