diff options
author | Reinier Heeres <reinier@heeres.eu> | 2007-07-15 17:20:33 (GMT) |
---|---|---|
committer | Reinier Heeres <reinier@heeres.eu> | 2007-07-15 17:20:33 (GMT) |
commit | c3aeeab1593f4a72c33639add8da40fe8f7c5c56 (patch) | |
tree | f707f55ced176d9ddba00528cfbea1a40b6f0fb6 /layout.py | |
parent | c736b57378384a400250c28dbcdec83d75ae7a66 (diff) |
Fixed toggle buttons (variable/history view working)
Diffstat (limited to 'layout.py')
-rw-r--r-- | layout.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) |