diff options
author | Matthias Clasen <mclasen@redhat.com> | 2016-02-27 23:43:06 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2016-02-27 23:43:06 -0500 |
commit | 492fec62949019c8344c872e51b8bd0516948bba (patch) | |
tree | dd9f1cfd8ca877b79142bd3fe2be5b7bceaaa777 /demos/gtk-demo/appmenu.ui | |
parent | 9d5ad67c91c76b71b31342f53c04f56c93773b35 (diff) | |
download | gtk+-492fec62949019c8344c872e51b8bd0516948bba.tar.gz |
gtk-demo: Put hte app menu in a separate file
No need to cram it in the same file as the main window.
Diffstat (limited to 'demos/gtk-demo/appmenu.ui')
-rw-r--r-- | demos/gtk-demo/appmenu.ui | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/demos/gtk-demo/appmenu.ui b/demos/gtk-demo/appmenu.ui new file mode 100644 index 0000000000..d52693bac7 --- /dev/null +++ b/demos/gtk-demo/appmenu.ui @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <!-- interface-requires gtk+ 3.10 --> + <menu id="appmenu"> + <section> + <item> + <attribute name="label" translatable="yes">About</attribute> + <attribute name="action">app.about</attribute> + </item> + </section> + <section> + <item> + <attribute name="label" translatable="yes">_Quit</attribute> + <attribute name="action">app.quit</attribute> + <attribute name="accel"><Primary>q</attribute> + </item> + </section> + </menu> +</interface> |