From eabdaf17dc1e3c06a60feb97b50eb5228eff781b Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 2 Oct 2015 06:57:05 -0400 Subject: file chooser: Clear busy cursor before showing error It looks odd to still have a busy cursor while the error dialog is presented. --- gtk/gtkfilechooserwidget.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c index 1c9e642950..21bca96828 100644 --- a/gtk/gtkfilechooserwidget.c +++ b/gtk/gtkfilechooserwidget.c @@ -4646,7 +4646,10 @@ browse_files_model_finished_loading_cb (GtkFileSystemModel *model, profile_start ("start", NULL); if (error) - show_error_on_reading_current_folder (impl, error); + { + set_busy_cursor (impl, FALSE); + show_error_on_reading_current_folder (impl, error); + } if (priv->load_state == LOAD_PRELOAD) { -- cgit v1.2.1