summaryrefslogtreecommitdiff
path: root/src/nautilus-spatial-window.c
diff options
context:
space:
mode:
authorChristian Neumair <cneumair@gnome.org>2008-05-13 10:48:12 +0000
committerChristian Neumair <cneumair@src.gnome.org>2008-05-13 10:48:12 +0000
commitc367055540de156f0d71ea75922dbaf51ab12ef1 (patch)
treea8aa90c75de2ddb49d8ea8dd96948ee0708164c0 /src/nautilus-spatial-window.c
parent54c9be4ef3e8818212d5cbfe554d43ddcdb6a726 (diff)
downloadnautilus-c367055540de156f0d71ea75922dbaf51ab12ef1.tar.gz
Allow to open location popup menu for any location, and not just for
2008-05-13 Christian Neumair <cneumair@gnome.org> * libnautilus-private/nautilus-view.c (nautilus_view_pop_up_location_context_menu): * libnautilus-private/nautilus-view.h: * src/file-manager/fm-actions.h: * src/file-manager/fm-directory-view.c (action_self_properties_callback), (action_location_properties_callback), (fm_directory_view_finalize), (action_location_mount_volume_callback), (action_location_unmount_volume_callback), (action_location_eject_volume_callback), (action_location_format_volume_callback), (action_location_open_folder_window_callback), (action_location_cut_callback), (action_location_copy_callback), (action_location_trash_callback), (action_location_delete_callback), (real_update_location_menu_volumes), (real_update_location_menu), (fm_directory_view_pop_up_background_context_menu), (real_pop_up_location_context_menu), (location_popup_file_attributes_ready), (unschedule_pop_up_location_context_menu), (schedule_pop_up_location_context_menu), (fm_directory_view_pop_up_location_context_menu), (load_directory): * src/file-manager/fm-directory-view.h: * src/file-manager/nautilus-directory-view-ui.xml: * src/nautilus-location-bar.c (label_button_pressed_callback): * src/nautilus-navigation-window.c (nautilus_navigation_window_init), (path_bar_button_pressed_callback), (path_bar_path_set_callback): * src/nautilus-pathbar.c (nautilus_path_bar_class_init), (nautilus_path_bar_update_path), (nautilus_path_bar_get_path_for_button): * src/nautilus-pathbar.h: * src/nautilus-spatial-window.c (location_button_pressed_callback): Allow to open location popup menu for any location, and not just for currently open folder. Enable location popup menu for all path bar buttons. Add volume operations to location context menu. Fix separators in location context menu. Fixes #309844. Do not unref file when opening properties dialog from background context menu. svn path=/trunk/; revision=14156
Diffstat (limited to 'src/nautilus-spatial-window.c')
-rw-r--r--src/nautilus-spatial-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-spatial-window.c b/src/nautilus-spatial-window.c
index 60b313daf..0bd91fa66 100644
--- a/src/nautilus-spatial-window.c
+++ b/src/nautilus-spatial-window.c
@@ -616,7 +616,7 @@ location_button_pressed_callback (GtkWidget *widget,
{
if (event->button == 3 &&
window->content_view != NULL) {
- nautilus_view_pop_up_location_context_menu (window->content_view, event);
+ nautilus_view_pop_up_location_context_menu (window->content_view, event, NULL);
}
return FALSE;