]> SALOME platform Git repositories - tools/eficas.git/commitdiff
Salome HOME
*** empty log message ***
authoreficas <>
Wed, 22 Jun 2005 07:53:53 +0000 (07:53 +0000)
committereficas <>
Wed, 22 Jun 2005 07:53:53 +0000 (07:53 +0000)
Aster/prefs.py
Editeur/appli.py

index 2522b4251afb648a1ab64bd9510224c5f26dc1ff..53460cce2590a1c0188b6ca7998e79589e20a362 100644 (file)
@@ -62,27 +62,27 @@ appli_composants=['readercata','bureau',
 
 menu_defs={ 'bureau': [
               ('Fichier',[
-                           ('Nouveau','newJDC','<Control-n>','             Ctrl+N'),
+                           ('Nouveau','newJDC','<Control-n>','Ctrl+N'),
                            ('Nouvel INCLUDE','newJDC_include'),
-                           ('Ouvrir','openJDC','<Control-o>','                 Ctrl+O'),
-                           ('Enregistrer','saveJDC','<Control-e>','         Ctrl+E'),
+                           ('Ouvrir','openJDC','<Control-o>','Ctrl+O'),
+                           ('Enregistrer','saveJDC','<Control-e>','Ctrl+E'),
                            ('Enregistrer sous','saveasJDC','<Control-s>','Ctrl+S'),
                            None,
-                           ('Fermer','closeJDC','<Control-f>','                 Ctrl+F'),
-                           ('Quitter','exitEFICAS','<Control-q>','                 Ctrl+Q'),
+                           ('Fermer','closeJDC','<Control-f>','Ctrl+F'),
+                           ('Quitter','exitEFICAS','<Control-q>','Ctrl+Q'),
                          ]
               ),
               ('Edition',[
-                           ('Copier','copy','<Control-c>','       Ctrl+C'),
-                           ('Couper','cut','<Control-x>','      Ctrl+X'),
-                           ('Coller','paste','<Control-v>','        Ctrl+V'),
+                           ('Copier','copy','<Control-c>','Ctrl+C'),
+                           ('Couper','cut','<Control-x>','Ctrl+X'),
+                           ('Coller','paste','<Control-v>','Ctrl+V'),
                          ]
               ),
               ('Jeu de commandes',[
-               ('Rapport de validation','visuCRJDC','<Control-r>','        Ctrl+R'),
-               ('Fichier à plat','visu_a_plat','<Control-p>','                     Ctrl+P'),
-               ('Fichier format v6','visuJDC_py','<Control-t>','              Ctrl+T'),
-               ('Fichier source','visu_txt_brut_JDC','<Control-b>','                   Ctrl+B'),
+               ('Rapport de validation','visuCRJDC','<Control-r>','Ctrl+R'),
+               ('Fichier à plat','visu_a_plat','<Control-p>','Ctrl+P'),
+               ('Fichier format v6','visuJDC_py','<Control-t>','Ctrl+T'),
+               ('Fichier source','visu_txt_brut_JDC','<Control-b>','Ctrl+B'),
                ('Paramètres Eficas','affichage_fichier_ini'),
                ('Mots-clés inconnus','mc_inconnus'),
                                   ]
index 629a75ce82801a107dd22bada9e87d5e15846aa0..d6f823664b5a16f15446b6f5945bc5f39ecfdbe1 100644 (file)
@@ -272,7 +272,7 @@ class APPLI:
                if radio == None:radio=number_item
             else:
                command=getattr(appli_composant,method)
-               menu.add_command(label=label+" "+raccourci_label,command=command)
+               menu.add_command(label=label,accelerator=raccourci_label,command=command)
                if raccourci != "" :
                   self.top.bind(raccourci,command)
       # Si au moins un radiobouton existe on invoke le premier