This commit is contained in:
2017-07-11 23:54:05 +02:00
parent 580e2630ea
commit 4c09eabfd2
3 changed files with 26 additions and 1 deletions

View File

@@ -71,7 +71,7 @@ fn main() {
// TODO: error handling
#[cfg(feature = "notify")]
init("PNMixer-rs");
init("PNMixer-rs").unwrap();
flexi_logger::LogOptions::new()
.log_to_file(false)

View File

@@ -24,6 +24,8 @@ use ui_prefs_dialog::*;
use ui_tray_icon::*;
// TODO: more notifications, such as on alsa error
pub struct Notif {
enabled: Cell<bool>,