From e3c84f9ed5424fcae9d48917383927f3ff31398a Mon Sep 17 00:00:00 2001 From: Siedlerchr Date: Tue, 3 Oct 2023 19:05:53 +0200 Subject: [PATCH] Add TexShop Icon --- .../java/org/jabref/gui/icon/IconTheme.java | 2 +- .../gui/icon/JabRefMaterialDesignIcon.java | 3 ++- .../org/jabref/gui/push/PushToTexShop.java | 2 +- .../resources/fonts/JabRefMaterialDesign.ttf | Bin 7488 -> 8460 bytes 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/jabref/gui/icon/IconTheme.java b/src/main/java/org/jabref/gui/icon/IconTheme.java index 9833e46049c..05beb9a51f7 100644 --- a/src/main/java/org/jabref/gui/icon/IconTheme.java +++ b/src/main/java/org/jabref/gui/icon/IconTheme.java @@ -277,6 +277,7 @@ public enum JabRefIcons implements JabRefIcon { APPLICATION_VIM(JabRefMaterialDesignIcon.VIM), APPLICATION_WINEDT(JabRefMaterialDesignIcon.WINEDT), APPLICATION_SUBLIMETEXT(JabRefMaterialDesignIcon.SUBLIME_TEXT), + APPLICATION_TEXSHOP(JabRefMaterialDesignIcon.TEXSHOP), KEY_BINDINGS(MaterialDesignK.KEYBOARD), FIND_DUPLICATES(MaterialDesignC.CODE_EQUAL), CONNECT_DB(MaterialDesignC.CLOUD_UPLOAD), @@ -351,7 +352,6 @@ public enum JabRefIcons implements JabRefIcon { ACCEPT_LEFT(MaterialDesignS.SUBDIRECTORY_ARROW_LEFT), ACCEPT_RIGHT(MaterialDesignS.SUBDIRECTORY_ARROW_RIGHT), MERGE_GROUPS(MaterialDesignS.SOURCE_MERGE); - private final JabRefIcon icon; JabRefIcons(Ikon... icons) { diff --git a/src/main/java/org/jabref/gui/icon/JabRefMaterialDesignIcon.java b/src/main/java/org/jabref/gui/icon/JabRefMaterialDesignIcon.java index e6b63d609db..6f697cc1e4a 100644 --- a/src/main/java/org/jabref/gui/icon/JabRefMaterialDesignIcon.java +++ b/src/main/java/org/jabref/gui/icon/JabRefMaterialDesignIcon.java @@ -30,7 +30,8 @@ public enum JabRefMaterialDesignIcon implements Ikon { SET_ALL("jab-setall", '\ue90c'), VSCODE("jab-vsvode", '\ue90d'), CANCEL("jab-cancel", '\ue90e'), - SUBLIME_TEXT("jab-sublime-text", '\ue90f'); + SUBLIME_TEXT("jab-sublime-text", '\ue90f'), + TEXSHOP("jab-texshop", '\ue910'); private String description; private int code; diff --git a/src/main/java/org/jabref/gui/push/PushToTexShop.java b/src/main/java/org/jabref/gui/push/PushToTexShop.java index 24fadcf1b8f..72f8c66a7a1 100644 --- a/src/main/java/org/jabref/gui/push/PushToTexShop.java +++ b/src/main/java/org/jabref/gui/push/PushToTexShop.java @@ -34,7 +34,7 @@ public String getDisplayName() { @Override public JabRefIcon getApplicationIcon() { - return IconTheme.JabRefIcons.APPLICATION_GENERIC; + return IconTheme.JabRefIcons.APPLICATION_TEXSHOP; } @Override diff --git a/src/main/resources/fonts/JabRefMaterialDesign.ttf b/src/main/resources/fonts/JabRefMaterialDesign.ttf index 769fc1fe9e5dee818e05f3d3fe6d16d9fa4f27e1..1dad4686d10f5684a9fe64081c824557f19ea9da 100644 GIT binary patch delta 1270 zcmYjRO>7%g5PskL+g;ncYdhXu$MwdwH?hI79RItdX-pCHP>PBmAdnEPRYD__&`7OB zKnQc=!Ub|b;z&6ll>;Idgg~k|A;AeD?nNBAa^V2XbApeQ+xv88$v3BcbNB7nfBJUg zD)|SDmA7`br?0Ktea>Pm{+aTl9ST@Kh~F4nlH@P%?ACK*4%HfibymWR_8EFqd(1woWFkyyj=CdR$`+6gQugan{$qlreX9&|L7 zcReJvdZW963xpkYJA>f{k~WgYaNKC4F{qn;Zb>6Ii+Ujugqq4IXw~#_mkDx7&Cs2; zfU-nA7#SIZQNI^P9it!$`s+AW8=L0C&chz3ng#uysq9lR*>D^*hV9v03X#@ps|ZN1 zN&RmVLzWEc!wGt$ld?@rPSg`KrMvaP1yK8F9Q49&SP06n3fjz}=hBwY?-8Tmr%rxlYExOb7~G z-hE*T!MVWf(mJ$|D$Jw_Btaog?3R!zsm@f-73{o}j_F7Y?KW+ch9gDZ4$iMEYJ!iHecSP=MGXbqhwl2 zO+x@Pj(>hNT#@4&tXXqTV3opj0b0q7R)LXaR;yBJ%^#{!xXcy7;<#l_-*Fa{OwnC& zK{F9I$2)}NP+X?H5MLv7GeRgM{R6YnyU;ViQ%ZU=LoYlXa!!LnbMa{Dam8D4H=qcI zX9l3#|srZF%u$^iKx>50V! zKw1FE2hkkqIhAQ*LHjF!d?1$S$w*C1QF(jLn1Mlx1t@Qp0Tf_A#C#RVw*m51GIC2Q z+!$Eufcyj?KOiSR*)h>g$G!?EumLEbm77>mz#zl81IWJv?gMF0Q*