Skip to content

Commit ca4e829

Browse files
committed
Merge pull request #251 from JabRef/remove-legacy-sync-pdf-or-ps
Removes legacy options to sync files in the "pdf" or "ps" field
2 parents b54d873 + 2facc25 commit ca4e829

23 files changed

+2
-434
lines changed

CHANGELOG

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[master]
22
- Fixes bug when having added and then removed a personal journal list, an exception is always shown on startup
3+
- Removes legacy options to sync files in the "pdf" or "ps" field
34
- Removes button to merge entries and keep the old ones.
45
- Removes non-compact rank symbols in favor of compact rank
56
- All duplicate whitespaces / tabs / newlines are now removed from non-multiline fields

src/main/java/net/sf/jabref/external/AutoSetExternalFileForEntries.java

-349
This file was deleted.

src/main/java/net/sf/jabref/gui/BasePanel.java

-2
Original file line numberDiff line numberDiff line change
@@ -1352,8 +1352,6 @@ public void action() {
13521352
actions.put(Actions.ABBREVIATE_ISO, new AbbreviateAction(this, true));
13531353
actions.put(Actions.ABBREVIATE_MEDLINE, new AbbreviateAction(this, false));
13541354
actions.put(Actions.UNABBREVIATE, new UnabbreviateAction(this));
1355-
actions.put(Actions.AUTO_SET_PDF, new AutoSetExternalFileForEntries(this, "pdf"));
1356-
actions.put(Actions.AUTO_SET_PS, new AutoSetExternalFileForEntries(this, "ps"));
13571355
actions.put(Actions.AUTO_SET_FILE, new SynchronizeFileField(this));
13581356

13591357
actions.put(Actions.BACK, (BaseAction) BasePanel.this::back);

src/main/java/net/sf/jabref/gui/JabRefFrame.java

+1-9
Original file line numberDiff line numberDiff line change
@@ -364,12 +364,6 @@ public void actionPerformed(ActionEvent e) {
364364
private final AbstractAction customFileTypesAction = ExternalFileTypeEditor.getAction(this);
365365
AbstractAction exportToClipboard = new GeneralAction("exportToClipboard",
366366
Localization.menuTitle("Export selected entries to clipboard"));
367-
private final AbstractAction autoSetPdf = new GeneralAction(Actions.AUTO_SET_PDF,
368-
Localization.menuTitle("Synchronize PDF links"),
369-
prefs.getKey(KeyBinds.SYNCHRONIZE_PDF));
370-
private final AbstractAction autoSetPs = new GeneralAction(Actions.AUTO_SET_PS,
371-
Localization.menuTitle("Synchronize PS links"),
372-
prefs.getKey(KeyBinds.SYNCHRONIZE_PS));
373367
private final AbstractAction autoSetFile = new GeneralAction(Actions.AUTO_SET_FILE,
374368
Localization.lang("Synchronize file links"),
375369
Globals.prefs.getKey(KeyBinds.SYNCHRONIZE_FILES));
@@ -1320,8 +1314,6 @@ private void fillMenu() {
13201314
tools.add(abbreviateMedline);
13211315
tools.add(unabbreviate);
13221316
tools.addSeparator();
1323-
checkAndFix.add(autoSetPdf);
1324-
checkAndFix.add(autoSetPs);
13251317
checkAndFix.add(integrityCheckAction);
13261318
tools.add(checkAndFix);
13271319

@@ -1535,7 +1527,7 @@ private void initActions() {
15351527
* openInspire */
15361528
openPdf, openUrl, openFolder, openFile, openSpires, /*openInspire,*/togglePreview, dupliCheck, /*strictDupliCheck,*/highlightAll,
15371529
highlightAny, newEntryAction, plainTextImport, massSetField, manageKeywords,
1538-
closeDatabaseAction, switchPreview, integrityCheckAction, autoSetPdf, autoSetPs,
1530+
closeDatabaseAction, switchPreview, integrityCheckAction,
15391531
toggleHighlightAny, toggleHighlightAll, databaseProperties, abbreviateIso,
15401532
abbreviateMedline, unabbreviate, exportAll, exportSelected,
15411533
importCurrent, saveAll, dbConnect, dbExport, focusTable));

0 commit comments

Comments
 (0)