]> diplodocus.org Git - minc/commitdiff
(update_folders): Keep inbox at the top of the list.
authorepg <>
Tue, 6 Sep 2005 16:51:00 +0000 (16:51 +0000)
committerepg <>
Tue, 6 Sep 2005 16:51:00 +0000 (16:51 +0000)
minc

diff --git a/minc b/minc
index f271347..52c9014 100755 (executable)
--- a/minc
+++ b/minc
@@ -637,7 +637,9 @@ sub update_folders {
         return;
     }
 
+    print($fh "inbox\n");
     for my $folder (sort(keys(%$folders))) {
+        $folder eq 'inbox' and next;
         print($fh "$folder\n");
     }