diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2008-11-09 18:51:16 +0300 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2008-11-11 09:29:36 -0800 |
commit | e29c0d10a201a4ce0c71ddb65faadff533ed2a98 (patch) | |
tree | ecd7e712c4b21c7e55da2b953f1fb9141f7a6e57 /lib | |
parent | b28ebab294fb13f1bb5cd36ab9774a6dcf50a004 (diff) | |
download | git-e29c0d10a201a4ce0c71ddb65faadff533ed2a98.tar.gz git-e29c0d10a201a4ce0c71ddb65faadff533ed2a98.tar.xz |
git-gui: Add the Show SSH Key item to the clone dialog.
The user might need to see the key before cloning a repository.
This patch makes the relevant menu item available in the Select
Repository/Clone dialog.
Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/choose_repository.tcl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/choose_repository.tcl b/lib/choose_repository.tcl index 909131689..f9ff62a3b 100644 --- a/lib/choose_repository.tcl +++ b/lib/choose_repository.tcl @@ -43,12 +43,18 @@ constructor pick {} { $w.mbar.apple add command \ -label [mc "About %s" [appname]] \ -command do_about + $w.mbar.apple add command \ + -label [mc "Show SSH Key"] \ + -command do_ssh_key } else { $w.mbar add cascade -label [mc Help] -menu $w.mbar.help menu $w.mbar.help $w.mbar.help add command \ -label [mc "About %s" [appname]] \ -command do_about + $w.mbar.help add command \ + -label [mc "Show SSH Key"] \ + -command do_ssh_key } wm protocol $top WM_DELETE_WINDOW exit |