Package appModules :: Module teamtalk4classic
[hide private]
[frames] | no frames]

Source Code for Module appModules.teamtalk4classic

 1  #appModules/teamtalk4classic.py 
 2  #A part of NonVisual Desktop Access (NVDA) 
 3  #Copyright (C) 2010 NVDA Contributors <http://www.nvda-project.org/> 
 4  #This file is covered by the GNU General Public License. 
 5  #See the file COPYING for more details. 
 6   
 7  import appModuleHandler 
 8  from NVDAObjects.behaviors import ProgressBar 
 9   
10 -class AppModule(appModuleHandler.AppModule):
11
12 - def event_NVDAObject_init(self,obj):
13 # The richedit control displaying incoming chat does not return correct _isWindowUnicode flag. 14 if obj.windowClassName=="RichEdit20A": 15 obj._isWindowUnicode=False
16
17 - def chooseNVDAObjectOverlayClasses(self, obj, clsList):
18 # There is a VU meter progress bar in the main window which we don't want to get anounced as all the other progress bars. 19 if obj.windowClassName=="msctls_progress32" and obj.name==u'VU': 20 try: 21 clsList.remove(ProgressBar) 22 except ValueError: 23 pass
24