aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-list.h
diff options
context:
space:
mode:
authorBertrand Guiheneuf <bertrand@src.gnome.org>2000-03-06 17:38:42 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>2000-03-06 17:38:42 +0800
commit7c164f12b9ae13cd2f7e068b1b8626701ab8390f (patch)
tree4027d784956aee7e7b28b78b563edcb639645cd5 /mail/message-list.h
parentffad0d32ceef317c2995378f654e8214629948f0 (diff)
downloadgsoc2013-evolution-7c164f12b9ae13cd2f7e068b1b8626701ab8390f.tar
gsoc2013-evolution-7c164f12b9ae13cd2f7e068b1b8626701ab8390f.tar.gz
gsoc2013-evolution-7c164f12b9ae13cd2f7e068b1b8626701ab8390f.tar.bz2
gsoc2013-evolution-7c164f12b9ae13cd2f7e068b1b8626701ab8390f.tar.lz
gsoc2013-evolution-7c164f12b9ae13cd2f7e068b1b8626701ab8390f.tar.xz
gsoc2013-evolution-7c164f12b9ae13cd2f7e068b1b8626701ab8390f.tar.zst
gsoc2013-evolution-7c164f12b9ae13cd2f7e068b1b8626701ab8390f.zip
More changes than a man can remember.
The UI works now. svn path=/trunk/; revision=2074
Diffstat (limited to 'mail/message-list.h')
-rw-r--r--mail/message-list.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/mail/message-list.h b/mail/message-list.h
index 40cc924e24..16e60c21f0 100644
--- a/mail/message-list.h
+++ b/mail/message-list.h
@@ -1,6 +1,8 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
#ifndef _MESSAGE_LIST_H_
#define _MESSAGE_LIST_H_
+#include "mail-types.h"
#include <bonobo/bonobo-main.h>
#include <bonobo/bonobo-object.h>
#include "camel/camel-folder.h"
@@ -9,6 +11,8 @@
#include "e-table/e-cell-text.h"
#include "e-table/e-cell-toggle.h"
#include "e-table/e-cell-checkbox.h"
+#include "folder-browser.h"
+
#define MESSAGE_LIST_TYPE (message_list_get_type ())
#define MESSAGE_LIST(o) (GTK_CHECK_CAST ((o), MESSAGE_LIST_TYPE, MessageList))
@@ -18,6 +22,7 @@
typedef struct _Renderer Renderer;
+
enum {
COL_ONLINE_STATUS,
COL_MESSAGE_STATUS,
@@ -33,9 +38,13 @@ enum {
COL_LAST
};
-typedef struct {
+struct _MessageList {
BonoboObject parent;
+ /* the folder browser that contains the
+ * this message list */
+ FolderBrowser *parent_folder_browser;
+
ETableModel *table_model;
ETableHeader *header_model;
ETableCol *table_cols [COL_LAST];
@@ -50,14 +59,14 @@ typedef struct {
CamelFolder *folder;
CamelFolderSummary *folder_summary;
-} MessageList;
+} ;
typedef struct {
BonoboObjectClass parent_class;
} MessageListClass;
GtkType message_list_get_type (void);
-BonoboObject *message_list_new (void);
+BonoboObject *message_list_new (FolderBrowser *parent_folder_browser);
void message_list_set_folder (MessageList *message_list,
CamelFolder *camel_folder);
GtkWidget *message_list_get_widget (MessageList *message_list);