From b6b9772a2a813d47c5e70e4e6819c5c56d897144 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Fri, 20 Jun 2008 13:21:33 +0000 Subject: ** Fix for bug #534039 2008-06-20 Milan Crha ** 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 --- mail/em-folder-tree-model.c | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'mail/em-folder-tree-model.c') 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) { -- cgit Q4'>2017Q4 FreeBSD Ports (https://github.com/freebsd/freebsd-ports)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines