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
This commit is contained in:
Barnabás Pőcze 2023-10-12 19:28:56 +00:00 committed by António Fernandes
parent 59aeabcf02
commit f65c2921b0

View file

@ -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)