Merge lp:~mikefender/terminator/terminator into lp:terminator/trunk
Proposed by
MikeFender
Status: | Rejected |
---|---|
Rejected by: | Stephen Boddy |
Proposed branch: | lp:~mikefender/terminator/terminator |
Merge into: | lp:terminator/trunk |
Diff against target: |
12 lines (+1/-1) 1 file modified
terminatorlib/terminal.py (+1/-1) |
To merge this branch: | bzr merge lp:~mikefender/terminator/terminator |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Stephen Boddy | Needs Information | ||
Review via email: mp+200080@code.launchpad.net |
To post a comment you must log in.
Unmerged revisions
- 1485. By MikeFender
-
Fixed background_darkness bug
Casted opacity from string to float to avoid program crash.
Exception related to the bug: File "/usr/lib/
python2. 7/site- packages/ terminatorlib/ terminal. py", line 667, in reconfigure
opacity = int(self.config[ 'background_ darkness' ] * 65536)
ValueError: invalid literal for int() with base 10: '1.01.01.01.01.01. 01.01.01. 01.01.01. 01.01.01. 01.01.01. 01.01.01. 01.01.01. 01.01.01. 01.01.01. 01.01.01. 01.01.01. 01.01.01. 01.01.01. 01.01.01. 01.01.01. 01.01.01. 01.01.01. 01.01.01. 01.01.01. 01.01.01. 01.01.01. 01.'
My config file...
[global_config] real_transparen cy = true darkness= 0.9 image = None
background_color = "#000000"
foreground_color = "#FFFFFF"
background_type = transparent
enable_
background_
[keybindings]
[profiles]
[[default]]
background_
[layouts]
[[default]]
[[[child1]]]
type = Terminal
parent = window0
[[[window0]]]
type = Window
parent = ""
[plugins]
When i got the exception i had background_ darkness= 1.0 but the bug is replicable with every value.