[Commits] [SCM] claws branch, master, updated. 3.13.0-24-gc974a45

ticho at claws-mail.org ticho at claws-mail.org
Wed Oct 21 18:22:25 CEST 2015


The branch, master has been updated
       via  c974a4585f1d06bbf6981637a4fa9ff62eb60ccd (commit)
      from  c02b6cb1d9bd944b3721562a7a8ac2aedd188c21 (commit)

Summary of changes:
 src/folderview.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit c974a4585f1d06bbf6981637a4fa9ff62eb60ccd
Author: Andrej Kacian <andrej at kacian.sk>
Date:   Wed Oct 21 18:21:40 2015 +0200

    Fix folderview focus row not being updated on some keypresses.

diff --git a/src/folderview.c b/src/folderview.c
index 965cf45..a9a1fd1 100644
--- a/src/folderview.c
+++ b/src/folderview.c
@@ -2052,7 +2052,7 @@ static gboolean folderview_key_pressed(GtkWidget *widget, GdkEventKey *event,
 						folderview->selected))) {
 					if ((node = gtk_cmctree_find_by_row_data(GTK_CMCTREE(folderview->ctree),
 							NULL, folder_item_parent(item)))) {
-						gtk_cmctree_select(GTK_CMCTREE(folderview->ctree), node);
+						gtk_sctree_select(GTK_SCTREE(folderview->ctree), node);
 						if (!gtk_cmctree_node_is_visible(GTK_CMCTREE(folderview->ctree), node))
 							gtk_cmctree_node_moveto(GTK_CMCTREE(folderview->ctree),
 									node, -1, 0, 0);
@@ -2069,7 +2069,7 @@ static gboolean folderview_key_pressed(GtkWidget *widget, GdkEventKey *event,
 			node = gtk_cmctree_last(GTK_CMCTREE(folderview->ctree),
 					gtk_cmctree_node_nth(GTK_CMCTREE(folderview->ctree), 0));
 
-		gtk_cmctree_select(GTK_CMCTREE(folderview->ctree), node);
+		gtk_sctree_select(GTK_SCTREE(folderview->ctree), node);
 
 		if (!gtk_cmctree_node_is_visible(GTK_CMCTREE(folderview->ctree), node))
 			gtk_cmctree_node_moveto(GTK_CMCTREE(folderview->ctree),

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list