diff options
author | Not Zed <NotZed@HelixCode.com> | 2000-11-02 11:36:48 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2000-11-02 11:36:48 +0800 |
commit | 6db2305b3345ebb436c81bda685ccf1cb8bcbfa7 (patch) | |
tree | e1abcc38d5d1e928d4292424fc6a1b6b0843b006 /mail/message-list.h | |
parent | f351369e5127337eb95185ac764b6744faf4b87f (diff) | |
download | gsoc2013-evolution-6db2305b3345ebb436c81bda685ccf1cb8bcbfa7.tar.gz gsoc2013-evolution-6db2305b3345ebb436c81bda685ccf1cb8bcbfa7.tar.zst gsoc2013-evolution-6db2305b3345ebb436c81bda685ccf1cb8bcbfa7.zip |
** Merged in camel-incremental-branch.
2000-11-02 Not Zed <NotZed@HelixCode.com>
** Merged in camel-incremental-branch.
* mail-format.c (mail_get_message_body): Jeff! Sigh.
We should definetly not be strduping the
content, it has already been copied and duplicated. Look at
get_data_wrapper_text.
svn path=/trunk/; revision=6337
Diffstat (limited to 'mail/message-list.h')
-rw-r--r-- | mail/message-list.h | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/mail/message-list.h b/mail/message-list.h index e66dc74a55..45a902e856 100644 --- a/mail/message-list.h +++ b/mail/message-list.h @@ -51,20 +51,24 @@ struct _MessageList { /* the folder browser that contains the * this message list */ + /* FIXME: This MUST BE REMOVED from this structure. If we need access to the + mail-display, we should store that instead ... */ FolderBrowser *parent_folder_browser; ETableModel *table_model; - ETreePath *tree_root; /* for tree view */ + ETreePath *tree_root; GtkWidget *etable; CamelFolder *folder; + + GHashTable *uid_rowmap; /* key is the uid, value is the row number. + Note: The key string is owned by table_model */ - GHashTable *uid_rowmap; - - char *search; /* search string */ - + char *search; /* current search string */ + + gboolean threaded; /* are we displaying threaded view? */ int cursor_row; const char *cursor_uid; @@ -86,6 +90,7 @@ typedef enum { } MessageListSelectDirection; GtkType message_list_get_type (void); +/* FIXME: We should be passing the MailDisplay to the list, or maybe raise signals instead */ BonoboObject *message_list_new (FolderBrowser *parent_folder_browser); void message_list_set_folder (MessageList *message_list, CamelFolder *camel_folder); @@ -100,10 +105,10 @@ void message_list_select (MessageList *message_list, MessageListSelectDirection direction, guint32 flags, guint32 mask); -void message_list_home (MessageList *message_list); -void message_list_end (MessageList *message_list); +void message_list_set_threaded(MessageList *ml, gboolean threaded); +void message_list_set_search(MessageList *ml, const char *search); -extern gboolean threaded_view; +/* FIXME: This should be an external callback that calls set_threaded() */ void message_list_toggle_threads (BonoboUIComponent *component, const char *path, Bonobo_UIComponent_EventType type, |