aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-list.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/message-list.c')
-rw-r--r--mail/message-list.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/mail/message-list.c b/mail/message-list.c
index b1fcd8843f..8ea8c35677 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -1189,7 +1189,7 @@ clear_tree (MessageList *ml)
free_tree_ids(etm);
if (ml->tree_root) {
- e_table_model_pre_change((ETableModel *)etm);
+ /* FIXME: Freeze here, buddy. */
e_tree_model_node_remove (etm, ml->tree_root);
}
@@ -1333,9 +1333,7 @@ build_tree (MessageList *ml, struct _thread_messages *thread)
top = e_tree_model_node_get_first_child(etm, ml->tree_root);
if (top == NULL) {
- e_table_model_pre_change(ml->table_model);
build_subtree(ml, ml->tree_root, thread->tree, &row, expanded_nodes);
- e_table_model_changed(ml->table_model);
} else {
build_subtree_diff(ml, ml->tree_root, top, thread->tree, &row, expanded_nodes);
}
@@ -1389,6 +1387,8 @@ build_subtree (MessageList *ml, ETreePath *parent, struct _container *c, int *ro
char *id;
int expanded = FALSE;
+ e_tree_model_freeze (tree);
+
while (c) {
if (c->message) {
id = new_id_from_uid(c->message->uid);
@@ -1414,6 +1414,8 @@ build_subtree (MessageList *ml, ETreePath *parent, struct _container *c, int *ro
}
c = c->next;
}
+
+ e_tree_model_thaw (tree);
}
/* compares a thread tree node with the etable tree node to see if they point to
8 +0800'>2014-03-306-86/+102 * - Stage supportnovel2014-03-291-7/+5 * - Reroll and update bootstrap Haskell compilers to GHC 7.6.3 on 8.x andpgj2014-03-292-2/+2 * - Stage supportantoine2014-03-292-21/+15 * Remove x11-wm/fvwm2-i18n. It was a slave port of x11-wm/fvwm2 with thetijl2014-03-293-27/+0 * Support stagebapt2014-03-251-6/+3 * Support stagebapt2014-03-251-6/+4 * Remove expired ports:rene2014-03-256-132/+0 * - Bump PORTREVISION for pkg-plist changenemysis2014-03-244-15/+26 * - Add the port: x11-wm/cwmdanilo2014-03-235-0/+64 * In r336942, staging was achieved via `do-install' target, not just writtendanfe2014-03-183-90/+23 * - Support stagingehaupt2014-03-181-5/+4 * - Update to 2.2.2swills2014-03-182-8/+7 * Stagify; renew LIB_DEPENDS; use OPTIONS helpers; wrap an overly long line.danfe2014-03-164-23/+85 * - Fixes resourceleak in i3bar and memoryleak in i3bapt2014-03-162-4/+113 * Stagify the port; fix RUN_DEPENDS to unbreak packaing.danfe2014-03-161-10/+6 * - Convert USE_GMAKE/BZIP2 to USESmiwi2014-03-1610-21/+9 * Deprecate a few old unmaintained portsantoine2014-03-122-0/+4 * - Update to 2.2.1miwi2014-03-114-105/+84 * Update the default version of GCC used in the Ports Collection fromgerald2014-03-113-3/+3 * Fix wrong memory access beyond array boundary.hrs2014-03-092-1/+12 * Improve the wording in DEPRECATED a bit.rakuco2014-03-091-1/+1 * Fix expiration syntaxantoine2014-03-081-1/+2 * Fix package with WITHOUT_NLS enabled.novel2014-03-061-2/+2 * - Add staging support [1]pawel2014-03-041-13/+8 * Convert to USES=libtoolbapt2014-03-032-11/+9 * Unbreakantoine2014-03-031-1/+1 * Unbreakantoine2014-03-031-1/+1 * Support stagebapt2014-02-281-8/+7 * Support stagebapt2014-02-282-22/+22 * Support stagebapt2014-02-282-22/+25 * Support stage, cleanup a bitbapt2014-02-281-16/+5 * Support stagebapt2014-02-281-24/+11 * Support stagebapt2014-02-281-6/+5 * Support stage, use options helpersbapt2014-02-282-32/+13 * Support stagebapt2014-02-281-1/+0 * - Update to version 1.10miwi2014-02-273-21/+61 * - Stage supportmiwi2014-02-262-8/+6 * x11-wm/stumpwm: Failed to restore broken port, mark for deletion in 2 monthsmarino2014-02-261-4/+7 * Support stagebapt2014-02-241-9/+7 * Deprecate: abandonwarebapt2014-02-241-0/+3 * Support stagebapt2014-02-243-39/+24 * - Update to 1.3.8miwi2014-02-2411-147/+85 * Remove trailing whitespaces from category x11-wmehaupt2014-02-2139-39/+39 * - Fix build with fltk-develgahr2014-02-201-3/+2 * Consolidate the docbook ports into -sgml and -xml variants.mat2014-02-192-3/+4 * - Stage supportmiwi2014-02-192-13/+17 * Chase docbook cleanup dependencies.mat2014-02-182-2/+2 * - Update to 1.0.13.004gahr2014-02-172-4/+5 * - STAGE-cleangahr2014-02-143-4/+36 * - STAGE-cleangahr2014-02-142-4/+9 * - STAGE-cleangahr2014-02-142-9/+1 * - STAGE-cleangahr2014-02-141-2/+1 * - Add stage supportdanilo2014-02-111-19/+20 * - Add stage supportdanilo2014-02-112-10/+6 * According to the Porter's Handbook (5.12.2.3.) default options must be added toehaupt2014-02-1039-0/+79 * - Add stage supportdanilo2014-02-101-23/+20 * - Add stage supportdanilo2014-02-101-9/+5 * - Add stage supportdanilo2014-02-102-5/+8 * - Add stage supportdanilo2014-02-101-20/+13 * Finish stage supportantoine2014-02-092-4/+5 * - Stage supportmiwi2014-02-092-8/+5 * - Fix pkg-plist[*].hrs2014-02-043-9/+8 * - Stage supportmiwi2014-02-032-2/+1 * - Stage supportmiwi2014-02-032-5/+3 * - Stage supportmiwi2014-02-031-3/+2 * Return some ports I maintain to the pool.eadler2014-02-021-1/+1 * Update to version 1.4.4pawel2014-01-312-3/+3 * Stagify, convert to OptionsNG, sort pkg-plist.danfe2014-01-272-88/+83 * Update to 4.7.2bapt2014-01-263-3/+5 * Finish stage supportantoine2014-01-262-3/+3 * Fix build on amd64, 10.x with clang.ehaupt2014-01-231-3/+9 * Support STAGEDIR.vanilla2014-01-236-50/+89 * Fix properties on pkg-plistbapt2014-01-2214-14/+0 * Support stagebapt2014-01-203-3/+15 * Remove deprecated MAN macrosbapt2014-01-202-3/+0 * x11-wm/herbsluftwm: Update to 0.5.3marino2014-01-202-4/+3 * - Use the new format for LIB_DEPENDSnemysis2014-01-182-6/+8 * Stagify and modernize LIB_DEPENDS while here.danfe2014-01-181-6/+5 * Python cleanup:rene2014-01-143-3/+3 * Update lua-lgi to 0.7.2bapt2014-01-111-6/+8 * - Stagify lang/ghc and all the Haskell Cabal portspgj2014-01-102-2/+0 * - Fix a run-time problem with lang/ghc on FreeBSD 10.0 and later, caused bypgj2014-01-102-2/+2 * x11-wm/awesome-vicious: update to 2.1.3wg2014-01-092-3/+3 * Use ninja instead of makebapt2014-01-071-1/+1 * Fix build with clangantoine2014-01-064-20/+102 * Convert the tree to USES=famantoine2014-01-051-2/+1 * Backport patch (available in xfdesktop 4.11.2), and replaces previous fixolivierd2014-01-031-71/+15 * Stage supportantoine2013-12-291-1/+0 * Stage supportantoine2013-12-291-5/+3 * - Stage supportantoine2013-12-292-6/+3 * Stage supportantoine2013-12-291-2/+1 * Stage supportantoine2013-12-292-4/+4 * Stage supportantoine2013-12-281-2/+1 * Stage supportantoine2013-12-281-6/+3 * x11-wm/qtile: allow staging and minor fixeswg2013-12-262-226/+6 * Update freetype to 2.5.2.kwm2013-12-251-0/+11 * - Properly look for X11 using CMake and include the appropriate directoriesrakuco2013-12-253-13/+27 * Fix dependency information.crees2013-12-251-7/+2 * x11-wm/awesome-vicious: update to 2.1.2wg2013-12-233-3/+5 * Update to 4.7bapt2013-12-232-7/+15 * - Fix build with clangpawel2013-12-213-35/+49 * - Update MASTER_SITES and WWW: linepawel2013-12-206-57/+165 * - Update to 1.4.6dhn2013-12-172-4/+3 * Drop maintainershipbapt2013-12-171-1/+1 * Switch FreeBSD CURRENT to use the new xorg stack (WITH_NEW_XORG=) [0]zeising2013-12-163-8/+3 * x11-wm/ede: depends explicitly on "python" to buildwg2013-12-161-1/+2 * x11-wm/awesome2: fix usage of pythonwg2013-12-151-0/+2 * Bump PORTREVISION after update of deskutils/orageolivierd2013-12-101-1/+1 * - Update to 20130906 snapshot [1]ak2013-12-094-116/+21 * We do not provide any gnome1 library anymorebapt2013-12-091-7/+1 * Fix build. Sorry about the breakage.zeising2013-12-091-3/+3 * Update to 2.4.0zeising2013-12-083-19/+14 * Remove PORT_OPTIONS:MDOCS checks from ports which don't need iteadler2013-12-071-2/+0 * OPTIONS_SUB is boolean. There is no functional change.hrs2013-12-021-1/+1 * - Update to 0.95.5.hrs2013-12-028-102/+89 * - use STAGEDIRdinoex2013-11-302-11/+21 * - Use USES=gmakesunpoet2013-11-253-3/+3 * Say hello to Mate 1.6.kwm2013-11-237-0/+324 * Remove expired ports:rene2013-11-186-119/+0 * - Support STAGEDIRolivierd2013-11-092-35/+16 * x11-wm/awesome-vicious: snapshot tarball has ben rerolledwg2013-11-082-3/+4 * - Update EFL to 1.7.9gblach2013-11-083-38/+3 * Fix icewm's buggy use of iconv which causes it to fail on 10.x.eadler2013-11-041-3/+17 * x11-wm/wmconfig: update to 1.4.2wg2013-11-022-7/+3 * - Add LICENSEpawel2013-11-022-40/+40 * . Simplify Makefilegarga2013-11-011-14/+6 * The word 'very' has no place in COMMENTeadler2013-10-311-1/+1 * Convert to stagingeadler2013-10-302-3/+1 * - revert r331810dinoex2013-10-292-3/+9 * Add USE_CSTD=gnu89 to fix a runtime issue. The code expects gnu89tijl2013-10-281-1/+2 * - Fix COMMENT and pkg-descrgahr2013-10-282-4/+5 * - use STAGEDIRdinoex2013-10-281-15/+14 * x11-wm/jwm: update to 2.1.0wg2013-10-264-30/+86 * Update to libmpc version 1.0.1 which brings the following fixes:gerald2013-10-263-2/+3 * - Change master sites to download.enlightenment.orggblach2013-10-261-1/+1 * - Return ports to the poolak2013-10-243-3/+4 * - Remove manual creation and removal of share/applications, as it's now in th...amdmi32013-10-2217-17/+0 * - Change Makefile headernemysis2013-10-203-10/+36 * OBApps is a graphical tool for configuring the per-application settingsnemysis2013-10-205-0/+71 * LXMenuEditor is a small, simple, free, open source, easy to use applicationnemysis2013-10-197-0/+112 * deprecate ports broken for more than 6 monthbapt2013-10-181-0/+3 * - Get rid of MAN1 macrogahr2013-10-172-1/+1 * - Support STAGEDIRolivierd2013-10-156-32/+15 * - Update to 1.0.13.003gahr2013-10-142-7/+6 * - Support staginggblach2013-10-14