1
1

* dlg.c (init_dlg): Redraw screen after selecting the focused

widget, not before.  The bug affected file progress dialog with
verbose operation off.
Reported by Dmitry Semyonov <Dmitry.Semyonov@oktet.ru>
Этот коммит содержится в:
Pavel Roskin 2002-10-24 21:26:52 +00:00
родитель ac200c18ba
Коммит 586785c248
2 изменённых файлов: 9 добавлений и 3 удалений

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

@ -1,5 +1,10 @@
2002-10-24 Pavel Roskin <proski@gnu.org>
* dlg.c (init_dlg): Redraw screen after selecting the focused
widget, not before. The bug affected file progress dialog with
verbose operation off.
Reported by Dmitry Semyonov <Dmitry.Semyonov@oktet.ru>
* filegui.c (check_progress_buttons): Reinitialize ret_value to
avoid old values after events other than selecting a button.
Reported by Dmitry Semyonov <Dmitry.Semyonov@oktet.ru>

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

@ -770,12 +770,13 @@ void init_dlg (Dlg_head *h)
/* Initialize the mouse status */
h->mouse_status = MOU_NORMAL;
/* Redraw the screen */
dlg_redraw (h);
/* Select the first widget that takes focus */
while (!dlg_focus (h) && h->current)
h->current = h->current->next;
/* Redraw the screen */
dlg_redraw (h);
h->ret_value = 0;
h->running = 1;
}