[gnome-games/sudoku-tube] No need to be instance attribute
- From: Zhang Sen <zhangsen src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-games/sudoku-tube] No need to be instance attribute
- Date: Thu, 11 Jun 2009 23:38:59 -0400 (EDT)
commit 4b4744c31a8b53920b80ca951a6c26155b6ebd3b
Author: Zhang Sen <zh jesse gmail com>
Date: Fri Jun 12 11:34:15 2009 +0800
No need to be instance attribute
gnome-sudoku/src/lib/main.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gnome-sudoku/src/lib/main.py b/gnome-sudoku/src/lib/main.py
index 8b91dfe..30c5b76 100644
--- a/gnome-sudoku/src/lib/main.py
+++ b/gnome-sudoku/src/lib/main.py
@@ -752,9 +752,9 @@ class TrackerBox (gtk.VBox):
self.builder = gtk.Builder()
self.builder.add_from_file(os.path.join(UI_DIR, 'tracker.ui'))
self.main_ui = main_ui
- self.vb = self.builder.get_object('vbox1')
- self.vb.unparent()
- self.pack_start(self.vb, expand = True, fill = True)
+ vbox = self.builder.get_object('vbox1')
+ vbox.unparent()
+ self.pack_start(vbox, expand = True, fill = True)
self._setup_actions()
self._setup_tree()
self.show_all()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]