[nautilus] files-view: select the pending selection



commit 91f75b78bb251c4247d37b577b78ca2dc21c3a89
Author: Carlos Soriano <csoriano gnome org>
Date:   Wed Mar 16 14:05:07 2016 +0100

    files-view: select the pending selection
    
    Not the selection itself, when we have a pending selection.
    
    This fixes the view not selecting the folder we just entered when
    returning back.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=763746

 src/nautilus-files-view.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-files-view.c b/src/nautilus-files-view.c
index c2c5bb8..fef1ce6 100644
--- a/src/nautilus-files-view.c
+++ b/src/nautilus-files-view.c
@@ -3186,7 +3186,7 @@ done_loading (NautilusFilesView *view,
                 } else if (pending_selection != NULL && all_files_seen) {
                         view->details->pending_selection = NULL;
 
-                        nautilus_files_view_call_set_selection (view, selection);
+                        nautilus_files_view_call_set_selection (view, pending_selection);
                         do_reveal = TRUE;
                 }
 


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