From 2fdbd4e878524228efe8d4650b4b276c153a08b2 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sat, 7 Aug 2004 23:35:41 +0000 Subject: [PATCH] Don't hardcode mapping of VK_DECIMAL to GDK_KP_Decimal. Instead, let 2004-08-07 Tor Lillqvist * gdk/win32/gdkkeys-win32.c (update_keymap): Don't hardcode mapping of VK_DECIMAL to GDK_KP_Decimal. Instead, let ToAsciiEx() map it to what's printed on the keypad decimal key for the current input locale (keyboard layout). (#149404) --- ChangeLog | 7 +++++++ ChangeLog.pre-2-10 | 7 +++++++ ChangeLog.pre-2-6 | 7 +++++++ ChangeLog.pre-2-8 | 7 +++++++ gdk/win32/gdkkeys-win32.c | 2 -- 5 files changed, 28 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 729529f3f9..187a01b703 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2004-08-07 Tor Lillqvist + + * gdk/win32/gdkkeys-win32.c (update_keymap): Don't hardcode + mapping of VK_DECIMAL to GDK_KP_Decimal. Instead, let ToAsciiEx() + map it to what's printed on the keypad decimal key for the current + input locale (keyboard layout). (#149404) + Sat Aug 7 18:19:03 2004 Matthias Clasen * gtk/gtkfilechooserdefault.c (save_folder_combo_create): diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 729529f3f9..187a01b703 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,10 @@ +2004-08-07 Tor Lillqvist + + * gdk/win32/gdkkeys-win32.c (update_keymap): Don't hardcode + mapping of VK_DECIMAL to GDK_KP_Decimal. Instead, let ToAsciiEx() + map it to what's printed on the keypad decimal key for the current + input locale (keyboard layout). (#149404) + Sat Aug 7 18:19:03 2004 Matthias Clasen * gtk/gtkfilechooserdefault.c (save_folder_combo_create): diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 729529f3f9..187a01b703 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,10 @@ +2004-08-07 Tor Lillqvist + + * gdk/win32/gdkkeys-win32.c (update_keymap): Don't hardcode + mapping of VK_DECIMAL to GDK_KP_Decimal. Instead, let ToAsciiEx() + map it to what's printed on the keypad decimal key for the current + input locale (keyboard layout). (#149404) + Sat Aug 7 18:19:03 2004 Matthias Clasen * gtk/gtkfilechooserdefault.c (save_folder_combo_create): diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 729529f3f9..187a01b703 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,10 @@ +2004-08-07 Tor Lillqvist + + * gdk/win32/gdkkeys-win32.c (update_keymap): Don't hardcode + mapping of VK_DECIMAL to GDK_KP_Decimal. Instead, let ToAsciiEx() + map it to what's printed on the keypad decimal key for the current + input locale (keyboard layout). (#149404) + Sat Aug 7 18:19:03 2004 Matthias Clasen * gtk/gtkfilechooserdefault.c (save_folder_combo_create): diff --git a/gdk/win32/gdkkeys-win32.c b/gdk/win32/gdkkeys-win32.c index 9473a36acc..a19f147d66 100644 --- a/gdk/win32/gdkkeys-win32.c +++ b/gdk/win32/gdkkeys-win32.c @@ -203,8 +203,6 @@ update_keymap (void) *ksymp = GDK_KP_Separator; break; case VK_SUBTRACT: *ksymp = GDK_KP_Subtract; break; - case VK_DECIMAL: - *ksymp = GDK_KP_Decimal; break; case VK_DIVIDE: *ksymp = GDK_KP_Divide; break; case VK_F1: