summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2018-08-22 22:17:00 -0400
committerVictor Kareh <[email protected]>2018-08-25 11:33:39 -0400
commit52008388c5dbd947996e70ebd1416ba8628b7257 (patch)
tree9b447574b3dce661ea59e6899f0c8efcbdbcdc3d
parentf19255f52899603fe348739f7fb32c56bb763269 (diff)
downloadcaja-52008388c5dbd947996e70ebd1416ba8628b7257.tar.bz2
caja-52008388c5dbd947996e70ebd1416ba8628b7257.tar.xz
pathbar: Activate pane when changing location
-rw-r--r--src/caja-navigation-window-pane.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/caja-navigation-window-pane.c b/src/caja-navigation-window-pane.c
index 19c63d1f..020d5b82 100644
--- a/src/caja-navigation-window-pane.c
+++ b/src/caja-navigation-window-pane.c
@@ -201,6 +201,9 @@ path_bar_location_changed_callback (GtkWidget *widget,
slot = CAJA_NAVIGATION_WINDOW_SLOT (win_pane->active_slot);
+ /* Make sure we are changing the location on the correct pane */
+ caja_window_set_active_pane (CAJA_WINDOW_PANE (pane)->window, CAJA_WINDOW_PANE (pane));
+
/* check whether we already visited the target location */
i = bookmark_list_get_uri_index (slot->back_list, location);
if (i >= 0)