Fallout from fixing bug 8220 (Having Ctrl as default "modifier key used

2001-05-22  John Harper  <jsh@pixelslut.com>

	Fallout from fixing bug 8220 (Having Ctrl as default "modifier
	key used for default WM shortcuts" breaks everything...):

	* libnautilus-private/nautilus-icon-container.c
	(keyboard_space, keyboard_move_to): changed to use Control
	modifier instead of Alt
This commit is contained in:
John Harper 2001-05-23 20:52:55 +00:00 committed by John Harper
parent 8f83341d0e
commit 5bc8afbc19
2 changed files with 14 additions and 5 deletions

View file

@ -1,3 +1,12 @@
2001-05-22 John Harper <jsh@pixelslut.com>
Fallout from fixing bug 8220 (Having Ctrl as default "modifier
key used for default WM shortcuts" breaks everything...):
* libnautilus-private/nautilus-icon-container.c
(keyboard_space, keyboard_move_to): changed to use Control
modifier instead of Alt
2001-05-22 Darin Adler <darin@eazel.com>
Fixed problem compiling with new gettext:

View file

@ -1945,9 +1945,9 @@ keyboard_move_to (NautilusIconContainer *container,
return;
}
if ((event->state & GDK_MOD1_MASK) != 0) {
/* Move the keyboard focus. Use Alt modifier
* rather than Control to avoid Sawfish conflict.
if ((event->state & GDK_CONTROL_MASK) != 0) {
/* Move the keyboard focus. Use Control modifier
* rather than Alt to avoid Sawfish conflict.
*/
set_keyboard_focus (container, icon);
} else {
@ -2124,9 +2124,9 @@ static void
keyboard_space (NautilusIconContainer *container,
GdkEventKey *event)
{
/* Alt-space toggles the selection state of the current icon. */
/* Control-space toggles the selection state of the current icon. */
if (container->details->keyboard_focus != NULL &&
(event->state & GDK_MOD1_MASK) != 0) {
(event->state & GDK_CONTROL_MASK) != 0) {
icon_toggle_selected (container, container->details->keyboard_focus);
gtk_signal_emit (GTK_OBJECT (container), signals[SELECTION_CHANGED]);
}