* gtkeditkey.c (edit_translate_key): When processing bindings

with Alt check that Shift is not pressed - it's handled later.
This commit is contained in:
Pavel Roskin 2001-07-10 19:20:45 +00:00
parent c2560cf2a6
commit ca73acb9bc
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-07-10 Pavel Roskin <proski@gnu.org>
* gtkeditkey.c (edit_translate_key): When processing bindings
with Alt check that Shift is not pressed - it's handled later.
2001-07-05 Pavel Roskin <proski@gnu.org>
* editdraw.c: Comment fixes.

View File

@ -161,7 +161,7 @@ int edit_translate_key (unsigned int x_keycode, long x_key, int x_state, int *cm
goto fin;
}
if ((x_state & MyAltMask)) {
if ((x_state & MyAltMask) && !(x_state & ShiftMask)) {
switch ((int) x_key) {
case GDK_Left:
case GDK_KP_Left: