From: eficas <> Date: Wed, 22 Jun 2005 07:53:53 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: CC_param_poursuite~95 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ab61e931799beacf65acbf69bd3b2315664fb412;p=tools%2Feficas.git *** empty log message *** --- diff --git a/Aster/prefs.py b/Aster/prefs.py index 2522b425..53460cce 100644 --- a/Aster/prefs.py +++ b/Aster/prefs.py @@ -62,27 +62,27 @@ appli_composants=['readercata','bureau', menu_defs={ 'bureau': [ ('Fichier',[ - ('Nouveau','newJDC','',' Ctrl+N'), + ('Nouveau','newJDC','','Ctrl+N'), ('Nouvel INCLUDE','newJDC_include'), - ('Ouvrir','openJDC','',' Ctrl+O'), - ('Enregistrer','saveJDC','',' Ctrl+E'), + ('Ouvrir','openJDC','','Ctrl+O'), + ('Enregistrer','saveJDC','','Ctrl+E'), ('Enregistrer sous','saveasJDC','','Ctrl+S'), None, - ('Fermer','closeJDC','',' Ctrl+F'), - ('Quitter','exitEFICAS','',' Ctrl+Q'), + ('Fermer','closeJDC','','Ctrl+F'), + ('Quitter','exitEFICAS','','Ctrl+Q'), ] ), ('Edition',[ - ('Copier','copy','',' Ctrl+C'), - ('Couper','cut','',' Ctrl+X'), - ('Coller','paste','',' Ctrl+V'), + ('Copier','copy','','Ctrl+C'), + ('Couper','cut','','Ctrl+X'), + ('Coller','paste','','Ctrl+V'), ] ), ('Jeu de commandes',[ - ('Rapport de validation','visuCRJDC','',' Ctrl+R'), - ('Fichier à plat','visu_a_plat','',' Ctrl+P'), - ('Fichier format v6','visuJDC_py','',' Ctrl+T'), - ('Fichier source','visu_txt_brut_JDC','',' Ctrl+B'), + ('Rapport de validation','visuCRJDC','','Ctrl+R'), + ('Fichier à plat','visu_a_plat','','Ctrl+P'), + ('Fichier format v6','visuJDC_py','','Ctrl+T'), + ('Fichier source','visu_txt_brut_JDC','','Ctrl+B'), ('Paramètres Eficas','affichage_fichier_ini'), ('Mots-clés inconnus','mc_inconnus'), ] diff --git a/Editeur/appli.py b/Editeur/appli.py index 629a75ce..d6f82366 100644 --- a/Editeur/appli.py +++ b/Editeur/appli.py @@ -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