From e7a31c5035a0afeed6c1675e30487c1e2bdc139f Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 24 Oct 2008 23:02:33 +0000 Subject: Commit recent work so I can merge from trunk. svn path=/branches/kill-bonobo/; revision=36684 --- mail/e-mail-shell-sidebar.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'mail/e-mail-shell-sidebar.h') diff --git a/mail/e-mail-shell-sidebar.h b/mail/e-mail-shell-sidebar.h index ff35b96c0d..8c4e2404b3 100644 --- a/mail/e-mail-shell-sidebar.h +++ b/mail/e-mail-shell-sidebar.h @@ -24,6 +24,7 @@ #include #include +#include /* Standard GObject macros */ #define E_TYPE_MAIL_SHELL_SIDEBAR \ @@ -50,6 +51,13 @@ typedef struct _EMailShellSidebar EMailShellSidebar; typedef struct _EMailShellSidebarClass EMailShellSidebarClass; typedef struct _EMailShellSidebarPrivate EMailShellSidebarPrivate; +enum { + E_BOOK_SHELL_SIDEBAR_FOLDER_ALLOWS_CHILDREN = 1 << 0, + E_BOOK_SHELL_SIDEBAR_FOLDER_CAN_DELETE = 1 << 1, + E_BOOK_SHELL_SIDEBAR_FOLDER_IS_OUTBOX = 1 << 2, + E_BOOK_SHELL_SIDEBAR_FOLDER_IS_STORE = 1 << 3 +}; + struct _EMailShellSidebar { EShellSidebar parent; EMailShellSidebarPrivate *priv; @@ -61,6 +69,8 @@ struct _EMailShellSidebarClass { GType e_mail_shell_sidebar_get_type (void); GtkWidget * e_mail_shell_sidebar_new (EShellView *shell_view); +EMFolderTree * e_mail_shell_sidebar_get_folder_tree + (EMailShellSidebar *mail_shell_sidebar); G_END_DECLS -- cgit v1.2.3