1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-08-13 17:03:45 -04:00

* don't show revision number in window title

This commit is contained in:
Reinhard Pointner 2015-05-04 12:35:15 +00:00
parent 6ed8d4443e
commit bf8826229f

View File

@ -63,7 +63,7 @@ public class MainFrame extends JFrame {
private static final PreferencesEntry<String> persistentSelectedPanel = Settings.forPackage(MainFrame.class).entry("panel.selected").defaultValue("0");
public MainFrame() {
super(Settings.isInstalled() ? Settings.getApplicationName() : Settings.getApplicationIdentifier());
super(isInstalled() ? getApplicationName() : String.format("%s %s", getApplicationName(), getApplicationVersion()));
try {
// restore selected panel
@ -223,7 +223,7 @@ public class MainFrame extends JFrame {
selectEnabled = true;
// bring window to front when on dnd
if (Settings.isMacApp()) {
if (isMacApp()) {
MacAppUtilities.requestForeground();
} else {
SwingUtilities.getWindowAncestor(((DropTarget) dtde.getSource()).getComponent()).toFront();