(file_op_context_create_ui): apply callback to the "Abort" button

...to keep the file progress dialog visible.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2024-08-20 21:59:43 +03:00
parent ad96349c91
commit 5e64cc637f
1 changed files with 1 additions and 1 deletions

View File

@ -936,7 +936,7 @@ file_op_context_create_ui (file_op_context_t *ctx, gboolean with_eta,
progress_buttons[3].w = WIDGET (button_new (y, 0, progress_buttons[3].action,
progress_buttons[3].flags, progress_buttons[3].text,
NULL));
progress_button_callback));
if (progress_buttons[3].len == -1)
progress_buttons[3].len = button_get_len (BUTTON (progress_buttons[3].w));