[gnome-games] 'generate new puzzles' should not be a checkbox
- From: Thomas Hindoe Paaboel Andersen <thomashpa src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-games] 'generate new puzzles' should not be a checkbox
- Date: Tue, 21 Apr 2009 19:23:09 -0400 (EDT)
commit 55f2b9026b5205663c5c3cec67f92d4467a0fcb2
Author: Thomas Hindoe Paaboel Andersen <phomes gmail com>
Date: Wed Apr 22 01:17:56 2009 +0200
'generate new puzzles' should not be a checkbox
Move 'generate new puzzles' from add_toggle_actions to add_actions. This was a regression by my earlier commit.
Fixes bug #579680
---
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 b532cef..bcd4b91 100644
--- a/gnome-sudoku/src/lib/main.py
+++ b/gnome-sudoku/src/lib/main.py
@@ -253,6 +253,8 @@ class UI (gconf_wrapper.GConfWrapper):
self.auto_fill_cb),
('FullScreen', gtk.STOCK_FULLSCREEN, None,
'F11', None, self.full_screen_cb),
+ ('Generator', None, _('_Generate new puzzles'), None, _('Generate new puzzles.'),
+ self.generate_puzzle_gui, ),
('PuzzleInfo', gtk.STOCK_ABOUT, _('Puzzle _Statistics'),
None, _('Show statistics about current puzzle'),
self.show_info_cb),
@@ -283,8 +285,6 @@ class UI (gconf_wrapper.GConfWrapper):
('ToggleToolbar', None, _('Show _Toolbar'), None, None, self.toggle_toolbar_cb, True),
('ToggleHighlight', gtk.STOCK_SELECT_COLOR, _('_Highlighter'),
None, _('Highlight the current row, column and box'), self.toggle_highlight_cb, False),
- ('Generator', None, _('_Generate new puzzles'), None, _('Generate new puzzles.'),
- self.generate_puzzle_gui, ),
('BackgroundGenerator', None, _('Generate new puzzles _while you play'),
None,
_('Generate new puzzles in the background while you play. This will automatically pause when the game goes into the background.'),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]