menus.ui 1.35 KB
Newer Older
1 2 3 4 5 6 7 8 9
<?xml version="1.0"?>
<interface>
  <menu id="appmenu">
    <section>
      <item>
        <attribute name="label" translatable="yes">_Quit</attribute>
        <attribute name="action">app.quit</attribute>
        <attribute name="accel">&lt;Primary&gt;q</attribute>
      </item>
10 11 12 13 14
      <item>
        <attribute name="label" translatable="yes">_About</attribute>
        <attribute name="action">app.about</attribute>
        <attribute name="accel">&lt;Primary&gt;a</attribute>
      </item>
15 16 17
    </section>
  </menu>
  <menu id="menubar">
18
    <section>
19
      <attribute name="display-hint">vertical-buttons</attribute>
20
      <item>
21 22 23
        <attribute name="label" translatable="yes">_Data sources</attribute>
        <attribute name="action">win.ShowDatasources</attribute>
        <attribute name="accel">&lt;Primary&gt;D</attribute>
24
      </item>
25
      <item>
26
        <attribute name="label" translatable="yes">_Databases' providers</attribute>
27 28 29 30
        <attribute name="action">win.ShowProviders</attribute>
        <attribute name="accel">&lt;Primary&gt;P</attribute>
      </item>
    </section>
31 32 33 34 35 36 37
    <section>
      <item>
        <attribute name="label" translatable="yes">New data source</attribute>
        <attribute name="action">win.DatasourceNew</attribute>
        <attribute name="accel">&lt;Primary&gt;N</attribute>
      </item>
    </section>
38 39
  </menu>
</interface>