File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1375,14 +1375,14 @@ public class Files.View.Window : Hdy.ApplicationWindow {
13751375 }
13761376
13771377 update_browser_buttons ();
1378+ location_bar. set_display_path (current_container. uri);
13781379
13791380 /* Update viewmode switch, action state and settings */
13801381 var mode = current_container. view_mode;
13811382 view_switcher. set_mode (mode);
13821383 view_switcher. sensitive = current_container. can_show_folder;
13831384 get_action (" view-mode" ). change_state (new Variant .uint32 (mode));
13841385 Files . app_settings. set_enum (" default-viewmode" , mode);
1385- update_location_bar (current_container. uri);
13861386 }
13871387
13881388 public void update_browser_buttons () {
@@ -1422,12 +1422,6 @@ public class Files.View.Window : Hdy.ApplicationWindow {
14221422 button_forward. menu = forward_menu;
14231423 }
14241424
1425- private void update_location_bar (string new_path , bool with_animation = true ) {
1426- location_bar. with_animation = with_animation;
1427- location_bar. set_display_path (new_path);
1428- location_bar. with_animation = true ;
1429- }
1430-
14311425 private void update_labels (string uri ) {
14321426 if (current_container != null ) { /* Can happen during restore */
14331427 set_title (current_container. tab_name); /* Not actually visible on elementaryos */
You can’t perform that action at this time.
0 commit comments