Mercurial > hg > octave-nkf
comparison libgui/src/m-editor/file-editor.h @ 16566:662a712b8fd5
partial menu bar cleanup
* file-editor-interface.h (file_editor_interface::request_new_script,
file_editor_interface::request_new_function): New functions.
* file-editor.h, file-editor.cc (file_editor::request_new_script,
file_editor::request_new_function): New functions.
* main-window.h, main-window.cc (main_window::construct_desktop_menu):
Delete function and all uses.
(main_window::handle_new_figure_request,
main_window::handle_new_variable_request,
main_window::new_figure_callback): New functions.
(main_window::construct_file_menu, main_window::construct_edit_menu):
Delete close_command_window_action, import_data_action,
page_setup_action, print_action, print_selection_action,
new_class_action, new_enumeration_action, new_gui_action,
paste_to_workspace_action, find_action. Move load_workspace_action to
file_menu.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 25 Apr 2013 02:42:45 -0400 |
parents | 5fc1ce2947bd |
children | 999400bebe5e |
comparison
equal
deleted
inserted
replaced
16565:e4b94abfeb96 | 16566:662a712b8fd5 |
---|---|
101 public slots: | 101 public slots: |
102 void focus (void); | 102 void focus (void); |
103 void handle_visibility (bool visible); | 103 void handle_visibility (bool visible); |
104 | 104 |
105 void request_new_file (const QString& commands); | 105 void request_new_file (const QString& commands); |
106 void request_new_script (const QString& commands); | |
107 void request_new_function (const QString& commands); | |
106 void request_open_file (void); | 108 void request_open_file (void); |
107 void request_mru_open_file (void); | 109 void request_mru_open_file (void); |
108 void request_print_file (void); | 110 void request_print_file (void); |
109 | 111 |
110 void request_undo (void); | 112 void request_undo (void); |