[PATCH] Bug 142227: alt-up should select folder in parent window



Here's a more thorough patch that fixes this bug:
http://bugzilla.gnome.org/show_bug.cgi?id=142227

It correctly reveals the new selection whether or not the parent
window is already open.

Changes:
nautilus-application.c
	- created nautilus_application_present_spatial_window_with_selection()
	- modified nautilus_application_present_spatial_window() to use
nautilus_application_present_spatial_window_with_selection()
	
nautilus-application.h
	- created prototype for
nautilus_application_present_spatial_window_with_selection()
	
nautilus-window-manage-views.c
	- modified open_location() to use the new
nautilus_application_present_spatial_window_with_selection()
	- modified load_directory_metadata_callback() so that a spatial
window's scroll position is correctly set if it has a pending
selection
	
nautilus-window.[ch]
	- created nautilus_window_go_to_with_selection()
	
fm-directory-view.c (selection_changed_callback)
	- reveal a new selection if it's set while the view is not loading
	- moved code for freeing pending_uris_selected into the 'else' block
to clarify the logic, since it's only executed when the view is
loading anyway


Jimmy

Attachment: spatial-alt-up-select-bug142227.patch
Description: Binary data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]