From 4e320ed36f200b15cd65c8d07a645117fd1de972 Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Fri, 15 Aug 2008 09:35:44 +0000
Subject: [PATCH] CTRL+i  in private message now works. Fixes #4066

---
 src/message_window.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/message_window.py b/src/message_window.py
index ba200ea70a..2be38edf5c 100644
--- a/src/message_window.py
+++ b/src/message_window.py
@@ -320,8 +320,8 @@ class MessageWindow(object):
 			elif control.type_id == message_control.TYPE_CHAT and \
 			keyval == gtk.keysyms.g: # CTRL + g
 				control._on_convert_to_gc_menuitem_activate(None)
-			elif control.type_id == message_control.TYPE_CHAT and \
-			keyval == gtk.keysyms.i: # CTRL + i
+			elif control.type_id in (message_control.TYPE_CHAT,
+			message_control.TYPE_PM) and keyval == gtk.keysyms.i: # CTRL + i
 				control._on_contact_information_menuitem_activate(None)
 			elif keyval == gtk.keysyms.l or keyval == gtk.keysyms.L: # CTRL + l|L
 				control.conv_textview.clear()
-- 
GitLab