3
# Copyright 2005-2009 Sun Microsystems Inc.
5
# This library is free software; you can redistribute it and/or
6
# modify it under the terms of the GNU Lesser General Public
7
# License as published by the Free Software Foundation; either
8
# version 2.1 of the License, or (at your option) any later version.
10
# This library is distributed in the hope that it will be useful,
11
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
# Lesser General Public License for more details.
15
# You should have received a copy of the GNU Lesser General Public
16
# License along with this library; if not, write to the
17
# Free Software Foundation, Inc., Franklin Street, Fifth Floor,
18
# Boston MA 02110-1301 USA.
20
"""Custom script for rhythmbox."""
23
__version__ = "$Revision$"
25
__copyright__ = "Copyright (c) 2005-2009 Sun Microsystems Inc."
28
import orca.speech_generator as speech_generator
30
class SpeechGenerator(speech_generator.SpeechGenerator):
32
# pylint: disable-msg=W0142
34
"""Overrides _generateRealTableCell to correctly handle the table
35
cells in the Library table.
37
def __init__(self, script):
38
speech_generator.SpeechGenerator.__init__(self, script)
40
def _generateRealTableCell(self, obj, **args):
41
return speech_generator.SpeechGenerator._generateRealTableCell(
42
self, self._script.adjustTableCell(obj), **args)