* panel.h: Use spaces, not commas, in the format - they are more
readable and easier to document. * screen.c (panel_format): Likewise. (mini_status_format): Likewise.
Этот коммит содержится в:
родитель
cb07766c18
Коммит
85f55fe291
@ -1,3 +1,10 @@
|
||||
2002-10-29 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* panel.h: Use spaces, not commas, in the format - they are more
|
||||
readable and easier to document.
|
||||
* screen.c (panel_format): Likewise.
|
||||
(mini_status_format): Likewise.
|
||||
|
||||
2002-10-24 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* screen.c (mini_info_separator): Revert last patch. The bug is
|
||||
|
@ -179,7 +179,7 @@ extern WPanel *current_panel;
|
||||
|
||||
void try_to_select (WPanel *panel, char *name);
|
||||
|
||||
#define DEFAULT_USER_FORMAT "half type,name,|,size,|,perm"
|
||||
#define DEFAULT_USER_FORMAT "half type name | size | perm"
|
||||
|
||||
/* This were in main: */
|
||||
void unmark_files (WPanel *panel);
|
||||
|
12
src/screen.c
12
src/screen.c
@ -1382,17 +1382,17 @@ panel_format (WPanel *panel)
|
||||
switch (panel->list_type){
|
||||
|
||||
case list_long:
|
||||
return "full perm,space,nlink,space,owner,space,group,space,size,space,mtime,space,name";
|
||||
return "full perm space nlink space owner space group space size space mtime space name";
|
||||
|
||||
case list_brief:
|
||||
return "half 2,type,name";
|
||||
return "half 2 type name";
|
||||
|
||||
case list_user:
|
||||
return panel->user_format;
|
||||
|
||||
default:
|
||||
case list_full:
|
||||
return "half type,name,|,size,|,mtime";
|
||||
return "half type name | size | mtime";
|
||||
}
|
||||
}
|
||||
|
||||
@ -1405,13 +1405,13 @@ mini_status_format (WPanel *panel)
|
||||
switch (panel->list_type){
|
||||
|
||||
case list_long:
|
||||
return "full perm,space,nlink,space,owner,space,group,space,size,space,mtime,space,name";
|
||||
return "full perm space nlink space owner space group space size space mtime space name";
|
||||
|
||||
case list_brief:
|
||||
return "half type,name,space,bsize,space,perm,space";
|
||||
return "half type name space bsize space perm space";
|
||||
|
||||
case list_full:
|
||||
return "half type,name";
|
||||
return "half type name";
|
||||
|
||||
default:
|
||||
case list_user:
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user