fix the statusbar messages
authorColin Leroy <colin@colino.net>
Sat, 9 Nov 2002 23:44:37 +0000 (23:44 +0000)
committerColin Leroy <colin@colino.net>
Sat, 9 Nov 2002 23:44:37 +0000 (23:44 +0000)
ChangeLog.claws
configure.in
src/folder.c
src/folderview.c

index 14a277c084497dc40dc82904d340750f70225a53..b0d45d8f45ea9acd7a243922fbbd30c170ae8b0c 100644 (file)
@@ -1,3 +1,9 @@
+2002-11-09 [colin]     0.8.5claws113
+
+       * src/folder.c
+         src/folderview.c
+               Fix the status bar messages
+
 2002-11-09 [colin]     0.8.5claws112
 
        * src/folderview.c
index 2edf0a178eac9856119f5df0ca957332a49e0335..01f0197c618b42dc9a09ff10c80f5dae8166f48b 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=5
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws112
+EXTRA_VERSION=claws113
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index a572f4172addc5d704984970f95e0797f5208453..6c8e59813b09341978409244c3c59916ff0c922d 100644 (file)
@@ -1520,12 +1520,14 @@ FolderItem *folder_item_move_recursive (FolderItem *src, FolderItem *dest)
        for (cur = mlist ; cur != NULL ; cur = cur->next) {
                MsgInfo * msginfo;
                cnt++;
-               msginfo = (MsgInfo *) cur->data;
-               folder_item_move_msg(new_item, msginfo);
                if (cnt%500)
                        statusbar_print_all(_("Moving %s to %s (%d%%)..."), src->name, 
                                        new_item->path,
                                        100*cnt/g_slist_length(mlist));
+               msginfo = (MsgInfo *) cur->data;
+               folder_item_move_msg(new_item, msginfo);
+               if (cnt%500)
+                       statusbar_pop_all();
        }
        
        /*copy prefs*/
index 0af73d551577ade661befcea2f8eea4ee0054e4c..63232a19f4dddf05afbb8bcafc3453502613c8b7 100644 (file)
@@ -2660,22 +2660,21 @@ static void folderview_drag_received_cb(GtkWidget        *widget,
                        else 
                                debug_print("can't remove src node: is null\n");
 
+                       STATUSBAR_POP(folderview->mainwin);
                        folderview_create_folder_node_recursive(folderview, new_item);
                        folder_update_item(src_parent, TRUE);
                        folder_update_item_recursive(new_item, TRUE); 
                        folderview_sort_folders(folderview, 
                                gtk_ctree_find_by_row_data(GTK_CTREE(widget), 
                                        NULL, new_item->parent), new_item->folder);
-                       statusbar_pop_all();
                        folderview_select(folderview, new_item);
                } else {
                        main_window_cursor_normal(folderview->mainwin);
                        gtk_drag_finish(drag_context, FALSE, FALSE, time);
-                       statusbar_pop_all();
+                       STATUSBAR_POP(folderview->mainwin);
                }       
                inc_unlock();           
                gtk_widget_set_sensitive(folderview->ctree, TRUE);
-               statusbar_pop_all();
        }
 }