diff libgui/src/m-editor/file-editor.cc @ 18685:03edfcd943db gui-release

fix setting shortcuts for the view menu in the editor * file_editor.cc (set_shortcuts): correct the keys of the related settings * shortcut_manager.cc (do_init_data): new default for zoom normal shortcut
author Torsten <ttl@justmail.de>
date Sun, 27 Apr 2014 13:45:24 +0200
parents 86eca5d178a6
children 74ef7fed8b9a
line wrap: on
line diff
--- a/libgui/src/m-editor/file-editor.cc	Sun Apr 27 13:03:08 2014 +0200
+++ b/libgui/src/m-editor/file-editor.cc	Sun Apr 27 13:45:24 2014 +0200
@@ -1576,9 +1576,9 @@
   shortcut_manager::set_shortcut (_styles_preferences_action, "editor_edit:styles_preferences");
 
   // View menu
-  shortcut_manager::set_shortcut (_zoom_in_action, "edit_edit:zoom_in");
-  shortcut_manager::set_shortcut (_zoom_out_action, "edit_edit:zoom_out");
-  shortcut_manager::set_shortcut (_zoom_normal_action, "edit_edit:zoom_normal");
+  shortcut_manager::set_shortcut (_zoom_in_action, "editor_view:zoom_in");
+  shortcut_manager::set_shortcut (_zoom_out_action, "editor_view:zoom_out");
+  shortcut_manager::set_shortcut (_zoom_normal_action, "editor_view:zoom_normal");
 
   // Debug menu
   shortcut_manager::set_shortcut (_toggle_breakpoint_action, "editor_debug:toggle_breakpoint");