Bug 784246 KeymapWrapper::GuessGDKKeyval() should return GDK_colon for NS_VK_COLON r=karlt
authorMasayuki Nakano <masayuki@d-toybox.com>
Tue, 21 Aug 2012 13:35:23 +0900
changeset 102893 e7a5abbbafa4c8da049c735cb94cebfba7db34a3
parent 102892 ee70e70fb7f8ddb52edfe242037fc9171a1dbb73
child 102894 94174af1fd88b18480a919d56a2ded18f2c749ee
push id13704
push usermasayuki@d-toybox.com
push dateTue, 21 Aug 2012 04:35:42 +0000
treeherdermozilla-inbound@e7a5abbbafa4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskarlt
bugs784246
milestone17.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 784246 KeymapWrapper::GuessGDKKeyval() should return GDK_colon for NS_VK_COLON r=karlt
widget/gtk2/nsGtkKeyUtils.cpp
--- a/widget/gtk2/nsGtkKeyUtils.cpp
+++ b/widget/gtk2/nsGtkKeyUtils.cpp
@@ -830,17 +830,17 @@ KeymapWrapper::GuessGDKKeyval(PRUint32 a
         case NS_VK_NUMPAD4:   return GDK_KP_4;
         case NS_VK_NUMPAD5:   return GDK_KP_5;
         case NS_VK_NUMPAD6:   return GDK_KP_6;
         case NS_VK_NUMPAD7:   return GDK_KP_7;
         case NS_VK_NUMPAD8:   return GDK_KP_8;
         case NS_VK_NUMPAD9:   return GDK_KP_9;
         // other prinable keys
         case NS_VK_SPACE:               return GDK_space;
-        case NS_VK_COLON:               return GDK_comma;
+        case NS_VK_COLON:               return GDK_colon;
         case NS_VK_SEMICOLON:           return GDK_semicolon;
         case NS_VK_LESS_THAN:           return GDK_less;
         case NS_VK_EQUALS:              return GDK_equal;
         case NS_VK_GREATER_THAN:        return GDK_greater;
         case NS_VK_QUESTION_MARK:       return GDK_question;
         case NS_VK_AT:                  return GDK_at;
         case NS_VK_CIRCUMFLEX:          return GDK_asciicircum;
         case NS_VK_EXCLAMATION:         return GDK_exclam;