aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-tree-model.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2008-06-20 21:21:33 +0800
committerMilan Crha <mcrha@src.gnome.org>2008-06-20 21:21:33 +0800
commitb6b9772a2a813d47c5e70e4e6819c5c56d897144 (patch)
treeb3bb11b8e0f73a58ba9d1f2e9f0fb9496a537677 /mail/em-folder-tree-model.c
parent3f7fbeb14aa0ca80c692b6cf8a544878fd2ea781 (diff)
downloadgsoc2013-evolution-b6b9772a2a813d47c5e70e4e6819c5c56d897144.tar.gz
gsoc2013-evolution-b6b9772a2a813d47c5e70e4e6819c5c56d897144.tar.zst
gsoc2013-evolution-b6b9772a2a813d47c5e70e4e6819c5c56d897144.zip
** Fix for bug #534039
2008-06-20 Milan Crha <mcrha@redhat.com> ** Fix for bug #534039 * em-folder-tree-model.h: (em_folder_tree_model_signal_block): * em-folder-tree-model.c: (em_folder_tree_model_signal_block): Removed obsolete function. * mail-vfolder.c: (vfolder_load_storage): Add storage to the tree model when everything is loaded, thus everything will be shown when enabling the Search Folders on demand. Also ensure the Search Folders to be enabled next start. * mail-vfolder.c: (mail_vfolder_add_uri), (mail_vfolder_delete_uri): Track folders even when Search Folders disabled, to have them known when enabling Search Folders on demand. svn path=/trunk/; revision=35658
Diffstat (limited to 'mail/em-folder-tree-model.c')
-rw-r--r--mail/em-folder-tree-model.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/mail/em-folder-tree-model.c b/mail/em-folder-tree-model.c
index b0a5206d7f..ee9c24cb66 100644
--- a/mail/em-folder-tree-model.c
+++ b/mail/em-folder-tree-model.c
@@ -857,24 +857,6 @@ em_folder_tree_model_add_store (EMFolderTreeModel *model, CamelStore *store, con
gtk_tree_path_free (path);
}
-void
-em_folder_tree_model_signal_block (EMFolderTreeModel *model, CamelStore *store, gboolean block)
-{
- struct _EMFolderTreeModelStoreInfo *si;
-
- si = g_hash_table_lookup (model->store_hash, store);
- if (!si)
- return;
-
- if (block) {
- if (si->created_id)
- camel_object_unhook_event (store, "folder_created", CAMEL_CALLBACK (folder_created_cb), model);
- si->created_id = 0;
- } else {
- si->created_id = camel_object_hook_event (store, "folder_created", CAMEL_CALLBACK (folder_created_cb), model);
- }
-}
-
static void
em_folder_tree_model_remove_uri (EMFolderTreeModel *model, const char *uri)
{