From f65c2921b043dcab318cb252b4b99bf0ad6d00dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barnab=C3=A1s=20P=C5=91cze?= Date: Thu, 12 Oct 2023 19:28:56 +0000 Subject: [PATCH] window: Open location entry when current path is clicked Make the location entry visible when the current path is clicked in the path bar. Closes https://gitlab.gnome.org/GNOME/nautilus/-/issues/85 --- src/nautilus-pathbar.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nautilus-pathbar.c b/src/nautilus-pathbar.c index e02aeb42b..a93f2896e 100644 --- a/src/nautilus-pathbar.c +++ b/src/nautilus-pathbar.c @@ -1197,6 +1197,7 @@ make_button_data (NautilusPathBar *self, gtk_widget_add_css_class (button_data->button, "current-dir"); gtk_widget_set_hexpand (button_data->button, TRUE); gtk_widget_set_halign (button_data->label, GTK_ALIGN_START); + gtk_actionable_set_action_name (GTK_ACTIONABLE (button_data->button), "win.enter-location"); } if (button_data->label != NULL)