emesene/emesene — pull request #1319 by moneycat (2012-05-31 07:31:47+00:00)
Title: gui.gtkui.ConversationManager: Make Ctrl+W to close tab work without escape shortcut enabled. Refs #1139.

First seem in commit 6780c333fc71c09665e085704a10695e53765720. If not enable escape shortcut, the ctrl+w malfunctioned.

It is strange the keyval is always 119 (gtk.keysyms.w) in my system, where the function defined is gtk.keysyms.W. The two values (W/w) can be passed into the close function so I made a check for escape to prevent any unpredictable error.