Re: [orca-list] A question for a traceback error message prewenting related
- From: Hammer Attila <hammera pickup hu>
- To: orca-list gnome org
- Subject: Re: [orca-list] A question for a traceback error message prewenting related
- Date: Tue, 01 Nov 2011 11:57:19 +0100
Hy Joanie,
For example following modified code is works perfect in _initGUIState
function:
try:
self.get_widget("showcursorComputerBrailleCheckButton").set_active( \
prefs["showcursorComputerBraille"])
except KeyError:
self.get_widget("showcursorComputerBrailleCheckButton").set_active(settings.showcursorComputerBraille)
This way problem handling if the proper setting not existing yet with
the user user-settings.conf file is acceptable if need a GUI widget
initialization with a setting related?
Attila
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]