gnome-games r7815 - trunk/gnome-sudoku/src/lib
- From: thomashpa svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r7815 - trunk/gnome-sudoku/src/lib
- Date: Wed, 13 Aug 2008 13:09:48 +0000 (UTC)
Author: thomashpa
Date: Wed Aug 13 13:09:48 2008
New Revision: 7815
URL: http://svn.gnome.org/viewvc/gnome-games?rev=7815&view=rev
Log:
Make undo/redo unsensitive at start of new game. Patch by Zhang Sen in bug #547219
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 Wed Aug 13 13:09:48 2008
@@ -40,11 +40,8 @@
def _ (ui, *args, **kwargs):
paths = [
'/MenuBar/Game/New',
- #'/MenuBar/Game/Open',
- #'/MenuBar/Game/ByHand',
'/MenuBar/Game/Print',
- '/MenuBar/Edit/Undo',
- '/MenuBar/Edit/Redo',
+ # undo/redo is handled elsewhere as it can't simply be turned on/off.
'/MenuBar/Edit/Clear',
'/MenuBar/Edit/ClearNotes',
'/MenuBar/Tools/ShowPossible',
@@ -54,7 +51,6 @@
'/MenuBar/Tools/ShowImpossibleImplications',
'/MenuBar/Tools/Tracker',
'/MenuBar/Game/PuzzleInfo',
- #'/MenuBar/Game/HighScores',
]
for p in paths:
action = ui.uimanager.get_action(p)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]