Ticket #3555: panel.h: define typedef list_type_t.

We use 'typedef' to make it conform with all other type declarations
in that file.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Mooffie 2015-11-13 16:00:35 +02:00 committed by Andrew Borodin
parent 84c81f1f92
commit 162f8a9fa7

View File

@ -27,13 +27,13 @@
/*** enums ***************************************************************************************/
enum list_types
typedef enum
{
list_full, /* Name, size, perm/date */
list_brief, /* Name */
list_long, /* Like ls -l */
list_user /* User defined */
};
} list_type_t;
typedef enum
{
@ -93,7 +93,7 @@ typedef struct
Widget widget;
dir_list dir; /* Directory contents */
enum list_types list_type; /* listing type */
list_type_t list_type; /* listing type */
int active; /* If panel is currently selected */
vfs_path_t *cwd_vpath; /* Current Working Directory */
vfs_path_t *lwd_vpath; /* Last Working Directory */