Mercurial > octave-nkf
changeset 19214:a748865bfafb gui-release
improve some menu texts and tool tips (bug #43200)
* main-window.cc (construct_file_menu): add tool tip for open action;
(construct_new_menu): change text of new function and new figure menu
author | Torsten <ttl@justmail.de> |
---|---|
date | Sun, 28 Sep 2014 09:23:27 +0200 |
parents | 362071d9bf5b |
children | e85203f41402 |
files | libgui/src/main-window.cc |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libgui/src/main-window.cc Fri Sep 26 07:25:54 2014 +0200 +++ b/libgui/src/main-window.cc Sun Sep 28 09:23:27 2014 +0200 @@ -1511,6 +1511,7 @@ = file_menu->addAction (QIcon (":/actions/icons/folder_documents.png"), tr ("Open...")); _open_action->setShortcutContext (Qt::ApplicationShortcut); + _open_action->setToolTip (tr ("Open an existing file in editor")); #ifdef HAVE_QSCINTILLA editor_window->insert_new_open_actions (_new_script_action, @@ -1567,11 +1568,11 @@ tr ("New Script")); _new_script_action->setShortcutContext (Qt::ApplicationShortcut); - _new_function_action = new_menu->addAction (tr ("Function...")); + _new_function_action = new_menu->addAction (tr ("New Function...")); _new_function_action->setEnabled (true); _new_function_action->setShortcutContext (Qt::ApplicationShortcut); - _new_figure_action = new_menu->addAction (tr ("Figure")); + _new_figure_action = new_menu->addAction (tr ("New Figure")); _new_figure_action->setEnabled (true); #ifdef HAVE_QSCINTILLA