mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 05:31:07 +00:00
b718b95aab
Instead of hardcoding an accelerator in the ui file, use gtk_application_set_accels_for_action.
19 lines
490 B
XML
19 lines
490 B
XML
<?xml version="1.0"?>
|
|
<interface>
|
|
<!-- interface-requires gtk+ 3.0 -->
|
|
<menu id="appmenu">
|
|
<section>
|
|
<item>
|
|
<attribute name="label" translatable="yes">_Preferences</attribute>
|
|
<attribute name="action">app.preferences</attribute>
|
|
</item>
|
|
</section>
|
|
<section>
|
|
<item>
|
|
<attribute name="label" translatable="yes">_Quit</attribute>
|
|
<attribute name="action">app.quit</attribute>
|
|
</item>
|
|
</section>
|
|
</menu>
|
|
</interface>
|