Re: bug poke.
- From: Federico Mena Quintero <federico ximian com>
- To: Alexander Larsson <alexl redhat com>
- Cc: Ryan Lortie <desrt desrt ca>, nautilus hackers <nautilus-list gnome org>
- Subject: Re: bug poke.
- Date: Thu, 23 Feb 2006 20:51:05 -0600
On Tue, 2006-02-21 at 16:40 +0100, Alexander Larsson wrote:
> You should use "(event->state & GDK_SHIFT_MASK) == GDK_SHIFT_MASK" like
> christian said (otherwise it'd also match e.g. ctrl-shift enter). Also,
> shouldn't it return TRUE, since it handles the key event?
Actually, you should do
(event->state & gtk_accelerator_get_default_mod_mask()) == GDK_SHIFT_MASK
per http://developer.gnome.org/doc/API/2.0/gtk/checklist-modifiers.html
Otherwise, shift+enter won't work if you have NumLock or CapsLock on.
Federico
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]