--- /dev/null
+#appModules/sndrec32.py\r
+#A part of NonVisual Desktop Access (NVDA)\r
+#Copyright (C) 2010 Peter Vagner <peter.v@datagate.sk>\r
+#This file is covered by the GNU General Public License.\r
+#See the file COPYING for more details.\r
+\r
+import _default\r
+import controlTypes\r
+\r
+mainWindowButtonNames={\r
+ 205:_("Rewind"),\r
+ 206:_("Forward"),\r
+ 207:_("Play"),\r
+ 208:_("Stop"),\r
+ 209:_("Record")\r
+}\r
+\r
+class AppModule(_default.AppModule):\r
+\r
+ def chooseNVDAObjectOverlayClasses(self, obj, clsList):\r
+ if obj.role == controlTypes.ROLE_WINDOW: \r
+ return\r
+ elif obj.role == controlTypes.ROLE_BUTTON: \r
+ if obj.windowControlID in mainWindowButtonNames.keys():\r
+ obj.name=mainWindowButtonNames[obj.windowControlID]\r