Python error when trying to change font
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PyRoom |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
1. I start pyroom with ./pyroom
2. I hit CTL+P to bring up preferences
3. I click the font button
4. I select a different font face
5. I click "OK"
6. I see an error message saying:
Traceback (most recent call last):
File "/home/
font_type = widget.
IndexError: list index out of range
7. In stdout in the terminal, I get the following errors:
/home/chrisd/
gtk.main()
8. The "Custom font" radio button is checked now but the font button disabled
9. Clicking any other font option ("Default document", "Default monospace") results in the same error
It appears that checking any of the font options causes the same problem to occur.
Version information:
./pyroom --version
pyroom 0.4.2
I pulled this from the bzr repo at 10:55 AM on Mon, Aug 23rd, 2010.
Related branches
Changed in pyroom: | |
status: | New → Fix Committed |
I print()'d the widget.get_name() and it appears to be "GtkRadioButton" for the radio buttons as expected. I'm not sure why we are trying to split the widget name on '_' when there are none. I must be missing something.