summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano@gnome.org>2016-03-16 14:05:07 +0100
committerCarlos Soriano <csoriano@gnome.org>2016-03-17 14:07:11 +0100
commit91f75b78bb251c4247d37b577b78ca2dc21c3a89 (patch)
tree26458db044ce95cb8fae54dae36521d24c5c63f9
parent4963cd7d564b633299f8e31bb8ac10f67eae6477 (diff)
downloadnautilus-91f75b78bb251c4247d37b577b78ca2dc21c3a89.tar.gz
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
-rw-r--r--src/nautilus-files-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-files-view.c b/src/nautilus-files-view.c
index c2c5bb8fe..fef1ce6fb 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;
}