From d99a131e74840600deac90706c6c8b736bec68da Mon Sep 17 00:00:00 2001 From: David Aguilar Date: Thu, 24 Nov 2011 03:59:47 -0800 Subject: [PATCH] main: Move the 'Export Patches' shortcut to 'Alt-E' Signed-off-by: David Aguilar --- cola/main/view.py | 2 +- cola/widgets/about.py | 2 +- cola/widgets/status.py | 1 - share/doc/git-cola/shortcuts.rst | 4 ++-- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/cola/main/view.py b/cola/main/view.py index a00ae7de..ecd46774 100644 --- a/cola/main/view.py +++ b/cola/main/view.py @@ -140,7 +140,7 @@ class MainView(standard.MainWindow): self.menu_stage_untracked.setIcon(qtutils.icon('add.svg')) self.menu_export_patches = add_action(self, - 'Export Patches...', guicmds.export_patches, 'Ctrl+E') + 'Export Patches...', guicmds.export_patches, 'Alt+E') self.menu_preferences = add_action(self, 'Preferences', lambda: preferences(model=prefs_model), QtGui.QKeySequence.Preferences, 'Ctrl+O') diff --git a/cola/widgets/about.py b/cola/widgets/about.py index a317fb97..2cc7db12 100644 --- a/cola/widgets/about.py +++ b/cola/widgets/about.py @@ -170,7 +170,7 @@ span.title { Show diffstat - Ctrl + e + Alt + e : Export patches diff --git a/cola/widgets/status.py b/cola/widgets/status.py index 276555b4..9ac79129 100644 --- a/cola/widgets/status.py +++ b/cola/widgets/status.py @@ -3,7 +3,6 @@ import copy import subprocess import itertools -from PyQt4 import QtCore from PyQt4 import QtGui from PyQt4.QtCore import SIGNAL diff --git a/share/doc/git-cola/shortcuts.rst b/share/doc/git-cola/shortcuts.rst index 4323ed28..d1cc4082 100644 --- a/share/doc/git-cola/shortcuts.rst +++ b/share/doc/git-cola/shortcuts.rst @@ -11,14 +11,14 @@ Main Interface * :command:`ctrl-b` -- Create branch * :command:`alt-b` -- Checkout branch * :command:`alt-d` -- Diffstat the most recent commit -* :command:`ctrl-e` -- Export patches +* :command:`alt-e` -- Export patches * :command:`ctrl-p` -- Cherry-pick * :command:`ctrl-r` -- Rescan/refresh repository status * :command:`shift-alt-s` -- Stash dialog Diff Viewer =========== -* :command:`h` -- Stage/unstage section at text cursor position +* :command:`h` -- Stage/unstage section under text cursor * :command:`s` -- Stage/unstage selection Cola Classic -- 2.11.4.GIT