@@ -290,7 +290,7 @@ private void addGitToolbarIfNeeded() {
290290 if (currentWorkspace != null && currentWorkspace .getType () == WorkspaceType .GIT ) {
291291 JPanel gitToolbarPanel = createGitToolbar (currentWorkspace );
292292 add (gitToolbarPanel );
293- add (Box .createHorizontalStrut (20 )); // Git 工具栏和工作区图标之间的间距
293+ add (Box .createHorizontalStrut (12 )); // Git 工具栏和工作区图标之间的间距
294294 }
295295 } catch (Exception e ) {
296296 log .error ("Failed to create Git toolbar" , e );
@@ -426,7 +426,7 @@ private JPanel createGitToolbar(Workspace workspace) {
426426 // Commit 按钮(本地提交,始终显示)
427427 JButton commitButton = createGitButton (
428428 I18nUtil .getMessage (MessageKeys .WORKSPACE_GIT_COMMIT ),
429- "icons/save .svg" ,
429+ "icons/git-commit .svg" ,
430430 e -> performGitOperation (workspace , GitOperation .COMMIT )
431431 );
432432 toolbar .add (commitButton );
@@ -436,7 +436,7 @@ private JPanel createGitToolbar(Workspace workspace) {
436436 // Pull 按钮(拉取远程更新)
437437 JButton pullButton = createGitButton (
438438 I18nUtil .getMessage (MessageKeys .WORKSPACE_GIT_PULL ),
439- "icons/download .svg" ,
439+ "icons/git-pull .svg" ,
440440 e -> performGitOperation (workspace , GitOperation .PULL )
441441 );
442442 toolbar .add (pullButton );
@@ -445,7 +445,7 @@ private JPanel createGitToolbar(Workspace workspace) {
445445 if (remoteStatus .hasUpstream ) {
446446 JButton pushButton = createGitButton (
447447 I18nUtil .getMessage (MessageKeys .WORKSPACE_GIT_PUSH ),
448- "icons/upload .svg" ,
448+ "icons/git-push .svg" ,
449449 e -> performGitOperation (workspace , GitOperation .PUSH )
450450 );
451451 toolbar .add (pushButton );
0 commit comments