]> jfr.im git - irc/quakenet/qwebirc.git/blobdiff - js/ui/baseui.js
kill off soundmanager (flash is dead)
[irc/quakenet/qwebirc.git] / js / ui / baseui.js
index 1482b6aea05c428e0f12b9dfcd696040333ed97e..f0ccef4b0797c7ca142a56b59d11bed9977a52bf 100644 (file)
@@ -495,18 +495,14 @@ qwebirc.ui.NotificationUI = new Class({
 
     this.cancelFlash = this.__flasher.cancelFlash.bind(this.__flasher);
   },
-  beep: function() {
-    this.__beeper.beep();
+  beep: function(notification) {
+    this.__beeper.beep(notification);
   },
   notify: function(title, message, callback) {
-    this.__beeper.beep();
+    this.__beeper.beep(true);
     this.__flasher.flash();
     this.__notifier.notify(title, message, callback);
   },
-  setBeepOnMention: function(value) {
-    if(value)
-      this.__beeper.soundInit();
-  },
   setNotifications: function(value) {
     this.__notifier.setEnabled(value);
   },