Fix bug 499588 - TB3 integration: Fix accesskeys for File -> New menu items. r=philipp
authorVlado Valastiak (wladow, Mozilla.sk) <wladow@gmail.com>
Mon, 22 Jun 2009 08:18:32 +0200
changeset 2910 6a163fa5897339e4266ea3753017f9f33a67fe12
parent 2909 61c62b2d7ca704f2f51d11f639548c27e7b73a90
child 2911 b546a5072e6fc5b3add8b37faa9e78824760f6a8
push idunknown
push userunknown
push dateunknown
reviewersphilipp
bugs499588
Fix bug 499588 - TB3 integration: Fix accesskeys for File -> New menu items. r=philipp
calendar/lightning/content/messenger-overlay-sidebar.xul
calendar/locales/en-US/chrome/lightning/lightning.dtd
--- a/calendar/lightning/content/messenger-overlay-sidebar.xul
+++ b/calendar/lightning/content/messenger-overlay-sidebar.xul
@@ -94,36 +94,36 @@
     </menu>
   </menupopup>
   <menuitem id="openMessageFileMenuitem" hidden="true"/>
 
   <menupopup id="menu_NewPopup">
     <menuitem id="ltnNewEvent"
               label="&lightning.menupopup.new.event.label;"
               insertbefore="menu_newFolder"
-              accesskey="&event.new.event.accesskey;"
+              accesskey="&lightning.menupopup.new.event.accesskey;"
               key="calendar-new-event-key"
               command="calendar_new_event_command"
               observes="calendar_new_event_command"/>
     <menuitem id="ltnNewTask"
               label="&lightning.menupopup.new.task.label;"
               insertbefore="menu_newFolder"
-              accesskey="&event.new.todo.accesskey;"
+              accesskey="&lightning.menupopup.new.task.accesskey;"
               key="calendar-new-todo-key"
               command="calendar_new_todo_command"
               observes="calendar_new_todo_command"/>
     <menuseparator id="afterltnNewTask"
                    insertbefore="menu_newFolder"/>
 
     <menuseparator id="beforenewAccountMenuItem"
                    insertbefore="newAccountMenuItem"/>
     <menuitem id="ltnNewCalendar" label="&lightning.menupopup.new.calendar.label;"
                command="calendar_new_calendar_command"
                observes="calendar_new_calendar_command"
-               accesskey="&calendar.new.server.accesskey;"
+               accesskey="&lightning.menupopup.new.calendar.accesskey;"
                insertafter="newAccountMenuItem"/>
   </menupopup>
 
   <menupopup id="menu_EditPopup">
     <menuitem id="ltnCalendarProperties"
               insertafter="menu_properties"
               label="&calendar.properties.label;"
               accesskey="&calendar.properties.accesskey;"
--- a/calendar/locales/en-US/chrome/lightning/lightning.dtd
+++ b/calendar/locales/en-US/chrome/lightning/lightning.dtd
@@ -45,18 +45,21 @@
    - your editor isn't using UTF-8 encoding and may munge up the document!
   -->
 
 <!-- Tools menu -->
 <!ENTITY lightning.taskLabel "Lightning">
 
 <!-- New menu popup in File menu -->
 <!ENTITY lightning.menupopup.new.event.label    "Event…">
+<!ENTITY lightning.menupopup.new.event.accesskey "E">
 <!ENTITY lightning.menupopup.new.task.label     "Task…">
+<!ENTITY lightning.menupopup.new.task.accesskey "T">
 <!ENTITY lightning.menupopup.new.calendar.label "Calendar…">
+<!ENTITY lightning.menupopup.new.calendar.accesskey "n">
 
 <!-- Open menu popup in File menu -->
 <!ENTITY lightning.menupopup.open.label               "Open">
 <!ENTITY lightning.menupopup.open.accesskey           "O">
 <!ENTITY lightning.menupopup.open.message.label       "Saved Message…">
 <!ENTITY lightning.menupopup.open.message.accesskey   "M">
 <!ENTITY lightning.menupopup.open.calendar.label      "Calendar File…">
 <!ENTITY lightning.menupopup.open.calendar.accesskey  "C">