sync with libegg code (closes bug #441042)
2007-05-25 Jens Granseuer <jensgr@gmx.net> * eggaccelerators.c: (egg_accelerator_parse_virtual): sync with libegg code (closes bug #441042) svn path=/trunk/; revision=7657
This commit is contained in:
parent
82a2c1f64d
commit
ec44448235
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-05-25 Jens Granseuer <jensgr@gmx.net>
|
||||
|
||||
* eggaccelerators.c: (egg_accelerator_parse_virtual): sync with libegg
|
||||
code (closes bug #441042)
|
||||
|
||||
2007-05-17 Jens Granseuer <jensgr@gmx.net>
|
||||
|
||||
Patch by: Chad Miller
|
||||
|
|
|
@ -352,8 +352,11 @@ egg_accelerator_parse_virtual (const gchar *accelerator,
|
|||
bad_keyval = TRUE;
|
||||
}
|
||||
}
|
||||
} else if (keycode != NULL)
|
||||
} else if (keycode != NULL) {
|
||||
*keycode = XKeysymToKeycode (GDK_DISPLAY(), keyval);
|
||||
if (*keycode == 0)
|
||||
bad_keyval = TRUE;
|
||||
}
|
||||
|
||||
accelerator += len;
|
||||
len -= len;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue