diff libgui/src/m-editor/file-editor.h @ 21001:1c91ff4cf9ec

add a menu entry for showing/hiding the editor status bar * file-editor.cc (show_statusbar): new slot; (notice_settings): check menu entry depending on settings, showing/hiding status bar is don ein the editor tabs; (construct): add new action to the view menu; (set_shortcuts): set the shortcut for the new action * file-editor.h: new action with new slot * shortcut-manager.cc (do_init_data) initialize shortcut data for show toolbar and statusbar action
author Torsten <ttl@justmail.de>
date Mon, 28 Dec 2015 19:50:49 +0100
parents aab7a3c7168e
children 314245afff3a
line wrap: on
line diff
--- a/libgui/src/m-editor/file-editor.h	Mon Dec 28 09:00:05 2015 -0800
+++ b/libgui/src/m-editor/file-editor.h	Mon Dec 28 19:50:49 2015 +0100
@@ -274,6 +274,7 @@
   void show_indent_guides (bool);
   void show_long_line (bool);
   void show_toolbar (bool);
+  void show_statusbar (bool);
   void zoom_in (bool);
   void zoom_out (bool);
   void zoom_normal (bool);
@@ -350,6 +351,7 @@
   QAction *_show_indguide_action;
   QAction *_show_longline_action;
   QAction *_show_toolbar_action;
+  QAction *_show_statusbar_action;
   QAction *_zoom_in_action;
   QAction *_zoom_out_action;
   QAction *_zoom_normal_action;