view test/bug-36025/bug-36025.tst @ 18710:584b20e9112c gui-release

use shortcut manager for the main help menu * main_window.cc (add_action): new parameter for the signal receiver; (construct_help_menu): use add_action for the actions of the menu; (construct_documentation_menu): use add_action for the actions of the menu; (set_global_shortcuts): set/unset shortcuts * main-window.h: actions are class variables, add_action with new parameter * shortcut-manager.cc (do_init_data): initialize the shortcuts in the help menu
author Torsten <ttl@justmail.de>
date Thu, 01 May 2014 12:12:08 +0200
parents 1af8d21608b7
children
line wrap: on
line source

%!test
%! warning off Octave:function-name-clash
%! f = testclass (1, 2);
%! assert (one (f), 1);
%! assert (two (f), 2);
%! rehash ();
%! assert (one (f), 1);
%! assert (two (f), 2);
%! assert (two (f), 2);