Re: Another Orca Flag Day.
- From: Willie Walker <William Walker Sun COM>
- To: Orca screen reader developers <orca-list gnome org>
- Subject: Re: Another Orca Flag Day.
- Date: Fri, 14 Apr 2006 09:10:33 -0400
For those of you checking out Orca from CVS HEAD, it's another
flag day that will require you to re-run orca-setup.
I've done yet another. This one gets rid of the confusing two-tier user
settings. The previous model used to first look to the user-settings.py
module for settings, and then fallback to the settings.py module. This
was rather confusing, especially if a script would attempt to
temporarily override a setting and not see it take effect because there
was an overriding setting in user-settings.py. We actually ran into
this problem this week; the head scratching followed by the "AHA!"
moment led to this change. :-)
The new model is that user-settings.py directly sets properties in
settings.py, eliminating the two tier approach. In addition, the
current model is that all other modules that use settings will lazily
check a setting each time it is used. As part of this change, the
orca.py module now has a _loadUserSettings method that will either
import or reload the user-settings.py module.
The previous model also had default values sprinkled throughout the orca
modules as well as in settings.py. Default values are now maintained
only in settings.py, simplifying things even further.
A side impact of this change is that users can modify their
user-settings.py module and dynamically reload it without needing to
restart Orca. This "reload" function is currently bound temporarily to
Insert+ctrl+s.
Will
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]