mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-22 19:28:09 -06:00
Speak state upon toggle.
This commit is contained in:
parent
797e0d7773
commit
08ce78f97c
@ -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()):
|
||||||
|
Loading…
Reference in New Issue
Block a user