* view.c: view_display_status() is called inside display().

This commit is contained in:
Roland Illig 2005-07-07 17:03:25 +00:00
parent c4d669162a
commit 00fcae9141
2 changed files with 2 additions and 4 deletions

View File

@ -4,6 +4,7 @@
Tsekov. The coordinates are now relative to the Widget, as they Tsekov. The coordinates are now relative to the Widget, as they
should be. should be.
* view.c (view_status): Renamed to view_display_status(). * view.c (view_status): Renamed to view_display_status().
* view.c: view_display_status() is called inside display().
2005-07-06 Roland Illig <roland.illig@gmx.de> 2005-07-06 Roland Illig <roland.illig@gmx.de>

View File

@ -1792,6 +1792,7 @@ display (WView *view)
} else { } else {
view_display_text (view); view_display_text (view);
} }
view_display_status (view);
} }
static void static void
@ -1814,7 +1815,6 @@ view_update (WView *view)
if (view->dirty > dirt_limit) { if (view->dirty > dirt_limit) {
/* Too many updates skipped -> force a update */ /* Too many updates skipped -> force a update */
display (view); display (view);
view_display_status (view);
view->dirty = 0; view->dirty = 0;
/* Raise the update skipping limit */ /* Raise the update skipping limit */
dirt_limit++; dirt_limit++;
@ -1825,7 +1825,6 @@ view_update (WView *view)
if (is_idle ()) { if (is_idle ()) {
/* We have time to update the screen properly */ /* We have time to update the screen properly */
display (view); display (view);
view_display_status (view);
view->dirty = 0; view->dirty = 0;
if (dirt_limit > 1) if (dirt_limit > 1)
dirt_limit--; dirt_limit--;
@ -3184,7 +3183,6 @@ view_hook (void *v)
view_load (view, 0, panel->dir.list[panel->selected].fname, 0); view_load (view, 0, panel->dir.list[panel->selected].fname, 0);
display (view); display (view);
view_display_status (view);
} }
static cb_ret_t static cb_ret_t
@ -3207,7 +3205,6 @@ view_callback (Widget *w, widget_msg_t msg, int parm)
case WIDGET_DRAW: case WIDGET_DRAW:
display (view); display (view);
view_display_status (view);
return MSG_HANDLED; return MSG_HANDLED;
case WIDGET_CURSOR: case WIDGET_CURSOR: