summary_thread_build(): fix crash because of focus != selection
after threading. when deleting the selection, gtk tries but fails
to find the correct focusable element. we now force the selection
to be focused. this should solve the infamous bug reported by
Jason Wojciechowski (bug "[ 633443 ] Crash on deleting messages").
a test case is available.
+2002-12-24 [alfons] 0.8.7claws3
+
+ * src/summaryview.c
+ summary_thread_build(): fix crash because of focus != selection
+ after threading. when deleting the selection, gtk tries but fails
+ to find the correct focusable element. we now force the selection
+ to be focused. this should solve the infamous bug reported by
+ Jason Wojciechowski (bug "[ 633443 ] Crash on deleting messages").
+ a test case is available.
+
2002-12-24 [darko] 0.8.7claws2
* src/summaryview.c
MICRO_VERSION=7
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=claws2
+EXTRA_VERSION=claws3
VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
dnl set $target
node = next;
}
+ gtkut_ctree_set_focus_row(ctree, summaryview->selected);
+
gtk_clist_thaw(GTK_CLIST(ctree));
gtk_signal_handler_unblock_by_func(GTK_OBJECT(ctree),
summary_tree_expanded, summaryview);