fix crash in progress bar handling

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
Jindrich Novy 2010-12-09 10:42:10 +02:00 committed by Andrew Borodin
parent 4abfaf8172
commit b51ae367da
1 changed files with 1 additions and 1 deletions

View File

@ -617,7 +617,7 @@ file_op_context_create_ui_without_init (FileOpContext * ctx, gboolean with_eta,
if ((right_panel == current_panel) && !classic_progressbar) if ((right_panel == current_panel) && !classic_progressbar)
{ {
ui->progress_file_gauge->from_left_to_right = FALSE; ui->progress_file_gauge->from_left_to_right = FALSE;
if (dialog_type == FILEGUI_DIALOG_MULTI_ITEM) if (verbose && dialog_type == FILEGUI_DIALOG_MULTI_ITEM)
ui->progress_total_gauge->from_left_to_right = FALSE; ui->progress_total_gauge->from_left_to_right = FALSE;
} }
} }