Fix collapsed folder not auto-expanding during

mail dnd, if it was the source folder.
This commit is contained in:
Colin Leroy 2002-11-25 23:21:43 +00:00
parent 8f5c4045ee
commit 2e7395bf9a
3 changed files with 11 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2002-11-26 [colin] 0.8.6claws11
* src/folderview.c
Fix collapsed folder not auto-expanding during
mail dnd, if it was the source folder.
2002-11-25 [colin] 0.8.6claws10
* src/folderview.[ch]

View file

@ -11,7 +11,7 @@ MINOR_VERSION=8
MICRO_VERSION=6
INTERFACE_AGE=0
BINARY_AGE=0
EXTRA_VERSION=claws10
EXTRA_VERSION=claws11
VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
dnl set $target

View file

@ -2567,7 +2567,7 @@ static gboolean folderview_drag_motion_cb(GtkWidget *widget,
}
if (acceptable) {
if (acceptable || (src_item && src_item == item)) {
folderview_recollapse_nodes(folderview, node);
if (item->collapsed) {
gtk_ctree_expand(GTK_CTREE(widget), node);
@ -2575,7 +2575,9 @@ static gboolean folderview_drag_motion_cb(GtkWidget *widget,
folderview->nodes_to_recollapse,
node);
}
}
if (acceptable) {
gtk_signal_handler_block_by_func
(GTK_OBJECT(widget),
GTK_SIGNAL_FUNC(folderview_selected), folderview);