Commit fbe9a6df authored by Michael Biebl's avatar Michael Biebl Committed by Michael Catanzaro

Use correct name for always-show-hints GSettings key

When gnome-sudoku was converted from GConf to GSettings all keys were
updated to use '-' instead of '_' but the code wasn't updated
accordingly everywhere.

https://bugzilla.gnome.org/show_bug.cgi?id=707362
parent 1de9d80b
......@@ -531,11 +531,11 @@ class UI:
'''
self.cleared_notes.append((self.tinfo.current_tracker, self.gsd.clear_notes(side)))
# Turn off auto-hint if the player clears the bottom notes
if side == 'Bottom' and self.settings.get_boolean('always_show_hints'):
if side == 'Bottom' and self.settings.get_boolean('always-show-hints'):
always_show_hint_wdgt = self.main_actions.get_action('AlwaysShowPossible')
always_show_hint_wdgt.activate()
# Update the hints...in case we're redoing a clear of them
if self.settings.get_boolean ('always_show_hints'):
if self.settings.get_boolean ('always-show-hints'):
self.gsd.update_all_hints()
def undo_clear_notes(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment