1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-24 08:48:51 -05: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"); private static final PreferencesEntry<String> persistentSelectedPanel = Settings.forPackage(MainFrame.class).entry("panel.selected").defaultValue("0");
public MainFrame() { public MainFrame() {
super(Settings.isInstalled() ? Settings.getApplicationName() : Settings.getApplicationIdentifier()); super(isInstalled() ? getApplicationName() : String.format("%s %s", getApplicationName(), getApplicationVersion()));
try { try {
// restore selected panel // restore selected panel
@ -223,7 +223,7 @@ public class MainFrame extends JFrame {
selectEnabled = true; selectEnabled = true;
// bring window to front when on dnd // bring window to front when on dnd
if (Settings.isMacApp()) { if (isMacApp()) {
MacAppUtilities.requestForeground(); MacAppUtilities.requestForeground();
} else { } else {
SwingUtilities.getWindowAncestor(((DropTarget) dtde.getSource()).getComponent()).toFront(); SwingUtilities.getWindowAncestor(((DropTarget) dtde.getSource()).getComponent()).toFront();