OSDN Git Service
(root)
/
nvdajp
/
nvdajp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4c0683
)
braille.py: when initializing braille display driver, log the number of cells.
author
Mesar Hameed
<mhameed@src.gnome.org>
Sat, 11 Feb 2012 09:44:18 +0000
(09:44 +0000)
committer
Mesar Hameed
<mhameed@src.gnome.org>
Sat, 11 Feb 2012 09:44:18 +0000
(09:44 +0000)
source/braille.py
patch
|
blob
|
history
diff --git
a/source/braille.py
b/source/braille.py
index
5b46135
..
57111dc
100644
(file)
--- a/
source/braille.py
+++ b/
source/braille.py
@@
-1180,7
+1180,7
@@
class BrailleHandler(baseObject.AutoPropertyObject):
self.displaySize = newDisplay.numCells
\r
self.enabled = bool(self.displaySize)
\r
config.conf["braille"]["display"] = name
\r
- log.info("Loaded braille display driver %s
" % name
)
\r
+ log.info("Loaded braille display driver %s
, current display has %d cells." %(name, self.displaySize)
)
\r
return True
\r
except:
\r
log.error("Error initializing display driver", exc_info=True)
\r