* please see the file GPL in the top level source directory.
*/
-#if HAVE_CONFIG_H
-# include "config.h"
-#endif
+#include <lib-lib/lib-lib.h>
-#include <stdlib.h>
#include <dirent.h>
-#include <string.h>
-#include <ctype.h>
-#include <unistd.h>
-#include <sys/stat.h>
-#include <errno.h>
#include <pwd.h>
#include <grp.h>
-#include <lib-lib/mem.h>
-#include <lib-lib/str.h>
-#include <lib-lib/macros.h>
-#include <lib-lib/file.h>
-#include <lib-lib/mapping.h>
-
#include <lib-ui/curses.h>
#include <lib-ui/enter.h>
#include <lib-ui/menu.h>
+#include <lib-ui/sidebar.h>
#include "mutt.h"
#include "mx.h"
#ifdef USE_NNTP
#include "nntp.h"
#endif
-#include "sidebar.h"
#include "lib/list.h"
add_folder (menu, state, data->group, NULL, data->new);
#endif
}
- sidebar_draw (CurrentMenu);
+ sidebar_draw ();
}
else
#endif /* USE_NNTP */
}
closedir (dp);
}
- sidebar_draw (CurrentMenu);
+ sidebar_draw ();
browser_sort (state);
return 0;
}
(!option (OPTSHOWONLYUNREAD)|| data->unread))))
add_folder (menu, state, data->group, NULL, data, data->new);
}
- sidebar_draw (CurrentMenu);
+ sidebar_draw ();
}
else
#endif