polish vmenu with tutorial mode
This commit is contained in:
parent
8322aa7905
commit
6fd2f60d66
@ -15,10 +15,10 @@ class command():
|
||||
pass
|
||||
def getDescription(self):
|
||||
self.env['runtime']['helpManager'].toggleTutorialMode()
|
||||
#self.env['runtime']['outputManager'].presentText(, interrupt=True)
|
||||
return _('Exiting tutorial mode. To enter tutorial mode again press Fenrir+f1')
|
||||
def run(self):
|
||||
self.env['runtime']['helpManager'].toggleTutorialMode()
|
||||
self.env['runtime']['outputManager'].presentText( _('Entering tutorial mode. In this mode commands are described but not executed. You can move through the list of commands with the up and down arrow keys. To Exit tutorial mode press Fenrir+f1.'), interrupt=True)
|
||||
if self.env['runtime']['helpManager'].isTutorialMode():
|
||||
self.env['runtime']['outputManager'].presentText( _('Entering tutorial mode. In this mode commands are described but not executed. You can move through the list of commands with the up and down arrow keys. To Exit tutorial mode press Fenrir+f1.'), interrupt=True)
|
||||
def setCallback(self, callback):
|
||||
pass
|
||||
|
@ -15,7 +15,7 @@ class command():
|
||||
pass
|
||||
def getDescription(self):
|
||||
self.env['runtime']['vmenuManager'].togglelVMenuMode()
|
||||
return _('Exiting v menu mode.')
|
||||
return _('Entering or Leaving v menu mode.')
|
||||
def run(self):
|
||||
self.env['runtime']['vmenuManager'].togglelVMenuMode()
|
||||
if self.env['runtime']['vmenuManager'].getActive():
|
||||
|
Loading…
Reference in New Issue
Block a user