1
1

* screen.c (use_display_format): Set dirty flag. Remove calls

to paint_panel() where they become unneeded.
Этот коммит содержится в:
Pavel Roskin 2003-09-10 05:26:04 +00:00
родитель 9f461b6697
Коммит 109b933235
4 изменённых файлов: 5 добавлений и 4 удалений

Просмотреть файл

@ -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