forked from AuroraMiddleware/gtk
8695cf3c5a
Some of our templates were not setting the domain attribute on the <interface> element.
56 lines
2.2 KiB
XML
56 lines
2.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface domain="gtk30">
|
|
<menu id='app-menu'>
|
|
<section>
|
|
<item>
|
|
<!-- used for the application menu on MacOS. %s is replaced with the application name. -->
|
|
<attribute name='label' translatable='yes'>About %s</attribute>
|
|
<attribute name='action'>app.about</attribute>
|
|
<attribute name='x-gtk-private-special'>replace-appname</attribute>
|
|
</item>
|
|
</section>
|
|
<section>
|
|
<item>
|
|
<!-- used for the application menu on MacOS -->
|
|
<attribute name='label' translatable='yes'>Preferences</attribute>
|
|
<attribute name='action'>app.preferences</attribute>
|
|
</item>
|
|
</section>
|
|
<section>
|
|
<item>
|
|
<!-- used for the application menu on MacOS -->
|
|
<attribute name='label' translatable='yes'>Services</attribute>
|
|
<attribute name='x-gtk-private-special'>services-submenu</attribute>
|
|
</item>
|
|
</section>
|
|
<section>
|
|
<item>
|
|
<!-- used for the application menu on MacOS. %s is replaced with the application name. -->
|
|
<attribute name='label' translatable='yes'>Hide %s</attribute>
|
|
<attribute name='x-gtk-private-special'>hide-this</attribute>
|
|
<attribute name='action'>gtkinternal.hide</attribute>
|
|
</item>
|
|
<item>
|
|
<!-- used for the application menu on MacOS -->
|
|
<attribute name='label' translatable='yes'>Hide Others</attribute>
|
|
<attribute name='x-gtk-private-special'>hide-others</attribute>
|
|
<attribute name='action'>gtkinternal.hide-others</attribute>
|
|
</item>
|
|
<item>
|
|
<!-- used for the application menu on MacOS -->
|
|
<attribute name='label' translatable='yes'>Show All</attribute>
|
|
<attribute name='x-gtk-private-special'>show-all</attribute>
|
|
<attribute name='action'>gtkinternal.show-all</attribute>
|
|
</item>
|
|
</section>
|
|
<section>
|
|
<item>
|
|
<!-- used for the application menu on MacOS. %s is replaced with the application name. -->
|
|
<attribute name='label' translatable='yes'>Quit %s</attribute>
|
|
<attribute name='action'>app.quit</attribute>
|
|
<attribute name='x-gtk-private-special'>replace-appname</attribute>
|
|
</item>
|
|
</section>
|
|
</menu>
|
|
</interface>
|