home *** CD-ROM | disk | FTP | other *** search
/ PC Format (PL) 2008 February / PC_Format_022008.iso / Internet / Mozilla Thunderbird wtyczki / lightning-0.7-tb-win.xpi / defaults / preferences / lightning.js
Encoding:
Text File  |  2007-10-23  |  3.9 KB  |  100 lines

  1. /* ***** BEGIN LICENSE BLOCK *****
  2.  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
  3.  *
  4.  * The contents of this file are subject to the Mozilla Public License Version
  5.  * 1.1 (the "License"); you may not use this file except in compliance with
  6.  * the License. You may obtain a copy of the License at
  7.  * http://www.mozilla.org/MPL/
  8.  *
  9.  * Software distributed under the License is distributed on an "AS IS" basis,
  10.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  11.  * for the specific language governing rights and limitations under the
  12.  * License.
  13.  *
  14.  * The Original Code is Lightning preferences code.
  15.  *
  16.  * The Initial Developer of the Original Code is 
  17.  *   Joey Minta <jminta@gmail.com>
  18.  * Portions created by the Initial Developer are Copyright (C) 2005
  19.  * the Initial Developer. All Rights Reserved.
  20.  *
  21.  * Contributor(s):
  22.  *   Stefan Sitter <ssitter@googlemail.com>
  23.  *   Philipp Kewisch <mozilla@kewis.ch>
  24.  *
  25.  * Alternatively, the contents of this file may be used under the terms of
  26.  * either the GNU General Public License Version 2 or later (the "GPL"), or 
  27.  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  28.  * in which case the provisions of the GPL or the LGPL are applicable instead
  29.  * of those above. If you wish to allow use of your version of this file only
  30.  * under the terms of either the GPL or the LGPL, and not to allow others to
  31.  * use your version of this file under the terms of the MPL, indicate your
  32.  * decision by deleting the provisions above and replace them with the notice
  33.  * and other provisions required by the GPL or the LGPL. If you do not delete
  34.  * the provisions above, a recipient may use your version of this file under
  35.  * the terms of any one of the MPL, the GPL or the LGPL.
  36.  *
  37.  * ***** END LICENSE BLOCK ***** */
  38.  
  39. // This file contains all of the default preference values for Lightning
  40.  
  41. // general settings
  42. pref("calendar.date.format", 0);
  43. pref("calendar.event.defaultlength", 60);
  44.  
  45. // alarm settings
  46. pref("calendar.alarms.show", true);
  47. pref("calendar.alarms.showmissed", true);
  48. pref("calendar.alarms.playsound", true);
  49. pref("calendar.alarms.soundURL", "chrome://calendar/content/sound.wav");
  50. pref("calendar.alarms.defaultsnoozelength", 5);
  51.  
  52. // default alarm settings for new event
  53. pref("calendar.alarms.onforevents", 0);
  54. pref("calendar.alarms.eventalarmlen", 15);
  55. pref("calendar.alarms.eventalarmunit", "minutes");
  56.  
  57. // default alarm settings for new task
  58. pref("calendar.alarms.onfortodos", 0);
  59. pref("calendar.alarms.todoalarmlen", 15);
  60. pref("calendar.alarms.todoalarmunit", "minutes");
  61.  
  62. // autorefresh settings
  63. pref("calendar.autorefresh.enabled", true);
  64. pref("calendar.autorefresh.timeout", 30);
  65.  
  66.  
  67. // 0=Sunday, 1=Monday, 2=Tuesday, etc.  One day we might want to move this to
  68. // a locale specific file.
  69. pref("calendar.week.start", 0);
  70. pref("calendar.weeks.inview", 4);
  71. pref("calendar.previousweeks.inview", 0);
  72.  
  73. // Default days off
  74. pref("calendar.week.d0sundaysoff", true);
  75. pref("calendar.week.d1mondaysoff", false);
  76. pref("calendar.week.d2tuesdaysoff", false);
  77. pref("calendar.week.d3wednesdaysoff", false);
  78. pref("calendar.week.d4thursdaysoff", false);
  79. pref("calendar.week.d5fridaysoff", false);
  80. pref("calendar.week.d6saturdaysoff", true);
  81.  
  82. // start and end work hour for day and week views
  83. pref("calendar.view.daystarthour", 8);
  84. pref("calendar.view.dayendhour", 17);
  85.  
  86. // number of visible hours for day and week views
  87. pref("calendar.view.visiblehours", 9);
  88.  
  89. // Do not set this!  If it's not there, then we guess the system timezone
  90. //pref("calendar.timezone.local", "");
  91.  
  92. // categories settings
  93. // XXX One day we might want to move this to a locale specific file
  94. //     and include a list of locale specific default categories
  95. pref("calendar.categories.names", "");
  96.  
  97. // Make sure mouse wheel shift and no key actions to scroll lines.
  98. pref("mousewheel.withnokey.action", 0);
  99. pref("mousewheel.withshiftkey.action", 0);
  100.