From f568e4dbde5de6c5d3ed39af73d02d2b910a1930 Mon Sep 17 00:00:00 2001 From: Jesslits <75296205+Css22@users.noreply.github.com> Date: Tue, 24 May 2022 02:54:29 +0800 Subject: [PATCH] fixed for Don't show social links in menu bar #8774 (#8798) Co-authored-by: Christoph Co-authored-by: ThiloteE <73715071+ThiloteE@users.noreply.github.com> Co-authored-by: Benedikt Tutzer Co-authored-by: Oliver Kopp --- CHANGELOG.md | 2 +- src/main/java/org/jabref/gui/JabRefFrame.java | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b0d057c094..197d9bf1cdd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/src/main/java/org/jabref/gui/JabRefFrame.java b/src/main/java/org/jabref/gui/JabRefFrame.java index 053589bef7a..c140bb85c0d 100644 --- a/src/main/java/org/jabref/gui/JabRefFrame.java +++ b/src/main/java/org/jabref/gui/JabRefFrame.java @@ -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);