* screen.c (use_display_format): Set dirty flag. Remove calls
to paint_panel() where they become unneeded.
Этот коммит содержится в:
родитель
9f461b6697
Коммит
109b933235
@ -1,5 +1,8 @@
|
||||
2003-09-10 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* screen.c (use_display_format): Set dirty flag. Remove calls
|
||||
to paint_panel() where they become unneeded.
|
||||
|
||||
* screen.c (file_mark): Set dirty flag if the mark changes.
|
||||
* cmd.c: Remove calls to paint_panel() due to file marks.
|
||||
|
||||
|
@ -1298,8 +1298,6 @@ configure_panel_listing (WPanel *p, int view_type, int use_msformat, char *user,
|
||||
}
|
||||
|
||||
set_panel_formats (p);
|
||||
paint_panel (p);
|
||||
|
||||
do_refresh ();
|
||||
}
|
||||
|
||||
@ -1389,7 +1387,6 @@ set_basic_panel_listing_to (int panel_index, int listing_mode)
|
||||
if (set_panel_formats (p))
|
||||
return 0;
|
||||
|
||||
paint_panel (p);
|
||||
do_refresh ();
|
||||
return 1;
|
||||
}
|
||||
|
@ -807,7 +807,6 @@ listmode_cmd (void)
|
||||
cpanel->list_type = list_user;
|
||||
cpanel->user_format = newmode;
|
||||
set_panel_formats (cpanel);
|
||||
paint_panel (cpanel);
|
||||
|
||||
do_refresh ();
|
||||
}
|
||||
|
@ -1315,6 +1315,8 @@ use_display_format (WPanel *panel, char *format, char **error, int isstatus)
|
||||
if (*error)
|
||||
return 0;
|
||||
|
||||
panel->dirty = 1;
|
||||
|
||||
/* Status needn't to be split */
|
||||
usable_columns = ((panel->widget.cols-2)/((isstatus)
|
||||
? 1
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user