comparison scripts/plot/util/findall.m @ 17868:da3586730ea0

Remove Help menu from FLTK menubar. * scripts/plot/util/allchild.m, scripts/plot/util/findall.m: Correct %!tests to pass with new menubar. * scripts/plot/util/private/__add_default_menu__.m: Remove Help uimenu.
author Rik <rik@octave.org>
date Wed, 06 Nov 2013 19:44:46 -0800
parents d63878346099
children 52e01aa1fe8b
comparison
equal deleted inserted replaced
17867:49d573a1deda 17868:da3586730ea0
54 %! toolkit = graphics_toolkit ("fltk"); 54 %! toolkit = graphics_toolkit ("fltk");
55 %! hf = figure ("visible", "off"); 55 %! hf = figure ("visible", "off");
56 %! unwind_protect 56 %! unwind_protect
57 %! h = findall (hf); 57 %! h = findall (hf);
58 %! all_handles(1) = {"figure"}; 58 %! all_handles(1) = {"figure"};
59 %! all_handles(2:14,1) = {"uimenu"}; 59 %! all_handles(2:12,1) = {"uimenu"};
60 %! assert (get (h, "type"), all_handles); 60 %! assert (get (h, "type"), all_handles);
61 %! unwind_protect_cleanup 61 %! unwind_protect_cleanup
62 %! close (hf); 62 %! close (hf);
63 %! graphics_toolkit (toolkit); 63 %! graphics_toolkit (toolkit);
64 %! end_unwind_protect 64 %! end_unwind_protect