comparison orpg/chat/chatwnd.py @ 69:8fb07d0a1ca0 ornery-dev

o\ /o I am working on the Controls tab now. I hate when I make these little edits. fixed chatwnd so you could *ahem* type.
author sirebral
date Tue, 18 Aug 2009 07:47:01 -0500
parents c54768cffbd4
children 449a8900f9ac
comparison
equal deleted inserted replaced
68:3ea7a54284bb 69:8fb07d0a1ca0
64 import sys 64 import sys
65 import cStringIO # for reading inline imagedata as a stream 65 import cStringIO # for reading inline imagedata as a stream
66 from HTMLParser import HTMLParser 66 from HTMLParser import HTMLParser
67 import chat_util 67 import chat_util
68 import traceback 68 import traceback
69 from orpg.tools.orpg_log import logger
69 from orpg.tools.decorators import debugging 70 from orpg.tools.decorators import debugging
70 NEWCHAT = False 71 NEWCHAT = False
71 try: 72 try:
72 import wx.webview 73 import wx.webview
73 NEWCHAT = True 74 NEWCHAT = True
1023 # self.typingTimerFunc() 1024 # self.typingTimerFunc()
1024 if self.settings.get_setting('SuppressChatAutoComplete') == '1': 1025 if self.settings.get_setting('SuppressChatAutoComplete') == '1':
1025 logger.debug("Exit chat_panel->myKeyHook(self, event) return 1") 1026 logger.debug("Exit chat_panel->myKeyHook(self, event) return 1")
1026 return 1 1027 return 1
1027 else: 1028 else:
1028 loger.debug("Exit chat_panel->myKeyHook(self, event) return 0") 1029 logger.debug("Exit chat_panel->myKeyHook(self, event) return 0")
1029 return 0 1030 return 0
1030 1031
1031 # This subroutine gets called once a second by the typing Timer 1032 # This subroutine gets called once a second by the typing Timer
1032 # It checks if we need to send a not_typing message 1033 # It checks if we need to send a not_typing message
1033 # 1034 #