The attached fixes bug 1260: shortcut for quit should be ctrl+Q
(it also reformats the line containing `N', which had an extra tab)

Note: now the GNOME File menu displays `Ctrl-Q' as the shortcut, and not
Alt-F4 (which still works to quit) -- I didn't look at the magic we do
to show the shortcut keys, but if it's platform dependent, we should
check that on other platforms, Ctrl-Q is displayed.

-- 
cheers,
  -pookie
Index: src/wp/ap/xp/ap_LB_Default.cpp
===================================================================
RCS file: /cvsroot/abi/src/wp/ap/xp/ap_LB_Default.cpp,v
retrieving revision 1.54
diff -u -r1.54 ap_LB_Default.cpp
--- src/wp/ap/xp/ap_LB_Default.cpp      2001/05/17 00:25:41     1.54
+++ src/wp/ap/xp/ap_LB_Default.cpp      2001/07/18 05:00:58
@@ -347,10 +347,10 @@
        {0x4b, /* K      */ { "insertData",                     "toggleStrike",        
 "",                             ""                                      }},
        {0x4c, /* L      */ { "insertData",                     "alignLeft",           
 "",                             ""                                      }},
        {0x4d, /* M      */ { "insertData",                     "insSymbol",           
 "",                             ""                                      }},
-       {0x4e, /* N      */ { "insertData",                     "toolbarNew",          
         "",                             ""                                      }},
+       {0x4e, /* N      */ { "insertData",                     "toolbarNew",          
+ "",                             ""                                      }},
        {0x4f, /* O      */ { "insertData",                     "fileOpen",            
         "",                             ""                                      }},
        {0x50, /* P      */ { "insertData",                     "print",               
         "",                             ""                                      }},
-       {0x51, /* Q      */ { "insertData",                     "",                    
                 "",                             ""                                    
  }},
+       {0x51, /* Q      */ { "insertData",                     "querySaveAndExit",    
+ "",                             ""                                      }},
        {0x52, /* R      */ { "insertData",                     "alignRight",          
 "",                             ""                                      }},
        {0x53, /* S      */ { "insertData",                     "fileSave",            
         "",                             ""                                      }},
        {0x54, /* T      */ { "insertData",                     "toggleOline",         
 "",                             ""                                      }},
@@ -379,10 +379,10 @@
        {0x6b, /* k      */ { "insertData",                     "toggleStrike",        
 "",                             ""                                      }},
        {0x6c, /* l      */ { "insertData",                     "alignLeft",           
 "",                             ""                                      }},
        {0x6d, /* m      */ { "insertData",                     "insSymbol",           
 "",                             ""                                      }},
-       {0x6e, /* n      */ { "insertData",                     "toolbarNew",          
         "",                             ""                                      }},
+       {0x6e, /* n      */ { "insertData",                     "toolbarNew",          
+ "",                             ""                                      }},
        {0x6f, /* o      */ { "insertData",                     "fileOpen",            
         "",                             ""                                      }},
        {0x70, /* p      */ { "insertData",                     "print",               
         "",                             ""                                      }},
-       {0x71, /* q      */ { "insertData",                     "",                    
                 "",                             ""                                    
  }},
+       {0x71, /* q      */ { "insertData",                     "querySaveAndExit",    
+ "",                             ""                                      }},
        {0x72, /* r      */ { "insertData",                     "alignRight",          
 "",                             ""                                      }},
        {0x73, /* s      */ { "insertData",                     "fileSave",            
         "",                             ""                                      }},
        {0x74, /* t      */ { "insertData",                     "toggleOline",         
 "",                             ""                                      }},

Reply via email to