diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-08-10 10:28:35 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-09-14 20:08:47 +0800 |
commit | 8a9af36e34a727d0825037edcf821c745e112206 (patch) | |
tree | 28397f7b1d2754eb1f25f3e25bb9ce96ab250ff9 /mail/em-folder-selection-button.h | |
parent | a7da50c849f80793faf1c2ab8f55cc89fa3bcb18 (diff) | |
download | gsoc2013-evolution-8a9af36e34a727d0825037edcf821c745e112206.tar gsoc2013-evolution-8a9af36e34a727d0825037edcf821c745e112206.tar.gz gsoc2013-evolution-8a9af36e34a727d0825037edcf821c745e112206.tar.bz2 gsoc2013-evolution-8a9af36e34a727d0825037edcf821c745e112206.tar.lz gsoc2013-evolution-8a9af36e34a727d0825037edcf821c745e112206.tar.xz gsoc2013-evolution-8a9af36e34a727d0825037edcf821c745e112206.tar.zst gsoc2013-evolution-8a9af36e34a727d0825037edcf821c745e112206.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.h | 16 |
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 |