]> jfr.im git - irc/quakenet/qwebirc.git/commitdiff
Add beeping!
authorChris Porter <redacted>
Fri, 5 Dec 2008 00:46:04 +0000 (00:46 +0000)
committerChris Porter <redacted>
Fri, 5 Dec 2008 00:46:04 +0000 (00:46 +0000)
TODO.txt
js/ui/baseuiwindow.js
js/ui/optionspane.js

index 667816634e847a4004ab4fb502ed2adff342340c..c44bdc1c374d3a3f3291bd2b5683fd1ba226227a 100644 (file)
--- a/TODO.txt
+++ b/TODO.txt
@@ -5,6 +5,10 @@ UI:
   TIDY: [enter] in text box should trigger event instead of having a form there?\r
   FEAT: about DIALOG?\r
   FEAT: Save last nick in cookies.\r
+  FEAT: multiline pastes\r
+  FEAT: link motd and embedded wizard somewhere more obvious.\r
+  FEAT: Last position line\r
+  FEAT: branding\r
   \r
 Authing:\r
   TIDY: Finish integration (notably login button on non-autoconnect page).\r
@@ -15,13 +19,7 @@ IRC:
   TIDY: /msg $ goes to status, as does /notice $, should go to active.\r
   \r
 Options pane:\r
-  TIDY: motd and possibly linked somewhere else.\r
-  FEAT: same with embedded wizard\r
-  FEAT: Sound\r
-  FEAT: Last position line\r
   FEAT: Store options server side when logged in.\r
   \r
 Other:\r
   BUG: IE7 seems to be broke\r
-\r
-  
\ No newline at end of file
index dcdd15f1f37be81fa97a5445538f314e20928f95..30b3049b00cbb39848c96c235bb9690ff657da77 100644 (file)
@@ -81,11 +81,13 @@ qwebirc.ui.Window = new Class({
             hilight = qwebirc.ui.HILIGHT_ACTIVITY;
           } else {
             hilight = qwebirc.ui.HILIGHT_US;
+            this.parentObject.beep();
           }
         }
         if(!type.match(/^OUR/) && this.client.hilightController.match(line["m"])) {
           lhilight = true;
           hilight = qwebirc.ui.HILIGHT_US;
+          this.parentObject.beep();
         } else if(hilight != qwebirc.ui.HILIGHT_US) {
           hilight = qwebirc.ui.HILIGHT_SPEECH;
         }
@@ -102,10 +104,10 @@ qwebirc.ui.Window = new Class({
     this.scrollAdd(element);
   },
   errorMessage: function(message) {
-    this.addLine("", message, "red");
+    this.addLine("", message, "#FF6347");
   },
   infoMessage: function(message) {
-    this.addLine("", message, "        #87CEFA");
+    this.addLine("", message, "#87CEFA");
   },
   setHilighted: function(state) {
     if(state == qwebirc.ui.HILIGHT_NONE || state >= this.hilighted)
index 8d963ee06ac6a35c743e03f4e23c212cc52981e5..f85133205bd76ecd8635d2b963c58501541063c9 100644 (file)
@@ -3,7 +3,7 @@ qwebirc.config.TEXT_BOX = 2;
 qwebirc.config.RADIO_BUTTONS = 3;
 
 qwebirc.config.DEFAULT_OPTIONS = [
-  [1, "BEEP_ON_MENTION", "Beep when nick mentioned (requires Flash)", true, {
+  [1, "BEEP_ON_MENTION", "Beep when nick mentioned or on query activity (requires Flash)", true, {
     render: function(input) {
       if(!$defined(Browser.Plugins.Flash) || Browser.Plugins.Flash.version < 8) {
         input.disabled = true;