Skip to content

Commit

Permalink
reenable notifications, use a controlsfx build modified locally to av…
Browse files Browse the repository at this point in the history
  • Loading branch information
s1mpl3x committed Aug 20, 2015
1 parent 2b56536 commit 9b81aa0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
<dependency>
<groupId>org.controlsfx</groupId>
<artifactId>controlsfx</artifactId>
<version>8.40.9</version>
<version>8.60-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
Expand Down
5 changes: 4 additions & 1 deletion src/main/java/eu/over9000/skadi/util/NotificationUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
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;
Expand All @@ -51,7 +54,7 @@ public static void showOnlineNotification(final Channel channel) {


// 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();
Notifications.create().text(channel.getName() + " went live").title("Skadi").hideAfter(Duration.seconds(5)).graphic(img).show();
});
service.start();
}
Expand Down

0 comments on commit 9b81aa0

Please sign in to comment.