[gnome-sudoku/gnome-3-8] Use correct name for always-show-hints GSettings key
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-sudoku/gnome-3-8] Use correct name for always-show-hints GSettings key
- Date: Fri, 6 Sep 2013 00:27:29 +0000 (UTC)
commit 41e68cd6ee3e3253ef7b49bbd8104128e29e5356
Author: Michael Biebl <biebl debian org>
Date: Tue Sep 3 12:12:31 2013 +0200
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
src/lib/main.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/lib/main.py b/src/lib/main.py
index 260d158..03a089d 100644
--- a/src/lib/main.py
+++ b/src/lib/main.py
@@ -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):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]