aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-account-tree-view.h
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-09-26 17:45:59 +0800
committerMilan Crha <mcrha@redhat.com>2011-09-26 17:45:59 +0800
commite0548d25707ad8c4713e2e74c622a92bf4988545 (patch)
treebe2dd1051fa169b90b959cd80b9729a1416d0393 /widgets/misc/e-account-tree-view.h
parent4046d1944855274c8a6c406392ee734943142f90 (diff)
downloadgsoc2013-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 'widgets/misc/e-account-tree-view.h')
-rw-r--r--widgets/misc/e-account-tree-view.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/widgets/misc/e-account-tree-view.h b/widgets/misc/e-account-tree-view.h
index e9b2f7f8d3..d62d040bbd 100644
--- a/widgets/misc/e-account-tree-view.h
+++ b/widgets/misc/e-account-tree-view.h
@@ -47,6 +47,14 @@
G_BEGIN_DECLS
+typedef enum
+{
+ E_ACCOUNT_TREE_VIEW_SELECTED_NONE,
+ E_ACCOUNT_TREE_VIEW_SELECTED_ACCOUNT,
+ E_ACCOUNT_TREE_VIEW_SELECTED_LOCAL,
+ E_ACCOUNT_TREE_VIEW_SELECTED_VFOLDER
+} EAccountTreeViewSelectedType;
+
typedef struct _EAccountTreeView EAccountTreeView;
typedef struct _EAccountTreeViewClass EAccountTreeViewClass;
typedef struct _EAccountTreeViewPrivate EAccountTreeViewPrivate;
@@ -62,6 +70,7 @@ struct _EAccountTreeViewClass {
void (*enable_account) (EAccountTreeView *tree_view);
void (*disable_account) (EAccountTreeView *tree_view);
void (*refreshed) (EAccountTreeView *tree_view);
+ void (*sort_order_changed) (EAccountTreeView *tree_view);
};
GType e_account_tree_view_get_type (void);
@@ -80,6 +89,43 @@ EAccount * e_account_tree_view_get_selected
gboolean e_account_tree_view_set_selected
(EAccountTreeView *tree_view,
EAccount *account);
+EAccountTreeViewSelectedType
+ e_account_tree_view_get_selected_type
+ (EAccountTreeView *tree_view);
+void e_account_tree_view_set_selected_type
+ (EAccountTreeView *tree_view,
+ EAccountTreeViewSelectedType select);
+
+void e_account_tree_view_set_sort_order
+ (EAccountTreeView *tree_view,
+ const GSList *account_uids);
+
+GSList * e_account_tree_view_get_sort_order
+ (EAccountTreeView *tree_view);
+
+void e_account_tree_view_sort_changed
+ (EAccountTreeView *tree_view);
+void e_account_tree_view_move_up (EAccountTreeView *tree_view);
+void e_account_tree_view_move_down (EAccountTreeView *tree_view);
+
+void e_account_tree_view_set_sort_alpha
+ (EAccountTreeView *tree_view,
+ gboolean sort_alpha);
+gboolean e_account_tree_view_get_sort_alpha
+ (EAccountTreeView *tree_view);
+void e_account_tree_view_set_express_mode
+ (EAccountTreeView *tree_view,
+ gboolean express_mode);
+gboolean e_account_tree_view_get_express_mode
+ (EAccountTreeView *tree_view);
+void e_account_tree_view_set_enable_local_folders
+ (EAccountTreeView *tree_view, gboolean enabled);
+gboolean e_account_tree_view_get_enable_local_folders
+ (EAccountTreeView *tree_view);
+void e_account_tree_view_set_enable_search_folders
+ (EAccountTreeView *tree_view, gboolean enabled);
+gboolean e_account_tree_view_get_enable_search_folders
+ (EAccountTreeView *tree_view);
G_END_DECLS