[gnome-games/sudoku-tube] Coding style: rename a variable
- From: Zhang Sen <zhangsen src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-games/sudoku-tube] Coding style: rename a variable
- Date: Sat, 4 Jul 2009 02:50:43 +0000 (UTC)
commit 8b3f883cdc398b1f3250a7345a13ca1cda6afa60
Author: Zhang Sen <zh jesse gmail com>
Date: Sat Jul 4 08:50:08 2009 +0800
Coding style: rename a variable
gnome-sudoku/src/lib/tracker_box.py | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gnome-sudoku/src/lib/tracker_box.py b/gnome-sudoku/src/lib/tracker_box.py
index 43d7a10..d81c484 100644
--- a/gnome-sudoku/src/lib/tracker_box.py
+++ b/gnome-sudoku/src/lib/tracker_box.py
@@ -77,11 +77,11 @@ class TrackerBox (gtk.VBox):
self._keep_cb),
]
)
- for action, widget_name in [('Clear', 'ClearTrackerButton'),
- ('Keep', 'KeepTrackerButton'),
- ]:
- a = self.tracker_actions.get_action(action)
- a.connect_proxy(self.builder.get_object(widget_name))
+ for action_name, widget_name in [
+ ('Clear', 'ClearTrackerButton'),
+ ('Keep', 'KeepTrackerButton')]:
+ action = self.tracker_actions.get_action(action_name)
+ action.connect_proxy(self.builder.get_object(widget_name))
self.builder.get_object('AddTrackerButton').connect('clicked',
lambda button: self.add_tracker())
# Default to insensitive (they only become sensitive once a tracker is added)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]