mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 21:21:21 +00:00
a00480f4a1
There were two menu entries side-by-side with the same keyboard shortcut
105 lines
4.2 KiB
XML
105 lines
4.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<menu id="menubar">
|
|
<submenu>
|
|
<attribute name="label" translatable="yes">_Application</attribute>
|
|
<section>
|
|
<item>
|
|
<attribute name="label" translatable="yes">_New</attribute>
|
|
<attribute name="action">app.new</attribute>
|
|
<attribute name="accel"><Control>n</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label" translatable="yes">_Open</attribute>
|
|
<attribute name="action">app.open</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label" translatable="yes">_Save</attribute>
|
|
<attribute name="action">app.save</attribute>
|
|
<attribute name="accel"><Control>s</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label" translatable="yes">Save _As...</attribute>
|
|
<attribute name="action">app.save-as</attribute>
|
|
<attribute name="accel"><Control><Shift>s</attribute>
|
|
</item>
|
|
</section>
|
|
<section>
|
|
<item>
|
|
<attribute name="label" translatable="yes">_Quit</attribute>
|
|
<attribute name="action">app.quit</attribute>
|
|
<attribute name="accel"><Control>q</attribute>
|
|
</item>
|
|
</section>
|
|
</submenu>
|
|
<submenu>
|
|
<attribute name="label" translatable="yes">_File</attribute>
|
|
<section>
|
|
<item>
|
|
<attribute name="label" translatable="yes">_Prefer Dark Theme</attribute>
|
|
<attribute name="action">app.dark</attribute>
|
|
</item>
|
|
<submenu>
|
|
<attribute name="label" translatable="yes">_Color</attribute>
|
|
<section>
|
|
<item>
|
|
<attribute name="label" translatable="yes">_Red</attribute>
|
|
<attribute name="action">app.color</attribute>
|
|
<attribute name="target">red</attribute>
|
|
<attribute name="accel"><Control>r</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label" translatable="yes">_Green</attribute>
|
|
<attribute name="action">app.color</attribute>
|
|
<attribute name="target">green</attribute>
|
|
<attribute name="accel"><Control>g</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label" translatable="yes">_Blue</attribute>
|
|
<attribute name="action">app.color</attribute>
|
|
<attribute name="target">blue</attribute>
|
|
<attribute name="accel"><Control>b</attribute>
|
|
</item>
|
|
</section>
|
|
</submenu>
|
|
<submenu>
|
|
<attribute name="label" translatable="yes">_Shape</attribute>
|
|
<section>
|
|
<item>
|
|
<attribute name="label" translatable="yes">_Square</attribute>
|
|
<attribute name="action">win.shape</attribute>
|
|
<attribute name="target">square</attribute>
|
|
<attribute name="accel"><Control>s</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label" translatable="yes">_Rectangle</attribute>
|
|
<attribute name="action">win.shape</attribute>
|
|
<attribute name="target">rectangle</attribute>
|
|
<attribute name="accel"><Control>r</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label" translatable="yes">_Oval</attribute>
|
|
<attribute name="action">win.shape</attribute>
|
|
<attribute name="target">oval</attribute>
|
|
<attribute name="accel"><Control>o</attribute>
|
|
</item>
|
|
</section>
|
|
</submenu>
|
|
<item>
|
|
<attribute name="label" translatable="yes">_Bold</attribute>
|
|
<attribute name="action">win.bold</attribute>
|
|
<attribute name="accel"><Control><Shift>b</attribute>
|
|
</item>
|
|
</section>
|
|
</submenu>
|
|
<submenu>
|
|
<attribute name="label" translatable="yes">_Help</attribute>
|
|
<item>
|
|
<attribute name="label" translatable="yes">_About</attribute>
|
|
<attribute name="action">win.about</attribute>
|
|
<attribute name="accel"><Control>a</attribute>
|
|
</item>
|
|
</submenu>
|
|
</menu>
|
|
</interface>
|