Skip to content

Commit

Permalink
add specific icon for DOIs - implements #696
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasgeiger committed May 11, 2016
1 parent 100f814 commit 3009bbe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ to [sourceforge feature requests](https://sourceforge.net/p/jabref/features/) by
- Added an option in the about dialog to easily copy the version information of JabRef
- Integrity check table can be sorted by clicking on column headings
- Added \SOFTWARE\Jabref 'Path' registry entry for installation path inside the installer
- Added an additional icon to distinguish DOI and URL links ([feature request #696](https://github.com/JabRef/jabref/issues/696))

### Fixed
- Fixed [#473](https://github.com/JabRef/jabref/issues/473): Values in an entry containing symbols like ' are now properly escaped for exporting to the database
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/sf/jabref/gui/GUIGlobals.java
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public static void init() {
label.setToolTipText(Localization.lang("Open") + " ArXiv URL");
GUIGlobals.TABLE_ICONS.put("eprint", label);

label = new JLabel(IconTheme.JabRefIcon.WWW.getSmallIcon());
label = new JLabel(IconTheme.JabRefIcon.DOI.getSmallIcon());
label.setToolTipText(Localization.lang("Open") + " DOI " + Localization.lang("web link"));
GUIGlobals.TABLE_ICONS.put("doi", label);

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/sf/jabref/gui/IconTheme.java
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public enum JabRefIcon {
REMOVE_NOBOX("\uf374") /*css: minus */,
FILE("\uf214"), /* css: file*/
PDF_FILE("\uf225"), /* css: file-pdf*/
DOI("\uf59f") /*css: web*/,
DOI("\uF072") /*css: barcode-scan*/,
DUPLICATE("\uf191") /*css: content-duplicate */,
EDIT("\uf3eb") /*css: pencil */,
NEW("\uf224") /* css: file-outline */,
Expand Down

0 comments on commit 3009bbe

Please sign in to comment.