diff libgui/src/shortcut-manager.cc @ 18711:9ef65c422f53 gui-release

use shortcut manager for the main news menu * main_window.cc (construct_news_menu): use add_action for the actions, (set_global_shortcuts): set/unset shortcuts * main-window.h: actions are class variables * shortcut-manager.cc (do_init_data): initialize the shortcuts in the news menu
author Torsten <ttl@justmail.de>
date Thu, 01 May 2014 13:24:27 +0200
parents 584b20e9112c
children 95249367d6fa
line wrap: on
line diff
--- a/libgui/src/shortcut-manager.cc	Thu May 01 12:12:08 2014 +0200
+++ b/libgui/src/shortcut-manager.cc	Thu May 01 13:24:27 2014 +0200
@@ -136,6 +136,10 @@
   init (tr ("Octave Developer Resources"), "main_help:developer", QKeySequence ());
   init (tr ("About Octave"), "main_help:about", QKeySequence ());
 
+  // news
+  init (tr ("Release Notes"), "main_news:release_notes", QKeySequence ());
+  init (tr ("Community News"), "main_news:community_news", QKeySequence ());
+
   // actions of the editor
 
   // file