Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/layout.py
diff options
context:
space:
mode:
authorReinier Heeres <reinier@heeres.eu>2007-07-15 17:20:33 (GMT)
committer Reinier Heeres <reinier@heeres.eu>2007-07-15 17:20:33 (GMT)
commitc3aeeab1593f4a72c33639add8da40fe8f7c5c56 (patch)
treef707f55ced176d9ddba00528cfbea1a40b6f0fb6 /layout.py
parentc736b57378384a400250c28dbcdec83d75ae7a66 (diff)
Fixed toggle buttons (variable/history view working)
Diffstat (limited to 'layout.py')
-rw-r--r--layout.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/layout.py b/layout.py
index f267616..f9f2971 100644
--- a/layout.py
+++ b/layout.py
@@ -111,10 +111,10 @@ class CalcLayout:
# Right part: container and equation button
hc2 = gtk.HBox()
- self.minebut = TextToggleToolButton(['All equations', 'My equations'],
- lambda b: TextToggleToolButton.toggle_button(b))
+ self.minebut = TextToggleToolButton(['All equations', 'My equations'],
+ lambda x: self._parent.refresh_bar())
self.varbut = TextToggleToolButton(['Show history ', 'Show variables'],
- lambda b: TextToggleToolButton.toggle_button(b))
+ lambda x: self._parent.refresh_bar())
hc2.add(self.minebut)
hc2.add(self.varbut)
self.grid.attach(hc2, 6, 10, 0, 1)