OSDN Git Service

Set "automatic" to be handled as other braille display driver ports.
authorrui Batista <ruiandrebatista@gmail.com>
Fri, 23 Nov 2012 15:49:05 +0000 (15:49 +0000)
committerrui Batista <ruiandrebatista@gmail.com>
Fri, 23 Nov 2012 15:49:05 +0000 (15:49 +0000)
commit8efa2c855adc10d51c834bfe450347ae07f144b5
treed8ba1f49f94e2581f06d1b88712839b314d15865
parent97f76ceba9e5c5a0041d21e52828f7003fa9fab6
Set "automatic" to be handled as other braille display driver ports.

* Removed the {{{canDoAutomaticPortSelection}}} from the base braiile display driver.
* Add {{{BrailleDisplayDriver.AUTOMATICPORT}}} to be used by drivers, so the gettext _() is kept only on one place.
* Change fs and braillenote drivers to reflect this.
* Changed the braille settings dialog to only save the port setting when port selection is possible.
source/braille.py
source/brailleDisplayDrivers/brailleNote.py
source/brailleDisplayDrivers/freedomScientific.py
source/gui/settingsDialogs.py