[gtk+/gtk-3-2] Revert 3fd7dbc94074826755da7fc3237e439ba6e81ada
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-2] Revert 3fd7dbc94074826755da7fc3237e439ba6e81ada
- Date: Mon, 12 Dec 2011 15:11:50 +0000 (UTC)
commit 084738958156fafedb4065afbd8bb7f14f85d4cc
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Dec 8 12:44:19 2011 -0500
Revert 3fd7dbc94074826755da7fc3237e439ba6e81ada
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 0902283..be5a44d 100644
--- a/gtk/gtkcellrendereraccel.c
+++ b/gtk/gtkcellrendereraccel.c
@@ -475,8 +475,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_KEY_ISO_Left_Tab)
accel_key = GDK_KEY_Tab;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]