Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Texworks icon #10998

Merged
merged 2 commits into from
Mar 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/main/java/org/jabref/gui/icon/IconTheme.java
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ public enum JabRefIcons implements JabRefIcon {
APPLICATION_WINEDT(JabRefMaterialDesignIcon.WINEDT),
APPLICATION_SUBLIMETEXT(JabRefMaterialDesignIcon.SUBLIME_TEXT),
APPLICATION_TEXSHOP(JabRefMaterialDesignIcon.TEXSHOP),
APPLICATION_TEXWORS(JabRefMaterialDesignIcon.TEXWORKS),
KEY_BINDINGS(MaterialDesignK.KEYBOARD),
FIND_DUPLICATES(MaterialDesignC.CODE_EQUAL),
CONNECT_DB(MaterialDesignC.CLOUD_UPLOAD),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* Provides the same true-type font interface as MaterialDesignIcon itself, but uses a font we created ourselves that
* contains icons that are not available in MaterialDesignIcons.
*
* <p>
* The glyphs of the ttf (speak: the icons) were created with Illustrator and a template from the material design icons
* web-page. The art boards for each icon was exported as SVG and then converted with <a href="https://icomoon.io/app">
* IcoMoon</a>. The final TTF font is located in the resource folder.
Expand All @@ -31,7 +31,8 @@ public enum JabRefMaterialDesignIcon implements Ikon {
VSCODE("jab-vsvode", '\ue90d'),
CANCEL("jab-cancel", '\ue90e'),
SUBLIME_TEXT("jab-sublime-text", '\ue90f'),
TEXSHOP("jab-texshop", '\ue910');
TEXSHOP("jab-texshop", '\ue910'),
TEXWORKS("jab-texworks", '\ue911');

private String description;
private int code;
Expand Down
3 changes: 1 addition & 2 deletions src/main/java/org/jabref/gui/push/PushToTeXworks.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ public String getDisplayName() {

@Override
public JabRefIcon getApplicationIcon() {
// TODO: replace the placeholder icon with the real one.
return IconTheme.JabRefIcons.APPLICATION_GENERIC;
return IconTheme.JabRefIcons.APPLICATION_TEXWORS;
}

@Override
Expand Down
Binary file modified src/main/resources/fonts/JabRefMaterialDesign.ttf
Binary file not shown.
Loading