diff options
author | Carlos Soriano <csoriano@gnome.org> | 2015-07-23 23:22:00 +0200 |
---|---|---|
committer | Carlos Soriano <csoriano@gnome.org> | 2015-07-23 23:22:00 +0200 |
commit | cbc4759bfc6df5748b7fa2905201a2a8d8697803 (patch) | |
tree | 2f9d3463fd4e76ed075268f34c0f69f60c72e578 | |
parent | 8eacd7b2bfaaf549c2f4b0323d8ce4a57035d0b0 (diff) | |
download | nautilus-cbc4759bfc6df5748b7fa2905201a2a8d8697803.tar.gz |
window-slot: clarify comment about races on done_loading
-rw-r--r-- | src/nautilus-window-slot.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nautilus-window-slot.c b/src/nautilus-window-slot.c index 43d50a260..7a6036b2e 100644 --- a/src/nautilus-window-slot.c +++ b/src/nautilus-window-slot.c @@ -217,6 +217,10 @@ nautilus_window_slot_on_done_loading (NautilusDirectory *directory, slot->details->busy = FALSE; remove_loading_floating_bar (slot); + /* For this pourpose, we could check directly to see if the view is empty, + * instead of avoiding races disconnecting the model when appropiate. + * But I think we are doing better disconnecting when we know the data + * of the directory is not valid */ if (g_list_length (files) != 0) { gtk_widget_hide (slot->details->no_search_results_widget); } else { |