diff --git a/src/fenrirscreenreader/commands/vmenu-navigation/curr_vmenu_entry.py b/src/fenrirscreenreader/commands/vmenu-navigation/curr_vmenu_entry.py index f10c2d02..140d32e5 100644 --- a/src/fenrirscreenreader/commands/vmenu-navigation/curr_vmenu_entry.py +++ b/src/fenrirscreenreader/commands/vmenu-navigation/curr_vmenu_entry.py @@ -16,11 +16,7 @@ class command(): def getDescription(self): return _('get current v menu entry') def run(self): - print('CURR MENU') - try: - text = self.env['runtime']['vmenuManager'].getCurrentEntry() - self.env['runtime']['outputManager'].presentText(text, interrupt=True) - except Exception as e: - print(e) + text = self.env['runtime']['vmenuManager'].getCurrentEntry() + self.env['runtime']['outputManager'].presentText(text, interrupt=True) def setCallback(self, callback): pass diff --git a/src/fenrirscreenreader/commands/vmenu-navigation/dec_level_vmenu.py b/src/fenrirscreenreader/commands/vmenu-navigation/dec_level_vmenu.py index 1984c07e..67c41b97 100644 --- a/src/fenrirscreenreader/commands/vmenu-navigation/dec_level_vmenu.py +++ b/src/fenrirscreenreader/commands/vmenu-navigation/dec_level_vmenu.py @@ -16,12 +16,8 @@ class command(): def getDescription(self): return _('leave v menu submenu') def run(self): - print('DEC LEVEL') - try: - self.env['runtime']['vmenuManager'].decLevel() - text = self.env['runtime']['vmenuManager'].getCurrentEntry() - self.env['runtime']['outputManager'].presentText(text, interrupt=True) - except Exception as e: - print(e) + self.env['runtime']['vmenuManager'].decLevel() + text = self.env['runtime']['vmenuManager'].getCurrentEntry() + self.env['runtime']['outputManager'].presentText(text, interrupt=True) def setCallback(self, callback): pass diff --git a/src/fenrirscreenreader/commands/vmenu-navigation/exec_vmenu_entry.py b/src/fenrirscreenreader/commands/vmenu-navigation/exec_vmenu_entry.py index 14186145..af32cb51 100644 --- a/src/fenrirscreenreader/commands/vmenu-navigation/exec_vmenu_entry.py +++ b/src/fenrirscreenreader/commands/vmenu-navigation/exec_vmenu_entry.py @@ -16,10 +16,6 @@ class command(): def getDescription(self): return _('execute v menu entry') def run(self): - print('EXEC ENTRY') - try: - self.env['runtime']['vmenuManager'].executeMenu() - except Exception as e: - print(e) + self.env['runtime']['vmenuManager'].executeMenu() def setCallback(self, callback): pass diff --git a/src/fenrirscreenreader/commands/vmenu-navigation/inc_level_vmenu.py b/src/fenrirscreenreader/commands/vmenu-navigation/inc_level_vmenu.py index f01e4abf..342a215f 100644 --- a/src/fenrirscreenreader/commands/vmenu-navigation/inc_level_vmenu.py +++ b/src/fenrirscreenreader/commands/vmenu-navigation/inc_level_vmenu.py @@ -16,12 +16,8 @@ class command(): def getDescription(self): return _('enter v menu submenu') def run(self): - print('INC LEVEL') - try: - self.env['runtime']['vmenuManager'].incLevel() - text = self.env['runtime']['vmenuManager'].getCurrentEntry() - self.env['runtime']['outputManager'].presentText(text, interrupt=True) - except Exception as e: - print(e) + self.env['runtime']['vmenuManager'].incLevel() + text = self.env['runtime']['vmenuManager'].getCurrentEntry() + self.env['runtime']['outputManager'].presentText(text, interrupt=True) def setCallback(self, callback): pass diff --git a/src/fenrirscreenreader/commands/vmenu-navigation/next_vmenu_entry.py b/src/fenrirscreenreader/commands/vmenu-navigation/next_vmenu_entry.py index 321f60a1..8eb1d409 100644 --- a/src/fenrirscreenreader/commands/vmenu-navigation/next_vmenu_entry.py +++ b/src/fenrirscreenreader/commands/vmenu-navigation/next_vmenu_entry.py @@ -16,12 +16,8 @@ class command(): def getDescription(self): return _('get next v menu entry') def run(self): - print('NEXT MENU') - try: - self.env['runtime']['vmenuManager'].nextIndex() - text = self.env['runtime']['vmenuManager'].getCurrentEntry() - self.env['runtime']['outputManager'].presentText(text, interrupt=True) - except Exception as e: - print(e) + self.env['runtime']['vmenuManager'].nextIndex() + text = self.env['runtime']['vmenuManager'].getCurrentEntry() + self.env['runtime']['outputManager'].presentText(text, interrupt=True) def setCallback(self, callback): pass diff --git a/src/fenrirscreenreader/commands/vmenu-navigation/prev_vmenu_entry.py b/src/fenrirscreenreader/commands/vmenu-navigation/prev_vmenu_entry.py index 3dc16480..2a9ee977 100644 --- a/src/fenrirscreenreader/commands/vmenu-navigation/prev_vmenu_entry.py +++ b/src/fenrirscreenreader/commands/vmenu-navigation/prev_vmenu_entry.py @@ -16,12 +16,8 @@ class command(): def getDescription(self): return _('get prev v menu entry') def run(self): - print('PREV MENU') - try: - self.env['runtime']['vmenuManager'].prevIndex() - text = self.env['runtime']['vmenuManager'].getCurrentEntry() - self.env['runtime']['outputManager'].presentText(text, interrupt=True) - except Exception as e: - print(e) + self.env['runtime']['vmenuManager'].prevIndex() + text = self.env['runtime']['vmenuManager'].getCurrentEntry() + self.env['runtime']['outputManager'].presentText(text, interrupt=True) def setCallback(self, callback): pass