[gnome-games/applygsoc2009: 65/76] -- Some small things
- From: Pablo Castellano <pablog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/applygsoc2009: 65/76] -- Some small things
- Date: Mon, 6 Sep 2010 02:52:40 +0000 (UTC)
commit fc01d7b72dc21420b536fcb72bfaebc5103eb06a
Author: Pablo Castellano <pablog src gnome org>
Date: Wed Sep 1 05:15:07 2010 +0200
-- Some small things
Trying to conform to the diagram at http://live.gnome.org/ZhangSen/GSoC2009
gnome-sudoku/src/lib/main.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnome-sudoku/src/lib/main.py b/gnome-sudoku/src/lib/main.py
index de318e6..e306166 100644
--- a/gnome-sudoku/src/lib/main.py
+++ b/gnome-sudoku/src/lib/main.py
@@ -170,7 +170,7 @@ class SudokuGame (gconf_wrapper.GConfWrapper):
Like show highlight, update hints, start timer, etc."""
self._main_grid_vew.connect_to_notes_model(self._notes_model)
- self._main_model.connect('puzzle-finished', self.you_win_callback)
+ self._main_model.connect('puzzle-finished', self._puzzle_finished_cb)
self.timer.start_timing()
self.update_statusbar()
if self.gconf['always_show_hints']:
@@ -378,7 +378,7 @@ class SudokuGame (gconf_wrapper.GConfWrapper):
return sublabel
- def you_win_callback(self, sudoku_model):
+ def _puzzle_finished_cb (self, sudoku_model):
if hasattr(self, 'dancer'):
return
self.won = True
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]