[gnome-games/sudoku-tube] Rename tb->toolbar
- From: Zhang Sen <zhangsen src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-games/sudoku-tube] Rename tb->toolbar
- Date: Fri, 3 Jul 2009 08:08:30 +0000 (UTC)
commit f339782679a7c4ef147a4157c60df48dd4d00f99
Author: Zhang Sen <zh jesse gmail com>
Date: Fri Jul 3 15:36:45 2009 +0800
Rename tb->toolbar
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 cf2d8ab..fa97e94 100644
--- a/gnome-sudoku/src/lib/main.py
+++ b/gnome-sudoku/src/lib/main.py
@@ -196,7 +196,7 @@ class UI (gconf_wrapper.GConfWrapper):
self.w.connect('configure-event', self.resize_cb)
self.w.connect('delete-event', self.quit_cb)
self.statusbar = self.builder.get_object("statusbar")
- self.tb = self.builder.get_object("toolbar")
+ self.toolbar = self.builder.get_object("toolbar")
def setup_actions (self):
toggle_actions = [
@@ -523,9 +523,9 @@ class UI (gconf_wrapper.GConfWrapper):
def toggle_toolbar_cb (self, widg):
if widg.get_active():
- self.tb.show()
+ self.toolbar.show()
else:
- self.tb.hide()
+ self.toolbar.hide()
def set_statusbar_value (self, status):
if not hasattr(self, 'sbid'):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]