[gnome-shell] tests: Add menu item without action to gapplication



commit 4a383596353076a439861013018caca19bfc85d8
Author: Florian Müllner <fmuellner gnome org>
Date:   Fri Feb 27 15:01:04 2015 +0100

    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 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tests/interactive/gapplication.js b/tests/interactive/gapplication.js
index 56b2ba1..91b544d 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]