mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 21:06:52 +03:00
* view.c (view_status): Renamed to view_display_status().
This commit is contained in:
parent
cecafaab0b
commit
c4d669162a
@ -3,6 +3,7 @@
|
||||
* view.c (view_compute_areas): Fixed a bug noted by Pavel
|
||||
Tsekov. The coordinates are now relative to the Widget, as they
|
||||
should be.
|
||||
* view.c (view_status): Renamed to view_display_status().
|
||||
|
||||
2005-07-06 Roland Illig <roland.illig@gmx.de>
|
||||
|
||||
|
12
src/view.c
12
src/view.c
@ -1422,7 +1422,7 @@ view_percent (WView *view, offset_type p)
|
||||
}
|
||||
|
||||
static void
|
||||
view_status (WView *view)
|
||||
view_display_status (WView *view)
|
||||
{
|
||||
const screen_dimen top = view->status_area.top;
|
||||
const screen_dimen left = view->status_area.left;
|
||||
@ -1814,7 +1814,7 @@ view_update (WView *view)
|
||||
if (view->dirty > dirt_limit) {
|
||||
/* Too many updates skipped -> force a update */
|
||||
display (view);
|
||||
view_status (view);
|
||||
view_display_status (view);
|
||||
view->dirty = 0;
|
||||
/* Raise the update skipping limit */
|
||||
dirt_limit++;
|
||||
@ -1825,14 +1825,14 @@ view_update (WView *view)
|
||||
if (is_idle ()) {
|
||||
/* We have time to update the screen properly */
|
||||
display (view);
|
||||
view_status (view);
|
||||
view_display_status (view);
|
||||
view->dirty = 0;
|
||||
if (dirt_limit > 1)
|
||||
dirt_limit--;
|
||||
} else {
|
||||
/* We are busy -> skipping full update,
|
||||
only the status line is updated */
|
||||
view_status (view);
|
||||
view_display_status (view);
|
||||
}
|
||||
/* Here we had a refresh, if fast scrolling does not work
|
||||
restore the refresh, although this should not happen */
|
||||
@ -3184,7 +3184,7 @@ view_hook (void *v)
|
||||
|
||||
view_load (view, 0, panel->dir.list[panel->selected].fname, 0);
|
||||
display (view);
|
||||
view_status (view);
|
||||
view_display_status (view);
|
||||
}
|
||||
|
||||
static cb_ret_t
|
||||
@ -3207,7 +3207,7 @@ view_callback (Widget *w, widget_msg_t msg, int parm)
|
||||
|
||||
case WIDGET_DRAW:
|
||||
display (view);
|
||||
view_status (view);
|
||||
view_display_status (view);
|
||||
return MSG_HANDLED;
|
||||
|
||||
case WIDGET_CURSOR:
|
||||
|
Loading…
Reference in New Issue
Block a user