[gtk+] file chooser: Clear busy cursor before showing error



commit eabdaf17dc1e3c06a60feb97b50eb5228eff781b
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Oct 2 06:57:05 2015 -0400

    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 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c
index 1c9e642..21bca96 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)
     {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]