diff options
author | Not Zed <NotZed@Ximian.com> | 2004-03-11 11:05:43 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-03-11 11:05:43 +0800 |
commit | 88b02e9cf481aee0762f7e7bc0b32032cdfeb899 (patch) | |
tree | a82a03e69dad3f99caa12309c482a69333f6cb51 /mail/em-folder-tree.h | |
parent | 6071a963e85f69133cc1761e37b6ed942629d70d (diff) | |
download | gsoc2013-evolution-88b02e9cf481aee0762f7e7bc0b32032cdfeb899.tar.gz gsoc2013-evolution-88b02e9cf481aee0762f7e7bc0b32032cdfeb899.tar.zst gsoc2013-evolution-88b02e9cf481aee0762f7e7bc0b32032cdfeb899.zip |
pass the raw header in instead of name and value. (efh_format_headers): if
2004-03-11 Not Zed <NotZed@Ximian.com>
* em-format-html.c (efh_format_header): pass the raw header in
instead of name and value.
(efh_format_headers): if we have specific headers to show, iterate
over all headers and print out all matching ones, so duplicate
headers are properly displayed. Related to #55298.
* em-folder-selector.c (em_folder_selector_construct): dont set
this to be modal. otherwise you can't click on error popups. duh.
2004-03-08 Not Zed <NotZed@Ximian.com>
* em-folder-selection-button.c
(em_folder_selection_button_clicked): don't let the user select
virtual/vtrash folders or non-selectable folders.
* mail-component.c (impl_createControls): disable selection of
non-select rows.
* em-folder-selector.c (em_folder_selector_create_new): exclude
folders with noinferiors set.
* em-folder-tree.c (folder_tree_new): add folder tree arg, hook
onto the selection funciton for the tree selection.
(emft_select_func): selection override function. allow certain
things to be excluded.
(em_folder_tree_set_excluded): api to set what is excluded from
the selectability.
(emft_tree_row_activated): call emft_select_func check to see if
this row is excluded before emitting an activated signal.
* em-folder-tree-model.c (em_folder_tree_model_set_folder_info):
save folder info->flags in the tree store.
* mail-folder-cache.c (create_folders): use tail recursion.
(get_folders): tail recurse.
* (*): Fixed for api changes in camel.
svn path=/trunk/; revision=25020
Diffstat (limited to 'mail/em-folder-tree.h')
-rw-r--r-- | mail/em-folder-tree.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/mail/em-folder-tree.h b/mail/em-folder-tree.h index 32f9b5518a..915e73c02e 100644 --- a/mail/em-folder-tree.h +++ b/mail/em-folder-tree.h @@ -44,9 +44,16 @@ extern "C" { typedef struct _EMFolderTree EMFolderTree; typedef struct _EMFolderTreeClass EMFolderTreeClass; +/* not sure this api is the best, but its the easiest to implement and will cover what we need */ +#define EMFT_EXCLUDE_NOSELECT CAMEL_FOLDER_NOSELECT +#define EMFT_EXCLUDE_NOINFERIORS CAMEL_FOLDER_NOINFERIORS +#define EMFT_EXCLUDE_VIRTUAL CAMEL_FOLDER_VIRTUAL +#define EMFT_EXCLUDE_SYSTEM CAMEL_FOLDER_SYSTEM +#define EMFT_EXCLUDE_VTRASH CAMEL_FOLDER_VTRASH + struct _EMFolderTree { GtkVBox parent_object; - + struct _EMFolderTreePrivate *priv; }; @@ -58,7 +65,6 @@ struct _EMFolderTreeClass { void (* folder_selected) (EMFolderTree *emft, const char *path, const char *uri); }; - GType em_folder_tree_get_type (void); GtkWidget *em_folder_tree_new (void); @@ -67,6 +73,7 @@ GtkWidget *em_folder_tree_new_with_model (EMFolderTreeModel *model); void em_folder_tree_enable_drag_and_drop (EMFolderTree *emft); void em_folder_tree_set_multiselect (EMFolderTree *emft, gboolean mode); +void em_folder_tree_set_excluded(EMFolderTree *emft, guint32 flags); void em_folder_tree_set_selected_list (EMFolderTree *emft, GList *list); GList *em_folder_tree_get_selected_uris (EMFolderTree *emft); |