1
1

* layout.c (layout_change): Make static.

* screen.c (paint_panel): Likewise.
* cmd.c (dirsizes_cmd): Use dirty flag.
* tree.c (chdir_sel): Don't call paint_panel().
Этот коммит содержится в:
Pavel Roskin 2003-09-10 06:15:53 +00:00
родитель 33078ab195
Коммит f462c5a77d
7 изменённых файлов: 13 добавлений и 11 удалений

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

@ -1,5 +1,10 @@
2003-09-10 Pavel Roskin <proski@gnu.org>
* layout.c (layout_change): Make static.
* screen.c (paint_panel): Likewise.
* cmd.c (dirsizes_cmd): Use dirty flag.
* tree.c (chdir_sel): Don't call paint_panel().
* find.c: Remove useless calls to paint_panel().
* panelize.c: Likewise.

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

@ -1261,7 +1261,7 @@ dirsizes_cmd (void)
}
recalculate_panel_summary (panel);
paint_panel (panel);
panel->dirty = 1;
}
void

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

@ -485,15 +485,16 @@ init_layout (void)
radio_widget->sel = horizontal_split;
}
void layout_change (void)
static void
layout_change (void)
{
setup_panels ();
layout_do_change = 0;
/* re-init the menu, because perhaps there was a change in the way
how the panel are split (horizontal/vertical). */
done_menu();
init_menu();
menubar_arrange(the_menubar);
how the panel are split (horizontal/vertical). */
done_menu ();
init_menu ();
menubar_arrange (the_menubar);
}
void layout_cmd (void)

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

@ -11,7 +11,6 @@ void destroy_panels (void);
void move_resize_panel (void);
void flag_winch (int dummy);
void change_screen_size (void);
void layout_change (void);
void set_display_type (int num, int type);
void swap_panels (void);
int get_display_type (int index);

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

@ -85,9 +85,7 @@ extern int show_mini_info;
extern int panel_scroll_pages;
extern int fast_reload;
void paint_panel (WPanel *panel);
void panel_reload (WPanel *panel);
void panel_set_sort_order (WPanel *panel, sortfn *sort_order);
void panel_re_sort (WPanel *panel);

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

@ -789,7 +789,7 @@ panel_update_contents (WPanel *panel)
}
/* Repaint everything, including frame and separator */
void
static void
paint_panel (WPanel *panel)
{
paint_frame (panel);

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

@ -879,7 +879,6 @@ chdir_sel (WTree *tree)
}
change_panel ();
if (do_cd (tree->selected_ptr->name, cd_exact)) {
paint_panel (cpanel);
select_item (cpanel);
} else {
message (1, MSG_ERROR, _(" Cannot chdir to \"%s\" \n %s "),