talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 36fb4e752aff819d33007bfe4bc60155e38384cd
parent 73ae6b6b205c3a0cf61d4ac2e19566e459cd54ae
Author: Colin Leroy <colin@colino.net>
Date:   Wed, 12 Mar 2008 07:55:09 +0000

2008-03-12 [colin]	3.3.1cvs22

	* src/folderview.c
	* src/summaryview.c
		Use item_opened at the beginning of showing
		a folder instead of the end. Fixes flicker.

Diffstat:
MChangeLog | 7+++++++
MPATCHSETS | 1+
Mconfigure.ac | 2+-
Msrc/folderview.c | 2--
Msrc/summaryview.c | 4++++
5 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,10 @@ +2008-03-12 [colin] 3.3.1cvs22 + + * src/folderview.c + * src/summaryview.c + Use item_opened at the beginning of showing + a folder instead of the end. Fixes flicker. + 2008-03-12 [paul] 3.3.1cvs21 * src/folder.c diff --git a/PATCHSETS b/PATCHSETS @@ -3256,3 +3256,4 @@ ( cvs diff -u -r 1.274.2.235 -r 1.274.2.236 src/mainwindow.c; ) > 3.3.1cvs19.patchset ( cvs diff -u -r 1.1.4.23 -r 1.1.4.24 src/common/xml.c; ) > 3.3.1cvs20.patchset ( cvs diff -u -r 1.213.2.178 -r 1.213.2.179 src/folder.c; cvs diff -u -r 1.87.2.56 -r 1.87.2.57 src/folder.h; cvs diff -u -r 1.274.2.236 -r 1.274.2.237 src/mainwindow.c; cvs diff -u -r 1.150.2.107 -r 1.150.2.108 src/procmsg.c; cvs diff -u -r 1.395.2.358 -r 1.395.2.359 src/summaryview.c; cvs diff -u -r 1.14.2.60 -r 1.14.2.61 src/plugins/trayicon/trayicon.c; ) > 3.3.1cvs21.patchset +( cvs diff -u -r 1.207.2.198 -r 1.207.2.199 src/folderview.c; cvs diff -u -r 1.395.2.359 -r 1.395.2.360 src/summaryview.c; ) > 3.3.1cvs22.patchset diff --git a/configure.ac b/configure.ac @@ -11,7 +11,7 @@ MINOR_VERSION=3 MICRO_VERSION=1 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=21 +EXTRA_VERSION=22 EXTRA_RELEASE= EXTRA_GTK2_VERSION= diff --git a/src/folderview.c b/src/folderview.c @@ -2296,8 +2296,6 @@ static void folderview_selected(GtkCTree *ctree, GtkCTreeNode *row, if (gtk_ctree_node_is_visible(ctree, row) != GTK_VISIBILITY_FULL) gtk_ctree_node_moveto(ctree, row, -1, 0.5, 0); - if (item->folder->klass->item_opened) - item->folder->klass->item_opened(item); } STATUSBAR_POP(folderview->mainwin); diff --git a/src/summaryview.c b/src/summaryview.c @@ -1164,6 +1164,10 @@ gboolean summary_show(SummaryView *summaryview, FolderItem *item) is_refresh = (item == summaryview->folder_item) ? TRUE : FALSE; + if (item && item->folder->klass->item_opened) { + item->folder->klass->item_opened(item); + } + if (!is_refresh) { main_create_mailing_list_menu (summaryview->mainwin, NULL); if (prefs_common.layout_mode == SMALL_LAYOUT) {