let it be Reveal log on all platforms

This commit is contained in:
peter
2013-02-24 14:36:35 +01:00
parent 2ff41bcda2
commit 2a0194e5fa
@@ -40,10 +40,11 @@ public class ShowLogAction extends AnAction implements DumbAware {
Presentation presentation = e.getPresentation();
presentation.setVisible(ShowFilePathAction.isSupported());
presentation.setText(getActionName());
presentation.setDescription("Show Log in file manager");
}
@NotNull
public static String getActionName() {
return SystemInfo.isMac ? "Reveal Log in Finder" : "Show Log in " + ShowFilePathAction.getFileManagerName();
return SystemInfo.isMac ? "Reveal Log in Finder" : "Reveal Log in " + ShowFilePathAction.getFileManagerName();
}
}