Text 3D: remove hardcoded keymaps from menu

This commit is contained in:
Campbell Barton 2014-05-17 20:00:14 +10:00
parent 7a085b4c85
commit ef2ba65b32

@ -2481,32 +2481,32 @@ class VIEW3D_MT_edit_text_chars(Menu):
def draw(self, context): def draw(self, context):
layout = self.layout layout = self.layout
layout.operator("font.text_insert", text="Copyright|Alt C").text = "\u00A9" layout.operator("font.text_insert", text="Copyright").text = "\u00A9"
layout.operator("font.text_insert", text="Registered Trademark|Alt R").text = "\u00AE" layout.operator("font.text_insert", text="Registered Trademark").text = "\u00AE"
layout.separator() layout.separator()
layout.operator("font.text_insert", text="Degree Sign|Alt G").text = "\u00B0" layout.operator("font.text_insert", text="Degree Sign").text = "\u00B0"
layout.operator("font.text_insert", text="Multiplication Sign|Alt x").text = "\u00D7" layout.operator("font.text_insert", text="Multiplication Sign").text = "\u00D7"
layout.operator("font.text_insert", text="Circle|Alt .").text = "\u008A" layout.operator("font.text_insert", text="Circle").text = "\u008A"
layout.operator("font.text_insert", text="Superscript 1|Alt 1").text = "\u00B9" layout.operator("font.text_insert", text="Superscript 1").text = "\u00B9"
layout.operator("font.text_insert", text="Superscript 2|Alt 2").text = "\u00B2" layout.operator("font.text_insert", text="Superscript 2").text = "\u00B2"
layout.operator("font.text_insert", text="Superscript 3|Alt 3").text = "\u00B3" layout.operator("font.text_insert", text="Superscript 3").text = "\u00B3"
layout.operator("font.text_insert", text="Double >>|Alt >").text = "\u00BB" layout.operator("font.text_insert", text="Double >>").text = "\u00BB"
layout.operator("font.text_insert", text="Double <<|Alt <").text = "\u00AB" layout.operator("font.text_insert", text="Double <<").text = "\u00AB"
layout.operator("font.text_insert", text="Promillage|Alt %").text = "\u2030" layout.operator("font.text_insert", text="Promillage").text = "\u2030"
layout.separator() layout.separator()
layout.operator("font.text_insert", text="Dutch Florin|Alt F").text = "\u00A4" layout.operator("font.text_insert", text="Dutch Florin").text = "\u00A4"
layout.operator("font.text_insert", text="British Pound|Alt L").text = "\u00A3" layout.operator("font.text_insert", text="British Pound").text = "\u00A3"
layout.operator("font.text_insert", text="Japanese Yen|Alt Y").text = "\u00A5" layout.operator("font.text_insert", text="Japanese Yen").text = "\u00A5"
layout.separator() layout.separator()
layout.operator("font.text_insert", text="German S|Alt S").text = "\u00DF" layout.operator("font.text_insert", text="German S").text = "\u00DF"
layout.operator("font.text_insert", text="Spanish Question Mark|Alt ?").text = "\u00BF" layout.operator("font.text_insert", text="Spanish Question Mark").text = "\u00BF"
layout.operator("font.text_insert", text="Spanish Exclamation Mark|Alt !").text = "\u00A1" layout.operator("font.text_insert", text="Spanish Exclamation Mark").text = "\u00A1"
class VIEW3D_MT_edit_meta(Menu): class VIEW3D_MT_edit_meta(Menu):