gnome-games r7811 - trunk/gnome-sudoku/src/lib
- From: thomashpa svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r7811 - trunk/gnome-sudoku/src/lib
- Date: Sat, 9 Aug 2008 21:02:51 +0000 (UTC)
Author: thomashpa
Date: Sat Aug 9 21:02:51 2008
New Revision: 7811
URL: http://svn.gnome.org/viewvc/gnome-games?rev=7811&view=rev
Log:
Check if Show All Hints is set when starting a new game. Patch by Jesse in bug #542128
Modified:
trunk/gnome-sudoku/src/lib/main.py
Modified: trunk/gnome-sudoku/src/lib/main.py
==============================================================================
--- trunk/gnome-sudoku/src/lib/main.py (original)
+++ trunk/gnome-sudoku/src/lib/main.py Sat Aug 9 21:02:51 2008
@@ -220,7 +220,11 @@
self.gsd.change_grid(choice[1],9)
if choice[0] == game_selector.NewOrSavedGameSelector.SAVED_GAME:
saver.open_game(self,choice[1])
- if self.gconf['show_toolbar']: self.tb.show()
+ if self.gconf['show_toolbar']:
+ self.tb.show()
+ if self.gconf['always_show_hints']:
+ self.gsd.update_all_hints()
+
def show (self):
self.gsd.show()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]