From 4a383596353076a439861013018caca19bfc85d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 27 Feb 2015 15:01:04 +0100 Subject: [PATCH] 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. --- tests/interactive/gapplication.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/interactive/gapplication.js b/tests/interactive/gapplication.js index 56b2ba10c..91b544d9e 100755 --- a/tests/interactive/gapplication.js +++ b/tests/interactive/gapplication.js @@ -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