Fix folder dnd statusbar logging
authorColin Leroy <colin@colino.net>
Wed, 11 Dec 2002 00:56:36 +0000 (00:56 +0000)
committerColin Leroy <colin@colino.net>
Wed, 11 Dec 2002 00:56:36 +0000 (00:56 +0000)
CVS ----------------------------------------------------------------------

ChangeLog.claws
configure.in
src/folder.c

index 43bc76eccd813d6741c636a49cb6504abfcca044..64b4184df74a0169fa04efd2bec2ff953e286eb3 100644 (file)
@@ -1,3 +1,8 @@
+2002-12-11 [colin]     0.8.6claws97
+
+       * src/folder.c
+               Fix folder dnd statusbar logging
+
 2002-12-10 [christoph] 0.8.6claws96
 
        * src/compose.c
index 16d11a9b736b87293dbd1e52502135c52eec721d..31153c1df095adc18e992cb46fb6b7423787da6b 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=6
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws96
+EXTRA_VERSION=claws97
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index c45394b844cdc55073cf19ed862e1a368e2ac1f3..1bcc1c1b4564046d304751cdfb7cda4465cb1c8b 100644 (file)
@@ -49,6 +49,7 @@
 #include "procheader.h"
 #include "statusbar.h"
 #include "hooks.h"
+#include "log.h"
 
 /* Dependecies to be removed ?! */
 #include "prefs_common.h"
@@ -1535,11 +1536,12 @@ FolderItem *folder_item_move_recursive (FolderItem *src, FolderItem *dest)
                new_item->folder = dest->folder;
 
        /* move messages */
+       statusbar_verbosity_set(TRUE);
        for (cur = mlist ; cur != NULL ; cur = cur->next) {
                MsgInfo * msginfo;
                cnt++;
                if (cnt%500)
-                       statusbar_print_all(_("Moving %s to %s (%d%%)..."), src->name, 
+                       log_message(_("Moving %s to %s (%d%%)...\n"), src->name, 
                                        new_item->path,
                                        100*cnt/g_slist_length(mlist));
                msginfo = (MsgInfo *) cur->data;
@@ -1547,6 +1549,7 @@ FolderItem *folder_item_move_recursive (FolderItem *src, FolderItem *dest)
 
                procmsg_msginfo_free(msginfo);
        }
+       statusbar_verbosity_set(FALSE);
        
        /*copy prefs*/
        prefs_folder_item_copy_prefs(src, new_item);