commit 65bbe308314d4c289af846607fa0bead66c7d4c1 Author: Sambuddha Basu sambuddhabasu1@gmail.com Date: Tue Mar 8 16:32:58 2016 -0500
Dropped Stop Tor menu option Fixed order of Submenu elements in comment --- nyx/menu/actions.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/nyx/menu/actions.py b/nyx/menu/actions.py index 892be90..6be1766 100644 --- a/nyx/menu/actions.py +++ b/nyx/menu/actions.py @@ -56,8 +56,8 @@ def make_actions_menu(): Submenu consisting of... Close Menu New Identity - Pause / Unpause Reset Tor + Pause / Unpause Exit """
@@ -67,10 +67,6 @@ def make_actions_menu(): actions_menu = nyx.menu.item.Submenu('Actions') actions_menu.add(nyx.menu.item.MenuItem('Close Menu', None)) actions_menu.add(nyx.menu.item.MenuItem('New Identity', header_panel.send_newnym)) - - if controller.is_alive(): - actions_menu.add(nyx.menu.item.MenuItem('Stop Tor', controller.close)) - actions_menu.add(nyx.menu.item.MenuItem('Reset Tor', functools.partial(controller.signal, stem.Signal.RELOAD)))
if control.is_paused():
tor-commits@lists.torproject.org