aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-12-02 02:28:26 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-12-02 02:28:26 +0800
commit9d1eec8d4e2f297a3b40b579075e7f99f3050258 (patch)
tree19ffc5b4a2e832bdfd327aa3eb1eb5e37b61cf73 /mail/mail-config.c
parent98093d4c1467ce6184c0c6c27b47a261ad99c318 (diff)
downloadgsoc2013-evolution-9d1eec8d4e2f297a3b40b579075e7f99f3050258.tar.gz
gsoc2013-evolution-9d1eec8d4e2f297a3b40b579075e7f99f3050258.tar.zst
gsoc2013-evolution-9d1eec8d4e2f297a3b40b579075e7f99f3050258.zip
Make sure our parent folder hasn't been unsubscribed or else we get a
2003-12-01 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (em_folder_tree_get_folder_info__got): Make sure our parent folder hasn't been unsubscribed or else we get a segfault here if it has. 03-11-28 Dave Camp <dave@ximian.com> * em-folder-tree.c (render_pixbuf): Set the pixbuf renderer invisible for stores. 2003-11-25 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_get_account_by_uid): New function. * em-folder-tree.c (tree_store_set_folder_info): Expand the tree node if the saved state tells us it was expanded the previous session. (em_folder_tree_load_state): Load the saved state. (em_folder_tree_add_store): Conditionally expand the store node. (em_folder_tree_new_with_model): Expand all the nodes that should be expanded. svn path=/trunk/; revision=23530
Diffstat (limited to 'mail/mail-config.c')
-rw-r--r--mail/mail-config.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/mail/mail-config.c b/mail/mail-config.c
index bb0b11be61..dfb9be8f1f 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -768,6 +768,12 @@ mail_config_get_account_by_name (const char *account_name)
}
EAccount *
+mail_config_get_account_by_uid (const char *uid)
+{
+ return (EAccount *) e_account_list_find (config->accounts, E_ACCOUNT_FIND_UID, uid);
+}
+
+EAccount *
mail_config_get_account_by_source_url (const char *source_url)
{
CamelProvider *provider;