diff options
author | Gary Martin <gary@garycmartin.com> | 2011-10-05 01:11:28 (GMT) |
---|---|---|
committer | Gary Martin <gary@garycmartin.com> | 2011-10-05 01:11:28 (GMT) |
commit | 034c751ee34d9ba26075cdad68c821a4a8297a35 (patch) | |
tree | 8572f2371f29ad5b2259095f0048701f405a11c0 /layout.py | |
parent | 20abf8ee3c834c6eafbc75b5f6c650c079313d2b (diff) |
Use kid friendly div, mul, and equal symbols by default, pootle can overide them SL#2161
Diffstat (limited to 'layout.py')
-rw-r--r-- | layout.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -47,6 +47,7 @@ class CalcLayout: mul_sym = self._parent.ml.mul_sym div_sym = self._parent.ml.div_sym + equ_sym = self._parent.ml.equ_sym self.button_data = [ # [x, y, width, label, bgcol, cb] @@ -74,7 +75,7 @@ class CalcLayout: [4, 2, 1, div_sym, self.col_gray3, lambda w: self._parent.add_text(div_sym)], [5, 2, 1, ')', self.col_gray3, lambda w: self._parent.add_text(')')], - [3, 3, 3, _('Enter'), self.col_gray1, lambda w: self._parent.process()], + [3, 3, 3, equ_sym, self.col_gray1, lambda w: self._parent.process()], ] def create_dialog(self): |