Browse files

Fix tab and menubar shortcuts

  • Loading branch information...
1 parent 37358da commit c07c931b4e25be6f7921e4ebe499e979c211a38d @minrk minrk committed Oct 19, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 IPython/frontend/qt/console/mainwindow.py
View
6 IPython/frontend/qt/console/mainwindow.py
@@ -447,7 +447,7 @@ def init_view_menu(self):
# disable on OSX, where there is always a menu bar
self.toggle_menu_bar_act = QtGui.QAction("Toggle &Menu Bar",
self,
- shortcut="Ctrl+Meta+M",
+ shortcut="Ctrl+Shift+M",
statusTip="Toggle visibility of menubar",
triggered=self.toggle_menu_bar)
self.add_menu_action(self.view_menu, self.toggle_menu_bar_act)
@@ -603,15 +603,15 @@ def init_window_menu(self):
self.add_menu_action(self.window_menu, self.maximizeAct)
self.window_menu.addSeparator()
- prev_key = "Ctrl+Shift+Left" if sys.platform == 'darwin' else "Ctrl+PgDown"
+ prev_key = "Ctrl+Shift+Left" if sys.platform == 'darwin' else "Ctrl+PgUp"
self.prev_tab_act = QtGui.QAction("Pre&vious Tab",
self,
shortcut=prev_key,
statusTip="Select previous tab",
triggered=self.prev_tab)
self.add_menu_action(self.window_menu, self.prev_tab_act)
- next_key = "Ctrl+Shift+Right" if sys.platform == 'darwin' else "Ctrl+PgUp"
+ next_key = "Ctrl+Shift+Right" if sys.platform == 'darwin' else "Ctrl+PgDown"
self.next_tab_act = QtGui.QAction("Ne&xt Tab",
self,
shortcut=next_key,

0 comments on commit c07c931

Please sign in to comment.