File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4848 < button title ="{{TOOLTIP_PULL}} " class ="btn small git-pull "> < i class ="octicon octicon-repo-pull "> </ i > </ button >
4949 < button title ="{{TOOLTIP_PUSH}} " class ="btn small git-push "> < i class ="octicon octicon-repo-push "> </ i > </ button >
5050 </ div >
51- < button title ="{{TOOLTIP_OPEN_BASH}} " class ="btn small git-bash "> < i class ="octicon octicon-terminal "> </ i > </ button >
51+ < div class ="btn-group ">
52+ < button title ="{{TOOLTIP_OPEN_BASH}} " class ="btn small git-bash "> < i class ="octicon octicon-terminal "> </ i > </ button >
53+ < button title ="{{GIT_SETTINGS}} " class ="btn small git-settings "> < i class ="octicon octicon-settings "> </ i > </ button >
54+ </ div >
5255 < button title ="{{TOOLTIP_BUG}} " class ="btn small git-bug "> < i class ="octicon octicon-bug "> </ i > </ button >
5356 </ div >
5457 < 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" ) ,
@@ -1304,6 +1305,7 @@ define(function (require, exports) {
13041305 . on ( "click" , ".change-remote" , handleRemotePick )
13051306 . on ( "click" , ".remove-remote" , handleRemoteRemove )
13061307 . on ( "click" , ".git-remote-new" , handleRemoteCreation )
1308+ . on ( "click" , ".git-settings" , SettingsDialog . show )
13071309 . on ( "contextmenu" , "tr" , function ( e ) {
13081310 var $this = $ ( this ) ;
13091311 if ( $this . hasClass ( "history-commit" ) ) { return ; }
You can’t perform that action at this time.
0 commit comments