summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk/window
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@frugalware.org>2011-12-13 00:46:27 +0100
committerMiklos Vajna <vmiklos@frugalware.org>2011-12-13 14:33:07 +0100
commitb26292882bf2439a78488b55b4ac21c244ef61b1 (patch)
treeb13ed4a5846ac67e9b2e6a362c1386e6ff8f00ac /vcl/unx/gtk/window
parent63961609e83e77252d75ced99a4141cba470b696 (diff)
fdo#30714 Use different default key bindings for Hungarian locale
Mimic Hungarian Excel's key bindings: * inserting current date is Ctrl-'.' * inserting current time is Ctrl-Shift-'.'
Diffstat (limited to 'vcl/unx/gtk/window')
-rw-r--r--vcl/unx/gtk/window/gtkframe.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk/window/gtkframe.cxx b/vcl/unx/gtk/window/gtkframe.cxx
index ec318c949f9c..2e1c1068c890 100644
--- a/vcl/unx/gtk/window/gtkframe.cxx
+++ b/vcl/unx/gtk/window/gtkframe.cxx
@@ -215,7 +215,7 @@ static sal_uInt16 GetKeyCode( guint keyval )
case GDK_KP_Multiply: nCode = KEY_MULTIPLY; break;
case GDK_slash:
case GDK_KP_Divide: nCode = KEY_DIVIDE; break;
- case GDK_period:
+ case GDK_period: nCode = KEY_POINT; break;
case GDK_decimalpoint: nCode = KEY_POINT; break;
case GDK_comma: nCode = KEY_COMMA; break;
case GDK_less: nCode = KEY_LESS; break;