composer-menus.ui 4.47 KB
Newer Older
1 2 3 4 5 6 7
<?xml version="1.0" encoding="UTF-8"?>

<interface>
  <menu id="html_menu_model">
    <section>
      <item>
        <attribute name="label" translatable="yes">S_ans Serif</attribute>
8
        <attribute name="action">win.font-family</attribute>
9 10 11 12
        <attribute name="target">sans</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">S_erif</attribute>
13
        <attribute name="action">win.font-family</attribute>
14 15 16 17
        <attribute name="target">serif</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">_Fixed Width</attribute>
18
        <attribute name="action">win.font-family</attribute>
19 20 21 22 23 24
        <attribute name="target">monospace</attribute>
      </item>
    </section>
    <section>
      <item>
        <attribute name="label" translatable="yes">_Small</attribute>
25
        <attribute name="action">win.font-size</attribute>
26 27 28 29
        <attribute name="target">small</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">_Medium</attribute>
30
        <attribute name="action">win.font-size</attribute>
31 32 33 34
        <attribute name="target">medium</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">Lar_ge</attribute>
35
        <attribute name="action">win.font-size</attribute>
36 37 38 39 40 41
        <attribute name="target">large</attribute>
      </item>
    </section>
    <section>
      <item>
        <attribute name="label" translatable="yes">C_olor</attribute>
42
        <attribute name="action">win.color</attribute>
43 44 45 46 47
      </item>
    </section>
    <section>
      <item>
        <attribute name="label" translatable="yes">_Rich Text</attribute>
48
        <attribute name="action">win.compose-as-html</attribute>
49 50 51 52 53
      </item>
    </section>
    <section>
      <item>
        <attribute name="label" translatable="yes">Show Extended Fields</attribute>
54
        <attribute name="action">win.show-extended</attribute>
55 56 57 58 59 60 61 62
      </item>
    </section>
  </menu>

  <menu id="plain_menu_model">
    <section>
      <item>
        <attribute name="label" translatable="yes">_Rich Text</attribute>
63
        <attribute name="action">win.compose-as-html</attribute>
64 65 66 67 68
      </item>
    </section>
    <section>
      <item>
        <attribute name="label" translatable="yes">Show Extended Fields</attribute>
69
        <attribute name="action">win.show-extended</attribute>
70 71 72 73 74
      </item>
    </section>
  </menu>

  <menu id="context_menu_model">
75
    <section id="context_menu_webkit_spelling"/>
76 77 78
    <section>
      <item>
        <attribute name="label" translatable="yes">_Undo</attribute>
79
        <attribute name="action">win.undo</attribute>
80 81 82
      </item>
      <item>
        <attribute name="label" translatable="yes">_Redo</attribute>
83
        <attribute name="action">win.redo</attribute>
84 85
      </item>
    </section>
86
    <section id="context_menu_rich_text">
87 88
      <item>
        <attribute name="label" translatable="yes">Cu_t</attribute>
89
        <attribute name="action">win.cut</attribute>
90 91 92
      </item>
      <item>
        <attribute name="label" translatable="yes">_Copy</attribute>
93
        <attribute name="action">win.copy</attribute>
94 95 96
      </item>
      <item>
        <attribute name="label" translatable="yes">_Paste</attribute>
97
        <attribute name="action">win.paste</attribute>
98 99
      </item>
      <item>
100
        <attribute name="label" translatable="yes" context="Clipboard paste as plain text">Paste _Without Formatting</attribute>
101
        <attribute name="action">win.paste-without-formatting</attribute>
102 103 104 105 106
      </item>
    </section>
    <section id="context_menu_plain_text">
      <item>
        <attribute name="label" translatable="yes">Cu_t</attribute>
107
        <attribute name="action">win.cut</attribute>
108 109 110
      </item>
      <item>
        <attribute name="label" translatable="yes">_Copy</attribute>
111
        <attribute name="action">win.copy</attribute>
112 113 114
      </item>
      <item>
        <attribute name="label" translatable="yes">_Paste</attribute>
115
        <attribute name="action">win.paste</attribute>
116 117 118 119 120
      </item>
    </section>
    <section>
      <item>
        <attribute name="label" translatable="yes">Select _All</attribute>
121
        <attribute name="action">win.select-all</attribute>
122 123 124 125 126 127
      </item>
    </section>
    <section id="context_menu_webkit_text_entry"/>
    <section id="context_menu_inspector">
      <item>
        <attribute name="label" translatable="yes">_Inspect…</attribute>
128
        <attribute name="action">win.open_inspector</attribute>
129 130 131 132
      </item>
    </section>
  </menu>
</interface>