From f7ca1bf2c3b8a0b78a7a2818cb95aa21bf261e45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Pirkl?= <pirkl.theo@gmail.com> Date: Sun, 3 Feb 2019 21:24:47 +0100 Subject: [PATCH] Tidies up --- src/main/java/ch/hepia/ui/MainWindowController.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/ch/hepia/ui/MainWindowController.java b/src/main/java/ch/hepia/ui/MainWindowController.java index b06c445..5bdfc86 100644 --- a/src/main/java/ch/hepia/ui/MainWindowController.java +++ b/src/main/java/ch/hepia/ui/MainWindowController.java @@ -299,7 +299,7 @@ public class MainWindowController implements Initializable { private void setupCurrentConnection(AppContext app, WeatherAPI api) throws IOException { String wtcd = api.getWeatherFrom(currentJourney.getTo().getLocation().getCoordinates()).getConditionsIcon(); currentJourneyLabel.setText("Vous voyagez de " + currentJourney.getFrom().getLocation().getName() + " vers " - + currentJourney.getTo().getLocation().getName() + ". Cliquez ici pour quitter cet itinéraire."); + + currentJourney.getTo().getLocation().getName() + ". Cliquez ici pour le quitter."); currentJourneyLabel.setUnderline(true); currentJourneyLabel.setOnMouseClicked(event -> { Alert alertQuit = new Alert(Alert.AlertType.CONFIRMATION); @@ -472,6 +472,7 @@ public class MainWindowController implements Initializable { } }), userFilter::test); + // Subscribe to meeting app.getMessageManager().conditionalSubscribeMeeting(meeting -> Platform.runLater(() -> { drawMessage( String.format( -- GitLab