tests: Add menu item without action to gapplication

Menu items with missing actions are expected to be visible but
insensitive - add a test case for this.
This commit is contained in:
Florian Müllner 2015-02-27 15:01:04 +01:00
parent 714bc5f103
commit 4a38359635

View File

@ -70,6 +70,7 @@ function main() {
section = new Gio.Menu();
section.append('Checkbox', 'app.toggle');
section.append('Disabled', 'app.disable');
section.append('Missing Action', 'app.no-action');
menu.append_section('Subsection', section);
// empty sections or submenus should be invisible