提交 973230c2 编写于 作者: S Serge Rider

#7447 Current timezone tooltip fix

上级 8d32fcd9
......@@ -335,8 +335,9 @@ public class ApplicationActionBarAdvisor extends ActionBarAdvisor
protected void fillStatusLine(IStatusLineManager statusLine) {
{
StatusLineContributionItemEx tzItem = new StatusLineContributionItemEx("Time Zone");
tzItem.setText(TimeZone.getDefault().getDisplayName(false, TimeZone.SHORT));
tzItem.setToolTip(TimeZone.getDefault().getDisplayName(true, TimeZone.LONG));
TimeZone tzDefault = TimeZone.getDefault();
tzItem.setText(tzDefault.getDisplayName(false, TimeZone.SHORT));
tzItem.setToolTip(tzDefault.getDisplayName(false, TimeZone.LONG));
tzItem.setDoubleClickListener(() -> {
UIUtils.showMessageBox(null, "Time zone", "You can change time zone by adding parameter\n" +
"-D" + StandardConstants.ENV_USER_TIMEZONE + "=<TimeZone>\n" +
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册