From 2b56536433ef94f3f95b896200ef012f9fc09c57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Strau=C3=9F?= Date: Fri, 21 Aug 2015 00:24:48 +0200 Subject: [PATCH] disable notifications as of https://bitbucket.org/controlsfx/controlsfx/issues/526/ --- src/main/java/eu/over9000/skadi/util/NotificationUtil.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main/java/eu/over9000/skadi/util/NotificationUtil.java b/src/main/java/eu/over9000/skadi/util/NotificationUtil.java index aea5525..0c53d6b 100644 --- a/src/main/java/eu/over9000/skadi/util/NotificationUtil.java +++ b/src/main/java/eu/over9000/skadi/util/NotificationUtil.java @@ -29,9 +29,6 @@ import javafx.scene.layout.Pane; import javafx.stage.Stage; import javafx.stage.StageStyle; -import javafx.util.Duration; - -import org.controlsfx.control.Notifications; import eu.over9000.skadi.model.Channel; import eu.over9000.skadi.model.StateContainer; @@ -52,7 +49,9 @@ public static void showOnlineNotification(final Channel channel) { service.setOnSucceeded(event -> { final ImageView img = (ImageView) event.getSource().getValue(); - Notifications.create().text(channel.getName() + " went live").title("Skadi").hideAfter(Duration.seconds(5)).graphic(img).show(); + + // TODO wait on fix from controlsfx: https://bitbucket.org/controlsfx/controlsfx/issues/526/ + // Notifications.create().text(channel.getName() + " went live").title("Skadi").hideAfter(Duration.seconds(5)).graphic(img).show(); }); service.start(); }