Skip to content
  • Alexander Larsson's avatar
    Move location bar entries to pane · f14e7d47
    Alexander Larsson authored
    Location bar entries are pane-specific, not window
    specific. Therefore, it is neccessary to move significant parts of the
    logic around, mainly from NautilusWindow to NautilusWindowPane, and
    NautilusNavigationWindow to NautilisNavigationWindowPane.
    
    In particular, the following functions have been moved into the pane:
    
    bookmark_list_get_uri_index
    restore_focus_widget
    search_bar_activate_callback
    search_bar_cancel_callback
    navigation_bar_cancel_callback
    navigation_bar_location_changed_callback
    location_button_should_be_active
    location_button_toggled_cb
    path_bar_location_changed_callback
    path_bar_button_pressed_callback
    path_bar_button_released_callback
    path_bar_button_drag_begin_callback
    path_bar_path_set_callback
    nautilus_navigation_window_show_location_bar_temporarily
    nautilus_navigation_window_show_navigation_bar_temporarily
    nautilus_navigation_window_path_bar_showing
    nautilus_navigation_window_set_bar_mode
    nautilus_navigation_window_search_bar_showing
    nautilus_navigation_window_hide_location_bar
    nautilus_navigation_window_show_location_bar
    nautilus_navigation_window_location_bar_showing
    nautilus_window_zoom_{in,out,to_level,to_default}
    
    The location bar setup parts of nautilus_navigation_window_init() have
    been moved to nautilus_navigation_window_pane_setup_location_bar.
    
    The following fuctions have been made public:
    
    hide_temporary_bars
    load_view_as_menu
    unset_focus_widget
    update_up_button
    
    Much logic of the following functions has been moved to the pane, but
    the functions themselves have been left in the window as triggers:
    
    nautilus_navigation_window_hide_temporary_bars
    nautilus_window_sync_location_widgets
    f14e7d47