From 8a9af36e34a727d0825037edcf821c745e112206 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 9 Aug 2011 22:28:35 -0400 Subject: 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. --- mail/em-folder-selection-button.h | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'mail/em-folder-selection-button.h') 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 #include +#include /* 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 -- cgit v1.2.3