diff options
author | Milan Crha <mcrha@redhat.com> | 2011-09-26 17:45:59 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2011-09-26 17:45:59 +0800 |
commit | e0548d25707ad8c4713e2e74c622a92bf4988545 (patch) | |
tree | be2dd1051fa169b90b959cd80b9729a1416d0393 /mail/em-folder-tree-model.h | |
parent | 4046d1944855274c8a6c406392ee734943142f90 (diff) | |
download | gsoc2013-evolution-e0548d25707ad8c4713e2e74c622a92bf4988545.tar.gz gsoc2013-evolution-e0548d25707ad8c4713e2e74c622a92bf4988545.tar.zst gsoc2013-evolution-e0548d25707ad8c4713e2e74c622a92bf4988545.zip |
Bug #351025 - Make the order of the mail accounts configurable
Diffstat (limited to 'mail/em-folder-tree-model.h')
-rw-r--r-- | mail/em-folder-tree-model.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/mail/em-folder-tree-model.h b/mail/em-folder-tree-model.h index 1bf5483367..3765cfea11 100644 --- a/mail/em-folder-tree-model.h +++ b/mail/em-folder-tree-model.h @@ -26,6 +26,7 @@ #include <gtk/gtk.h> #include <camel/camel.h> +#include <mail/e-mail-backend.h> #include <mail/e-mail-session.h> /* Standard GObject macros */ @@ -72,6 +73,7 @@ enum { * been added to the tree */ COL_UINT_UNREAD_LAST_SEL, /* last known unread count */ COL_BOOL_IS_DRAFT, /* %TRUE for a draft folder */ + COL_UINT_SORTORDER, /* user sort-order for the node */ NUM_COLUMNS }; @@ -109,9 +111,9 @@ struct _EMFolderTreeModelClass { GType em_folder_tree_model_get_type (void); EMFolderTreeModel * - em_folder_tree_model_new (void); + em_folder_tree_model_new (EMailBackend *mail_backend); EMFolderTreeModel * - em_folder_tree_model_get_default (void); + em_folder_tree_model_get_default (EMailBackend *mail_backend); GtkTreeSelection * em_folder_tree_model_get_selection (EMFolderTreeModel *model); @@ -123,6 +125,11 @@ EMailSession * em_folder_tree_model_get_session void em_folder_tree_model_set_session (EMFolderTreeModel *model, EMailSession *session); +EMailBackend * em_folder_tree_model_get_backend + (EMFolderTreeModel *model); +void em_folder_tree_model_set_backend + (EMFolderTreeModel *model, + EMailBackend *backend); void em_folder_tree_model_set_folder_info (EMFolderTreeModel *model, GtkTreeIter *iter, |