summaryrefslogtreecommitdiff
path: root/src/caja-navigation-window-pane.c
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2018-08-22 22:17:00 -0400
committerZenWalker <[email protected]>2018-08-24 18:32:20 +0200
commit3619f72800e135973f3a2bf615fe7827ab06273d (patch)
tree693f79455c95beab1880a58e5c5827b56f5b2515 /src/caja-navigation-window-pane.c
parentc455418207877b4f7f84e86bbdfbd4c667ae8221 (diff)
downloadcaja-3619f72800e135973f3a2bf615fe7827ab06273d.tar.bz2
caja-3619f72800e135973f3a2bf615fe7827ab06273d.tar.xz
pathbar: Activate pane when changing location
Diffstat (limited to 'src/caja-navigation-window-pane.c')
-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 84ae7f11..71d666a5 100644
--- a/src/caja-navigation-window-pane.c
+++ b/src/caja-navigation-window-pane.c
@@ -203,6 +203,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)