[Commits] (donn) Put the "New Collection" menu item back

commits at osafoundation.org commits at osafoundation.org
Sun Aug 29 02:07:57 PDT 2004


Commit by: donn
Modified files:
chandler/parcels/osaf/views/main/parcel.xml 1.92 1.93

Log message:
Put the "New Collection" menu item back
---------------------------------------
* It was removed by accident
* Also removed the submenu that wasn't supposed to be there
* fixes bug 1786
* Also added accelerator keys for File/Prefereces/Accounts...
   and File/New Item/Message menu items.

ViewCVS links:
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/views/main/parcel.xml.diff?r1=text&tr1=1.92&r2=text&tr2=1.93

Index: chandler/parcels/osaf/views/main/parcel.xml
diff -u chandler/parcels/osaf/views/main/parcel.xml:1.92 chandler/parcels/osaf/views/main/parcel.xml:1.93
--- chandler/parcels/osaf/views/main/parcel.xml:1.92	Tue Aug 24 16:06:17 2004
+++ chandler/parcels/osaf/views/main/parcel.xml	Sun Aug 29 02:07:55 2004
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
 
-<!-- $Revision: 1.92 $ -->
-<!-- $Date: 2004/08/24 23:06:17 $ -->
+<!-- $Revision: 1.93 $ -->
+<!-- $Date: 2004/08/29 09:07:55 $ -->
 <!-- Copyright (c) 2003 Open Source Applications Foundation -->
 <!-- License: http://osafoundation.org/Chandler_0.1_license_terms.htm -->
 
@@ -236,7 +236,7 @@
     <title>&amp;File</title>
     <childrenBlocks itemref="doc:NewItemMenu"/>
     <childrenBlocks itemref="doc:FileSeparator1"/>
-    <childrenBlocks itemref="doc:NewCollectionMenu"/>
+    <childrenBlocks itemref="doc:NewItemCollectionItem"/>
     <childrenBlocks itemref="doc:FileSeparator2"/>
     <childrenBlocks itemref="doc:NewTabItem"/>
     <childrenBlocks itemref="doc:NewWindowItem"/>
@@ -368,16 +368,6 @@
     <childrenBlocks itemref="doc:NewContactItem"/>
   </Menu>
   
-  <Menu itsName="NewCollectionMenu">
-    <blockName>NewCollectionMenu</blockName>
-    <title>New collection</title>
-    <helpString>Create a new Collection</helpString>
-    <childrenBlocks itemref="doc:NewGenericCollectionItem"/>
-    <childrenBlocks itemref="doc:NewMailboxItem"/>
-    <childrenBlocks itemref="doc:NewCalendarItem"/>
-    <childrenBlocks itemref="doc:NewProjectItem"/>
-  </Menu>
-  
   <MenuItem itsName="NewNoteItem">
     <blockName>NewTabItem</blockName>
     <title>Note</title>
@@ -388,6 +378,7 @@
   <MenuItem itsName="NewMessageItem">
     <blockName>NewMessageItem</blockName>
     <title>Message</title>
+    <accel>M</accel>
     <helpString>Create a new Message</helpString>
     <event itemref="doc:NewMailMessage"/>
   </MenuItem>
@@ -418,34 +409,6 @@
     <event itemref="doc:NewContact"/>
   </MenuItem>
 
-  <MenuItem itsName="NewGenericCollectionItem">
-    <blockName>NewGenericCollectionItem</blockName>
-    <title>Generic collection</title>
-    <helpString>Create a new Generic collection</helpString>
-    <event itemref="events:NULL"/>
-  </MenuItem>
-  
-  <MenuItem itsName="NewMailboxItem">
-    <blockName>NewMailboxItem</blockName>
-    <title>Mailbox</title>
-    <helpString>Create a new Mailbox collection</helpString>
-    <event itemref="events:NULL"/>
-  </MenuItem>
-  
-  <MenuItem itsName="NewCalendarItem">
-    <blockName>NewCalendarItem</blockName>
-    <title>Calendar</title>
-    <helpString>Create a new Calendar collection</helpString>
-    <event itemref="events:NULL"/>
-  </MenuItem>
-  
-  <MenuItem itsName="NewProjectItem">
-    <blockName>NewProjectItem</blockName>
-    <title>Project</title>
-    <helpString>Create a new Project collection</helpString>
-    <event itemref="events:NULL"/>
-  </MenuItem>
-  
   <MenuItem itsName="NewTabItem">
     <blockName>NewTabItem</blockName>
     <title>New Tab</title>
@@ -558,6 +521,7 @@
   <MenuItem itsName="PrefsAccountsItem">
     <blockName>PrefsAccountsItem</blockName>
     <title>Accounts...</title>
+    <accel>A</accel>
     <helpString>Account Preferences</helpString>
     <event itemref="events:EditAccountPreferences"/>
   </MenuItem>



More information about the Commits mailing list