forked from AuroraMiddleware/gtk
gtk3-demo-application: fix sections
<section> doesn't need to be given in a menubar but it does need to be given for submenus, so add those ones back.
This commit is contained in:
parent
7a3e1bbc41
commit
a55ef45515
@ -13,19 +13,25 @@
|
||||
</menu>
|
||||
<menu id="menubar">
|
||||
<submenu label="_Preferences">
|
||||
<item label="_Prefer Dark Theme" action="app.dark"/>
|
||||
<item label="_Hide Titlebar when maximized" action="win.titlebar"/>
|
||||
<submenu label="_Color">
|
||||
<item label="_Red" action="win.color" target="red" accel="<Primary>r"/>
|
||||
<item label="_Green" action="win.color" target="green" accel="<Primary>g"/>
|
||||
<item label="_Blue" action="win.color" target="blue" accel="<Primary>b"/>
|
||||
</submenu>
|
||||
<submenu label="_Shape">
|
||||
<item label="_Square" action="win.shape" target="square" accel="<Primary>s"/>
|
||||
<item label="_Rectangle" action="win.shape" target="rectangle" accel="<Primary>r"/>
|
||||
<item label="_Oval" action="win.shape" target="oval" accel="<Primary>o"/>
|
||||
</submenu>
|
||||
<item label="_Bold" action="win.bold" accel="<Primary>b"/>
|
||||
<section>
|
||||
<item label="_Prefer Dark Theme" action="app.dark"/>
|
||||
<item label="_Hide Titlebar when maximized" action="win.titlebar"/>
|
||||
<submenu label="_Color">
|
||||
<section>
|
||||
<item label="_Red" action="win.color" target="red" accel="<Primary>r"/>
|
||||
<item label="_Green" action="win.color" target="green" accel="<Primary>g"/>
|
||||
<item label="_Blue" action="win.color" target="blue" accel="<Primary>b"/>
|
||||
</section>
|
||||
</submenu>
|
||||
<submenu label="_Shape">
|
||||
<section>
|
||||
<item label="_Square" action="win.shape" target="square" accel="<Primary>s"/>
|
||||
<item label="_Rectangle" action="win.shape" target="rectangle" accel="<Primary>r"/>
|
||||
<item label="_Oval" action="win.shape" target="oval" accel="<Primary>o"/>
|
||||
</section>
|
||||
</submenu>
|
||||
<item label="_Bold" action="win.bold" accel="<Primary>b"/>
|
||||
</section>
|
||||
</submenu>
|
||||
<submenu label="_Help">
|
||||
<item label="_About" action="win.about" accel="<Primary>a"/>
|
||||
|
Loading…
Reference in New Issue
Block a user