Handle = key for inline search in Ukrainian layout

Fixes: https://bugs.launchpad.net/midori/+bug/715082
This commit is contained in:
Christian Dywan 2012-01-03 22:12:30 +01:00
parent c3efa0cd7b
commit bf7cfa902c

View file

@ -1829,7 +1829,7 @@ gtk_widget_key_press_event_cb (WebKitWebView* web_view,
event->state = event->state & MIDORI_KEYS_MODIFIER_MASK; event->state = event->state & MIDORI_KEYS_MODIFIER_MASK;
/* Handle oddities in Russian keyboard layouts */ /* Handle oddities in Russian keyboard layouts */
if (event->hardware_keycode == ';') if (event->hardware_keycode == ';' || event->hardware_keycode == '=')
event->keyval = ','; event->keyval = ',';
else if (event->hardware_keycode == '<') else if (event->hardware_keycode == '<')
event->keyval = '.'; event->keyval = '.';