Speak state upon toggle.

This commit is contained in:
Bill Dengler 2015-05-06 10:42:39 -04:00
parent 797e0d7773
commit 08ce78f97c

View File

@ -4,6 +4,7 @@ import wx
import logging as original_logger import logging as original_logger
import application import application
from multiplatform_widgets import widgets from multiplatform_widgets import widgets
import output
class general(wx.Panel, baseDialog.BaseWXDialog): class general(wx.Panel, baseDialog.BaseWXDialog):
def __init__(self, parent, languages): def __init__(self, parent, languages):
@ -137,7 +138,7 @@ class other_buffers(wx.Panel):
self.buffers.set_text_column(current, 1, _(u"Hide")) self.buffers.set_text_column(current, 1, _(u"Hide"))
else: else:
self.buffers.set_text_column(current, 1, _(u"Show")) self.buffers.set_text_column(current, 1, _(u"Show"))
output.speak(self.buffers.get_text_column(current, 1),True)
def get_list(self): def get_list(self):
buffers_list = [] buffers_list = []
for i in xrange(0, self.buffers.get_count()): for i in xrange(0, self.buffers.get_count()):