sugarlabs / Pippy

Pippy allows the student to examine, execute, and modify simple Python programs. In addition it is possible to write Python statements to play sounds, calculate expressions, or make simple text based interactive games.
GNU General Public License v2.0
11 stars 34 forks source link

Fix dark mode is not set on new tabs #83

Closed shaansubbaiah closed 4 years ago

shaansubbaiah commented 4 years ago

Dark mode was not set on tabs created after it was enabled. Fix checks if dark mode is enabled and calls set_dark() after a new tab is created.

shaansubbaiah commented 4 years ago

@quozl can you check if this fix is correct? The fix works but I'm not sure if this is the correct way to go about it.