]> jfr.im git - irc/quakenet/qwebirc.git/blobdiff - js/ui/panes/options.js
add side tabs
[irc/quakenet/qwebirc.git] / js / ui / panes / options.js
index 094da0207a4b01555313bcb10fc135943bddd124..1ed73e466438372d5702238bc7fdd35e6a81054d 100644 (file)
@@ -46,7 +46,17 @@ qwebirc.config.DEFAULT_OPTIONS = [
   }],
   [12, "QUERY_ON_NICK_CLICK", "Query on nickname click in channel", false],
   [13, "SHOW_NICKLIST", "Show nickname list in channels", true],
-  [14, "SHOW_TIMESTAMPS", "Show timestamps", true] /* we rely on the hue update */
+  [14, "SHOW_TIMESTAMPS", "Show timestamps", true], /* we rely on the hue update */
+  [15, "SIDE_TABS", "Show tabs on the side", false, {
+    enabled: function() {
+      if(Browser.Engine.trident && Browser.Engine.version < 8)
+        return [false, false]; /* [disabled, default_value] */
+      return [true];
+    },
+    applyChanges: function(value, ui) {
+      ui.setSideTabs(value);
+    }
+  }]
 ];
 
 qwebirc.config.DefaultOptions = null;