Bring up context menu is Ctrl-F10, not Shift-F9

2003-04-23  Alexander Larsson  <alexl@redhat.com>

	* src/file-manager/fm-list-view.c (key_press_callback):
	* libnautilus-private/nautilus-icon-container.c (key_press_event):
	* docs/key_mouse_navigation.txt (Keyboard):
	Bring up context menu is Ctrl-F10, not Shift-F9
This commit is contained in:
Alexander Larsson 2003-04-23 14:31:22 +00:00 committed by Alexander Larsson
parent e2543b16f0
commit e8aa1cbbaa
4 changed files with 15 additions and 14 deletions

View file

@ -1,3 +1,10 @@
2003-04-23 Alexander Larsson <alexl@redhat.com>
* src/file-manager/fm-list-view.c (key_press_callback):
* libnautilus-private/nautilus-icon-container.c (key_press_event):
* docs/key_mouse_navigation.txt (Keyboard):
Bring up context menu is Ctrl-F10, not Shift-F9
2003-04-23 Glynn Foster <glynn.foster@sun.com>
* src/nautilus-bookmarks-window.c:
@ -10,7 +17,7 @@
dialog. Fixes bug #47180.
2003-04-23 Alexander Larsson <alexl@redhat.com>
* src/file-manager/fm-desktop-icon-view.c (volume_ops_callback):
Check for file: instead of is_local when verifying a volume desktop file
is ok. Fixes bug #98306.

View file

@ -52,7 +52,7 @@ Alt Up - go up a directory
Alt Down - enter directory / activate selection
Shift-F10 bring up context menu for selection, or the directory context menu if nothing is selected
Shift-F9 bring up context menu for directory
Ctrl-F10 bring up context menu for directory
Other key presses are used for typeahead search

View file

@ -3324,14 +3324,11 @@ key_press_event (GtkWidget *widget,
undo_stretching (container);
handled = TRUE;
break;
case GDK_F9:
if (event->state & GDK_SHIFT_MASK) {
case GDK_F10:
if (event->state & GDK_CONTROL_MASK) {
handled = handle_popups (container, event,
"context_click_background");
}
break;
case GDK_F10:
if (event->state & GDK_SHIFT_MASK) {
} else if (event->state & GDK_SHIFT_MASK) {
if (has_selection (container)) {
handled = handle_popups (container, event,
"context_click_selection");

View file

@ -507,13 +507,10 @@ key_press_callback (GtkWidget *widget, GdkEventKey *event, gpointer callback_dat
view = FM_DIRECTORY_VIEW (callback_data);
switch (event->keyval) {
case GDK_F9:
if (event->state & GDK_SHIFT_MASK) {
fm_directory_view_pop_up_background_context_menu (view, &button_event);
}
break;
case GDK_F10:
if (event->state & GDK_SHIFT_MASK) {
if (event->state & GDK_CONTROL_MASK) {
fm_directory_view_pop_up_background_context_menu (view, &button_event);
} else if (event->state & GDK_SHIFT_MASK) {
if (tree_view_has_selection (GTK_TREE_VIEW (widget))) {
fm_directory_view_pop_up_selection_context_menu (view, &button_event);
} else {