From 3f4c35b9d80e914e58bd70ba05298377d5f0a235 Mon Sep 17 00:00:00 2001 From: Siedlerchr Date: Wed, 26 Jul 2023 23:00:58 +0200 Subject: [PATCH] Add sublime icon to ttf and in dialog --- .../java/org/jabref/gui/icon/IconTheme.java | 2 +- .../gui/icon/JabRefMaterialDesignIcon.java | 3 ++- .../jabref/gui/push/PushToSublimeText.java | 2 +- .../resources/fonts/JabRefMaterialDesign.ttf | Bin 7296 -> 7488 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 996c0411b01..6265cda1ef2 100644 --- a/src/main/java/org/jabref/gui/icon/IconTheme.java +++ b/src/main/java/org/jabref/gui/icon/IconTheme.java @@ -276,7 +276,7 @@ public enum JabRefIcons implements JabRefIcon { APPLICATION_TEXMAKER(JabRefMaterialDesignIcon.TEX_MAKER), APPLICATION_VIM(JabRefMaterialDesignIcon.VIM), APPLICATION_WINEDT(JabRefMaterialDesignIcon.WINEDT), - APPLICATION_SUBLIMETEXT(MaterialDesignA.APPLICATION), + APPLICATION_SUBLIMETEXT(JabRefMaterialDesignIcon.SUBLIME_TEXT), KEY_BINDINGS(MaterialDesignK.KEYBOARD), FIND_DUPLICATES(MaterialDesignC.CODE_EQUAL), CONNECT_DB(MaterialDesignC.CLOUD_UPLOAD), diff --git a/src/main/java/org/jabref/gui/icon/JabRefMaterialDesignIcon.java b/src/main/java/org/jabref/gui/icon/JabRefMaterialDesignIcon.java index a5745132bbc..e6b63d609db 100644 --- a/src/main/java/org/jabref/gui/icon/JabRefMaterialDesignIcon.java +++ b/src/main/java/org/jabref/gui/icon/JabRefMaterialDesignIcon.java @@ -29,7 +29,8 @@ public enum JabRefMaterialDesignIcon implements Ikon { SET_CENTER("jab-setcenter", '\ue90b'), SET_ALL("jab-setall", '\ue90c'), VSCODE("jab-vsvode", '\ue90d'), - CANCEL("jab-cancel", '\ue90e'); + CANCEL("jab-cancel", '\ue90e'), + SUBLIME_TEXT("jab-sublime-text", '\ue90f'); private String description; private int code; diff --git a/src/main/java/org/jabref/gui/push/PushToSublimeText.java b/src/main/java/org/jabref/gui/push/PushToSublimeText.java index 379ec0790db..098e891aac5 100644 --- a/src/main/java/org/jabref/gui/push/PushToSublimeText.java +++ b/src/main/java/org/jabref/gui/push/PushToSublimeText.java @@ -56,7 +56,7 @@ public void pushEntries(BibDatabaseContext database, List entries, Str } try { - LOGGER.info("Sublime string: {}", String.join(" ", getCommandLine(keyString))); + LOGGER.debug("Sublime string: {}", String.join(" ", getCommandLine(keyString))); ProcessBuilder processBuilder = new ProcessBuilder(getCommandLine(keyString)); processBuilder.inheritIO(); Map envs = processBuilder.environment(); diff --git a/src/main/resources/fonts/JabRefMaterialDesign.ttf b/src/main/resources/fonts/JabRefMaterialDesign.ttf index f10dbdcd7362843959db2a1533b260d31b249d91..769fc1fe9e5dee818e05f3d3fe6d16d9fa4f27e1 100644 GIT binary patch delta 1352 zcmZWpOKclu5T4oJ_Il&Q&K9qi#7PzJ#$Iq9Wc}LM@k70&NDxB-qgJAItt3s9H`I!f zfa)Lw2cS`dr5-A^ha9Sk^iYutLP&%hD&T+sDdmD99tTuPD?|#X#AepEL0nW_LBdohShUfCE;6!N7AbJ{58uv3be!DXp`kvxNou+$y|#|vZK_rDGUv|H#rHc1YChwTzh67HUyEiMg%L4am0R%4q_Z5u?$LnbfT&cqOMS+mO;8%(%r<&UVZ&| z%NM1XQ}cKc>48E!e9uQTMYwG51#PRukY1;$SOvUi5D%2gt?SnW(5Rkprz zzReeU;At2q0Tim1w^5dqtLzEuRI6Drm1o4FdW59W0;*2x^dnED*QKEbEP43qG?E~ zn-*Z3UaSm>rdZCW6tg1~oh|wl#aGPI zog>+z;>-EFD{Aj_qBNXNpZ0nWui;*BI(fVX0;CASV)Z6_mlR152q@HVRkzY$G-M@h zb@Pp&5ow_`JJIbi{4^m05#4+#`lyT)Mgl6kfXFdCblU`mWK6JOy0RlU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