git: statusbar tooltip

This commit is contained in:
Joao Moreno
2017-01-16 10:37:34 +01:00
parent c101761dd6
commit b788c6f605

View File

@@ -81,13 +81,16 @@ export class SyncStatusBar {
text += `${HEAD.behind}${HEAD.ahead}`;
}
this.raw.command = 'git.sync';
this.raw.tooltip = 'Synchronize changes';
} else {
icon = '$(cloud-upload)';
this.raw.command = 'git.publish';
this.raw.tooltip = 'Publish changes';
}
} else {
this.raw.color = 'rgba(255,255,255,0.7)';
this.raw.command = '';
this.raw.tooltip = '';
}
this.raw.text = [icon, text].join(' ').trim();