Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/toolbars.py
diff options
context:
space:
mode:
authorGary Martin <gary@garycmartin.com>2010-07-26 05:27:45 (GMT)
committer Gary Martin <gary@garycmartin.com>2010-07-26 05:27:45 (GMT)
commit5762cc5b70d5f80f02c32b11beaafcbd6b2472e5 (patch)
treed13b01653a5535f76f8a1736b9c1af06af5e55aa /toolbars.py
parentb8e516507526b27051964c68efa51994b3099072 (diff)
Show correct help string for And and Or functions #1870 (could do with better help strings but did not change)
Diffstat (limited to 'toolbars.py')
-rw-r--r--toolbars.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolbars.py b/toolbars.py
index 221dbd7..5ac2a36 100644
--- a/toolbars.py
+++ b/toolbars.py
@@ -235,11 +235,11 @@ class BooleanToolbar(gtk.Toolbar):
self.insert(IconToolButton('boolean-and', _('Logical and'),
lambda x: calc.button_pressed(calc.TYPE_OP_POST, '&'),
- lambda x: calc.button_pressed(calc.TYPE_TEXT, 'help(and))')), -1)
+ lambda x: calc.button_pressed(calc.TYPE_TEXT, 'help(And)')), -1)
self.insert(IconToolButton('boolean-or', _('Logical or'),
lambda x: calc.button_pressed(calc.TYPE_OP_POST, '|'),
- lambda x: calc.button_pressed(calc.TYPE_TEXT, 'help(or)')), -1)
+ lambda x: calc.button_pressed(calc.TYPE_TEXT, 'help(Or)')), -1)
# self.insert(IconToolButton('boolean-xor', _('Logical xor'),
# lambda x: calc.button_pressed(calc.TYPE_OP_POST, '^'),