Back to index

lightning-sunbird  0.9+nobinonly
lightning-toolbar.inc
Go to the documentation of this file.
00001 # ***** BEGIN LICENSE BLOCK *****
00002 # Version: MPL 1.1/GPL 2.0/LGPL 2.1
00003 #
00004 # The contents of this file are subject to the Mozilla Public License Version
00005 # 1.1 (the "License"); you may not use this file except in compliance with
00006 # the License. You may obtain a copy of the License at
00007 # http://www.mozilla.org/MPL/
00008 #
00009 # Software distributed under the License is distributed on an "AS IS" basis,
00010 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
00011 # for the specific language governing rights and limitations under the
00012 # License.
00013 #
00014 # The Original Code is calendar views.
00015 #
00016 # The Initial Developer of the Original Code is Oracle Corporation
00017 # Portions created by the Initial Developer are Copyright (C) 2005
00018 # the Initial Developer. All Rights Reserved.
00019 #
00020 # Contributor(s): Mike Shaver <shaver@mozilla.org>
00021 #                 Stuart Parmenter <stuart.parmenter@oracle.com>
00022 #                 Vladimir Vukicevic <vladimir@pobox.com>
00023 #                 Simon Paquet <bugzilla@babylonsounds.com>
00024 #                 Berend Cornelius <berend.cornelius@sun.com>
00025 #                 Philipp Kewisch <mozilla@kewis.ch>
00026 #
00027 # Alternatively, the contents of this file may be used under the terms of
00028 # either the GNU General Public License Version 2 or later (the "GPL"), or
00029 # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
00030 # in which case the provisions of the GPL or the LGPL are applicable instead
00031 # of those above. If you wish to allow use of your version of this file only
00032 # under the terms of either the GPL or the LGPL, and not to allow others to
00033 # use your version of this file under the terms of the MPL, indicate your
00034 # decision by deleting the provisions above and replace them with the notice
00035 # and other provisions required by the GPL or the LGPL. If you do not delete
00036 # the provisions above, a recipient may use your version of this file under
00037 # the terms of any one of the MPL, the GPL or the LGPL.
00038 #
00039 # ***** END LICENSE BLOCK *****
00040 
00041 <toolbarbutton id="calendar-delete-button"
00042                mode="calendar"
00043                class="cal-toolbarbutton-1"
00044                label="&calendar.delete.button.label;"
00045                tooltiptext="&calendar.delete.button.tooltip;"
00046                observes="lightning_delete_item_command"/>
00047 <toolbarbutton id="calendar-show-todaypane-button"
00048                mode="calendar"
00049                class="cal-toolbarbutton-1"
00050                label="&calendar.context.button.label;"
00051                tooltiptext="&calendar.todaypane.button.tooltip;"
00052                command="calendar_toggle_todaypane_command"/>
00053 <toolbarbutton id="task-show-todaypane-button"
00054                mode="task"
00055                class="cal-toolbarbutton-1"
00056                label="&calendar.context.button.label;"
00057                tooltiptext="&calendar.todaypane.button.tooltip;"
00058                command="calendar_toggle_todaypane_command"/>
00059 <toolbarbutton id="mail-show-todaypane-button"
00060                mode="mail"
00061                class="cal-toolbarbutton-1"
00062                label="&calendar.context.button.label;"
00063                tooltiptext="&calendar.todaypane.button.tooltip;"
00064                command="calendar_toggle_todaypane_command"/>
00065 <toolbarbutton id="calendar-edit-button"
00066                mode="calendar"
00067                class="cal-toolbarbutton-1"
00068                label="&calendar.edit.button.label;"
00069                tooltiptext="&calendar.edit.button.tooltip;"
00070                observes="lightning_modify_item_command"/>
00071 <toolbarbutton id="task-new-event-button"
00072                mode="task"
00073                class="cal-toolbarbutton-1"
00074                label="&calendar.newevent.button.label;"
00075                tooltiptext="&calendar.newevent.button.tooltip;"
00076                observes="calendar_new_event_command"/>
00077 <toolbarbutton id="task-new-task-button"
00078                mode="task"
00079                class="cal-toolbarbutton-1"
00080                label="&calendar.newtask.button.label;"
00081                tooltiptext="&calendar.newtask.button.tooltip;"
00082                observes="calendar_new_todo_command"/>
00083 <toolbarbutton id="task-category-button"
00084                type="menu"
00085                mode="task"
00086                class="cal-toolbarbutton-1"
00087                label="&calendar.unifinder.tree.categories.label;"
00088                tooltiptext="&calendar.task.category.button.tooltip;"
00089                command="calendar_task_category_command"
00090                observes="calendar_task_category_command">
00091    <menupopup onpopupshowing="addCategoryNames(event)"/>
00092 </toolbarbutton>
00093 <toolbarbutton id="task-progress-button"
00094                type="menu-button"
00095                autoCheck="false"
00096                mode="task"
00097                class="cal-toolbarbutton-1"
00098                label="&calendar.context.markcompleted.label;"
00099                tooltiptext="&calendar.task.complete.button.tooltip;"
00100                command="calendar_percentComplete-100_command2"
00101                observes="calendar_percentComplete-100_command2">
00102         <menupopup type="task-progress"/>
00103 </toolbarbutton>
00104 <toolbarbutton id="task-priority-button"
00105                type="menu"
00106                mode="task"
00107                class="cal-toolbarbutton-1"
00108                label="&calendar.context.priority.label;"
00109                tooltiptext="&calendar.task.priority.button.tooltip;"
00110                command="calendar_general-priority_command"
00111                observes="calendar_general-priority_command">
00112         <menupopup type="task-priority"/>
00113 </toolbarbutton>
00114 <toolbarbutton id="task-delete-button"
00115                mode="task"
00116                class="cal-toolbarbutton-1"
00117                label="&calendar.delete.button.label;"
00118                tooltiptext="&calendar.task.delete.button.tooltip;"
00119                command="calendar_delete_event_command"
00120                observes="calendar_delete_event_command"/>
00121 <toolbarbutton id="task-print-button"
00122                mode="task"
00123                class="cal-toolbarbutton-1"
00124                label="&calendar.print.button.label;"
00125                tooltiptext="&calendar.print.button.tooltip;"
00126                observes="cmd_print"/>
00127 <toolbarbutton id="task-remote-reload-button"
00128                mode="task"
00129                class="cal-toolbarbutton-1"
00130                label="&calendar.remotereload.button.label;"
00131                tooltiptext="&calendar.remotereload.button.tooltip;"
00132                observes="calendar_reload_remote_calendars"/>
00133 <toolbarbutton id="task-button-address"
00134                mode="task"
00135                class="cal-toolbarbutton-1"
00136                label="&addressBookButton.label;"
00137                oncommand="toAddressBook();"
00138                tooltiptext="&addressBookButton.tooltip;"/>