aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-list.h
diff options
context:
space:
mode:
authorNot Zed <NotZed@HelixCode.com>2000-07-06 16:44:01 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-07-06 16:44:01 +0800
commit6cabd25cfa2f9438f4806e368b51373fac163d40 (patch)
tree7a6b1a51822840e2791d9991f498db31ce370c3d /mail/message-list.h
parent37d86e0921afbd7a3ae89132e3b21ea6a67cfc49 (diff)
downloadgsoc2013-evolution-6cabd25cfa2f9438f4806e368b51373fac163d40.tar
gsoc2013-evolution-6cabd25cfa2f9438f4806e368b51373fac163d40.tar.gz
gsoc2013-evolution-6cabd25cfa2f9438f4806e368b51373fac163d40.tar.bz2
gsoc2013-evolution-6cabd25cfa2f9438f4806e368b51373fac163d40.tar.lz
gsoc2013-evolution-6cabd25cfa2f9438f4806e368b51373fac163d40.tar.xz
gsoc2013-evolution-6cabd25cfa2f9438f4806e368b51373fac163d40.tar.zst
gsoc2013-evolution-6cabd25cfa2f9438f4806e368b51373fac163d40.zip
Setup the subject renderer to a tree in tree mode. (on_cursor_change_cmd):
2000-07-06 Not Zed <NotZed@HelixCode.com> * message-list.c (message_list_init_header): Setup the subject renderer to a tree in tree mode. (on_cursor_change_cmd): For a tree model, map the view row to the data row. (build_tree): Builds the tree data structure of all messages. (message_list_set_search): For a tree model, build the tree here. (ml_tree_icon_at): Icon callback, returns nothing. (ml_tree_value_at): (ml_tree_set_value_at): (ml_tree_is_cell_editable): Maps tree node to data row, and calls the equivalent table callback (message_list_init_renderers): Setup the tree renderer if needed. * message-list.h: Add a tree renderer to render list, and tree_view indicator. svn path=/trunk/; revision=3921
Diffstat (limited to 'mail/message-list.h')
-rw-r--r--mail/message-list.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/mail/message-list.h b/mail/message-list.h
index 8e43888663..0e21e69998 100644
--- a/mail/message-list.h
+++ b/mail/message-list.h
@@ -8,9 +8,11 @@
#include "camel/camel-folder.h"
#include "e-table/e-table.h"
#include "e-table/e-table-simple.h"
+#include "e-table/e-tree-simple.h"
#include "e-table/e-cell-text.h"
#include "e-table/e-cell-toggle.h"
#include "e-table/e-cell-checkbox.h"
+#include "e-table/e-cell-tree.h"
#include "folder-browser.h"
@@ -59,6 +61,9 @@ struct _MessageList {
ECell *render_message_status;
ECell *render_priority;
ECell *render_attachment;
+ ECell *render_tree;
+
+ ETreePath *tree_root; /* for tree view */
GtkWidget *etable;
@@ -78,6 +83,8 @@ 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 {