allow for collapsed folder trees
authorPaul Mangan <paul@claws-mail.org>
Fri, 5 Apr 2002 08:20:28 +0000 (08:20 +0000)
committerPaul Mangan <paul@claws-mail.org>
Fri, 5 Apr 2002 08:20:28 +0000 (08:20 +0000)
tools/filter_conv.pl

index f84802b..63dc5a5 100644 (file)
@@ -27,7 +27,9 @@ close FOLDERLIST;
 foreach $folderlist (@folderlist) {
        if ($folderlist =~ m/<folder type="mh"/) {
                $folderlist =~ s/<folder type="mh" name="//;
-                $folderlist =~ s/" path="[A-Z0-9]+">\n//ig;
+                $folderlist =~ s/" path="[A-Z0-9]+"//ig;
+               $folderlist =~ s/ collapsed="1"//;
+               $folderlist =~ s/>\n//ig;
                 $folderlist =~ s/^ +//;
                 $mailbox = $folderlist;
         }