File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4949 < button title ="{{TOOLTIP_PULL}} " class ="btn small git-pull "> < i class ="octicon octicon-repo-pull "> </ i > </ button >
5050 < button title ="{{TOOLTIP_PUSH}} " class ="btn small git-push "> < i class ="octicon octicon-repo-push "> </ i > </ button >
5151 </ div >
52- < button title ="{{TOOLTIP_OPEN_BASH}} " class ="btn small git-bash "> < i class ="octicon octicon-terminal "> </ i > </ button >
52+ < div class ="btn-group ">
53+ < button title ="{{TOOLTIP_OPEN_BASH}} " class ="btn small git-bash "> < i class ="octicon octicon-terminal "> </ i > </ button >
54+ < button title ="{{GIT_SETTINGS}} " class ="btn small git-settings "> < i class ="octicon octicon-settings "> </ i > </ button >
55+ </ div >
5356 < button title ="{{TOOLTIP_BUG}} " class ="btn small git-bug "> < i class ="octicon octicon-bug "> </ i > </ button >
5457 </ div >
5558 < a href ="# " class ="close "> ×</ a >
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ define(function (require, exports) {
3030 GitControl = require ( "./GitControl" ) ,
3131 Strings = require ( "../strings" ) ,
3232 Utils = require ( "./Utils" ) ,
33+ SettingsDialog = require ( "./SettingsDialog" ) ,
3334 PANEL_COMMAND_ID = "brackets-git.panel" ;
3435
3536 var gitPanelTemplate = require ( "text!htmlContent/git-panel.html" ) ,
@@ -1242,6 +1243,7 @@ define(function (require, exports) {
12421243 . on ( "click" , ".git-init" , handleGitInit )
12431244 . on ( "click" , ".git-clone" , handleGitClone )
12441245 . on ( "click" , ".git-remotes-dropdown a" , handleRemotePick )
1246+ . on ( "click" , ".git-settings" , SettingsDialog . show )
12451247 . on ( "contextmenu" , "tr" , function ( e ) {
12461248 var $this = $ ( this ) ;
12471249 if ( $this . hasClass ( "history-commit" ) ) { return ; }
You can’t perform that action at this time.
0 commit comments