aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-selection-button.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-08-10 10:28:35 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-08-10 12:14:32 +0800
commit8045a9c0feed0ff5eb2ea8975d0cd85f692c5229 (patch)
treef5ae9e692d4aaf401de3d82436f96ff879363354 /mail/em-folder-selection-button.h
parentdaa63adeb7ec56169c24651b74a0e96fa4b92fd3 (diff)
downloadgsoc2013-evolution-8045a9c0feed0ff5eb2ea8975d0cd85f692c5229.tar
gsoc2013-evolution-8045a9c0feed0ff5eb2ea8975d0cd85f692c5229.tar.gz
gsoc2013-evolution-8045a9c0feed0ff5eb2ea8975d0cd85f692c5229.tar.bz2
gsoc2013-evolution-8045a9c0feed0ff5eb2ea8975d0cd85f692c5229.tar.lz
gsoc2013-evolution-8045a9c0feed0ff5eb2ea8975d0cd85f692c5229.tar.xz
gsoc2013-evolution-8045a9c0feed0ff5eb2ea8975d0cd85f692c5229.tar.zst
gsoc2013-evolution-8045a9c0feed0ff5eb2ea8975d0cd85f692c5229.zip
EMFolderSelectionButton: Add an "account" property.
The "account" property, if set, limits the displayed folder tree to the corresponding CamelStore only. Useful in contexts where the choice of folders should be limited to one particular store.
Diffstat (limited to 'mail/em-folder-selection-button.h')
-rw-r--r--mail/em-folder-selection-button.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/mail/em-folder-selection-button.h b/mail/em-folder-selection-button.h
index 91c5e3ae78..dd826d1bab 100644
--- a/mail/em-folder-selection-button.h
+++ b/mail/em-folder-selection-button.h
@@ -26,6 +26,7 @@
#include <gtk/gtk.h>
#include <mail/e-mail-backend.h>
+#include <libedataserver/e-account.h>
/* Standard GObject macros */
#define EM_TYPE_FOLDER_SELECTION_BUTTON \
@@ -70,6 +71,16 @@ GtkWidget * em_folder_selection_button_new
(EMailBackend *backend,
const gchar *title,
const gchar *caption);
+EAccount * em_folder_selection_button_get_account
+ (EMFolderSelectionButton *button);
+void em_folder_selection_button_set_account
+ (EMFolderSelectionButton *button,
+ EAccount *account);
+EMailBackend * em_folder_selection_button_get_backend
+ (EMFolderSelectionButton *button);
+void em_folder_selection_button_set_backend
+ (EMFolderSelectionButton *button,
+ EMailBackend *backend);
const gchar * em_folder_selection_button_get_caption
(EMFolderSelectionButton *button);
void em_folder_selection_button_set_caption
@@ -80,11 +91,6 @@ const gchar * em_folder_selection_button_get_folder_uri
void em_folder_selection_button_set_folder_uri
(EMFolderSelectionButton *button,
const gchar *folder_uri);
-void em_folder_selection_button_set_backend
- (EMFolderSelectionButton *button,
- EMailBackend *backend);
-EMailBackend * em_folder_selection_button_get_backend
- (EMFolderSelectionButton *button);
const gchar * em_folder_selection_button_get_title
(EMFolderSelectionButton *button);
void em_folder_selection_button_set_title