[gtk+/gtk-2-24] Revert be1eea612cb7beacffdc0b31e7158195004f5e2d
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-24] Revert be1eea612cb7beacffdc0b31e7158195004f5e2d
- Date: Thu, 8 Dec 2011 17:48:05 +0000 (UTC)
commit 4eae58ab43fadd90bb7b99ea9f24d6a86341d8c6
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Dec 8 12:46:55 2011 -0500
Revert be1eea612cb7beacffdc0b31e7158195004f5e2d
Calling gdk_keymap_add_virtual_modifiers causes _all_ virtual
modifiers to be added, which causes problem when they are co-located
on the same real modifier (as Super and Hyper often are). Effectively,
this made it impossible to enter key combinations involving Super,
since they all turn into Super+Hyper.
gtk/gtkcellrendereraccel.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkcellrendereraccel.c b/gtk/gtkcellrendereraccel.c
index d25ec80..3436610 100644
--- a/gtk/gtkcellrendereraccel.c
+++ b/gtk/gtkcellrendereraccel.c
@@ -431,8 +431,6 @@ grab_key_callback (GtkWidget *widget,
event->group,
&keyval, NULL, NULL, &consumed_modifiers);
- gdk_keymap_add_virtual_modifiers (gdk_keymap_get_for_display (display), &accel_mods);
-
accel_key = gdk_keyval_to_lower (keyval);
if (accel_key == GDK_ISO_Left_Tab)
accel_key = GDK_Tab;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]