Fix counts in drag and dropped subfolders
authorColin Leroy <colin@colino.net>
Fri, 21 Mar 2003 17:51:15 +0000 (17:51 +0000)
committerColin Leroy <colin@colino.net>
Fri, 21 Mar 2003 17:51:15 +0000 (17:51 +0000)
ChangeLog.claws
configure.ac
src/folderview.c

index ab16ef0..e941a48 100644 (file)
@@ -1,3 +1,8 @@
+2003-03-21 [colin]     0.8.11claws36
+
+       * src/folderview.c
+               Fix counts in drag and dropped subfolders
+
 2003-03-21 [colin]     0.8.11claws35
 
        * src/folder.c 
index 8b59755..7c4c32e 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=11
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws35
+EXTRA_VERSION=claws36
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 5ee4da3..92a2283 100644 (file)
@@ -2583,13 +2583,15 @@ static void folderview_move_to(FolderView *folderview, FolderItem *from_folder,
                main_window_cursor_normal(folderview->mainwin);
                STATUSBAR_POP(folderview->mainwin);
                folder_item_update_thaw();
-               folder_item_update_recursive(new_folder, F_ITEM_UPDATE_MSGCNT);
                if (src_node)
                        gtk_ctree_remove_node(GTK_CTREE(folderview->ctree), src_node);
                else 
                        debug_print("can't remove src node: is null\n");
 
                folderview_create_folder_node_recursive(folderview, new_folder);
+
+               folder_item_update_recursive(new_folder, F_ITEM_UPDATE_MSGCNT);
+
                folderview_sort_folders(folderview, 
                        gtk_ctree_find_by_row_data(GTK_CTREE(folderview->ctree), 
                                NULL, new_folder->parent), new_folder->folder);