summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooserwidget.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-07-15 00:15:44 -0400
committerMatthias Clasen <mclasen@redhat.com>2015-07-15 00:15:44 -0400
commite7c0bb6025b117ff36cc33740156f1f891aecde3 (patch)
treee1d275d8723e12706ef9179249821ab3737aec41 /gtk/gtkfilechooserwidget.c
parent6d757750f1e8daabb0704f960aa5481f6bef1ca1 (diff)
downloadgtk+-e7c0bb6025b117ff36cc33740156f1f891aecde3.tar.gz
file chooser: Show progess spinner even if not empty
With the previous approach, we could only show the spinner before we had any results. With the new approach, we can just leave the timeout in place and always show the spinner until the search is done.
Diffstat (limited to 'gtk/gtkfilechooserwidget.c')
-rw-r--r--gtk/gtkfilechooserwidget.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c
index a13179bd04..84f860a5ed 100644
--- a/gtk/gtkfilechooserwidget.c
+++ b/gtk/gtkfilechooserwidget.c
@@ -6964,12 +6964,6 @@ search_engine_hits_added_cb (GtkSearchEngine *engine,
g_list_free_full (files_with_info, g_object_unref);
g_list_free_full (infos, g_object_unref);
- if (impl->priv->show_progress_timeout)
- {
- g_source_remove (impl->priv->show_progress_timeout);
- impl->priv->show_progress_timeout = 0;
- }
-
gtk_stack_set_visible_child_name (GTK_STACK (impl->priv->browse_files_stack), "list");
}