Skip to content

Commit

Permalink
fixed for Don't show social links in menu bar #8774 (#8798)
Browse files Browse the repository at this point in the history
Co-authored-by: Christoph <[email protected]>
Co-authored-by: ThiloteE <[email protected]>
Co-authored-by: Benedikt Tutzer <[email protected]>
Co-authored-by: Oliver Kopp <[email protected]>
  • Loading branch information
5 people authored May 23, 2022
1 parent cca7505 commit f568e4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Note that this project **does not** adhere to [Semantic Versioning](http://semve

### Removed


- We removed the social media buttons for our Twitter and Facebook pages. [#8774](https://github.com/JabRef/jabref/issues/8774)



Expand Down
6 changes: 2 additions & 4 deletions src/main/java/org/jabref/gui/JabRefFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -529,14 +529,12 @@ private Node createToolbar() {
new Separator(Orientation.VERTICAL),

new HBox(
factory.createIconButton(StandardActions.OPEN_GITHUB, new OpenBrowserAction("https://github.com/JabRef/jabref")),
factory.createIconButton(StandardActions.OPEN_FACEBOOK, new OpenBrowserAction("https://www.facebook.com/JabRef/")),
factory.createIconButton(StandardActions.OPEN_TWITTER, new OpenBrowserAction("https://twitter.com/jabref_org"))),
createTaskIndicator()),

new Separator(Orientation.VERTICAL),

new HBox(
createTaskIndicator()));
factory.createIconButton(StandardActions.OPEN_GITHUB, new OpenBrowserAction("https://github.com/JabRef/jabref"))));

leftSpacer.setPrefWidth(50);
leftSpacer.setMinWidth(Region.USE_PREF_SIZE);
Expand Down

0 comments on commit f568e4d

Please sign in to comment.