curvirgoです。

Yoshiyuki Masutomi wrote:
> Calc以外全般用patch : sfx2_contextmenu_change_SRC680_m138.patch
一部ごみが混ざっていましたのでそれを除去しました。
--- SRC680_m138/sfx2/source/menu/mnumgr.cxx.orig	2005-09-08 04:18:55.000000000 +0900
+++ SRC680_m138/sfx2/source/menu/mnumgr.cxx	2005-11-12 16:47:22.000000000 +0900
@@ -444,12 +444,13 @@
 			{
 				PopupMenu aPop( SfxResId( MN_CLIPBOARDFUNCS ) );
 				nCount = aPop.GetItemCount();
-				pSVMenu->InsertSeparator();
 				for ( n=0; n<nCount; n++ )
 				{
 					USHORT nId = aPop.GetItemId( n );
-					pSVMenu->InsertItem( nId, aPop.GetItemText( nId ), aPop.GetItemBits( nId ) );
+					pSVMenu->InsertItem( nId, aPop.GetItemText( nId ), aPop.GetItemBits( nId ), n + 1 );
 				}
+				if ( pSVMenu->GetItemId( n + 1 ) != 0 ) pSVMenu->InsertSeparator( n + 1 );
+				pSVMenu->InsertSeparator( 1 );
 			}
 		}
 
@@ -1516,13 +1517,14 @@
     {
         PopupMenu aPop( SfxResId( MN_CLIPBOARDFUNCS ) );
         nCount = aPop.GetItemCount();
-        pSVMenu->InsertSeparator();
         for ( n=0; n<nCount; n++ )
         {
             USHORT nId = aPop.GetItemId( n );
-            pSVMenu->InsertItem( nId, aPop.GetItemText( nId ), aPop.GetItemBits( nId ) );
+            pSVMenu->InsertItem( nId, aPop.GetItemText( nId ), aPop.GetItemBits( nId ), n + 1 );
             pSVMenu->SetHelpId( nId, aPop.GetHelpId( nId ));
         }
+	if ( pSVMenu->GetItemId( n + 1 ) != 0 ) pSVMenu->InsertSeparator( n + 1 );
+	pSVMenu->InsertSeparator( 1 );
     }
 
     InsertVerbs_Impl( &pFrame->GetBindings(), pFrame->GetViewShell()->GetVerbs(), pSVMenu );
--- SRC680_m138/sfx2/source/menu/menu.src.orig	2005-11-11 23:52:30.000000000 +0900
+++ SRC680_m138/sfx2/source/menu/menu.src	2005-11-12 12:09:22.000000000 +0900
@@ -54,13 +54,6 @@
 	{
 		MenuItem
 		{
-    		Identifier = SID_CUT ;
-    		HelpID = SID_CUT ;
-    		Text [ de ] = "~Ausschneiden" ;
-    		Text [ en-US ] = "Cu~t" ;
-		};
-		MenuItem
-		{
     		Identifier = SID_COPY ;
     		HelpID = SID_COPY ;
     		Text [ de ] = "~Kopieren" ;
@@ -68,6 +61,13 @@
 		};
 		MenuItem
 		{
+    		Identifier = SID_CUT ;
+    		HelpID = SID_CUT ;
+    		Text [ de ] = "~Ausschneiden" ;
+    		Text [ en-US ] = "Cu~t" ;
+		};
+		MenuItem
+		{
     		Identifier = SID_PASTE ;
     		HelpID = SID_PASTE ;
     		Text [ de ] = "E~infügen" ;

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

メールによる返信