--- a/ui.py Sun Jan 21 12:04:24 2018 +0000 +++ b/ui.py Sun Jan 21 12:10:57 2018 +0000 @@ -7,6 +7,7 @@ import datetime import logging from threading import Lock, Timer +from config import settings import objc INACTIVE=0 @@ -136,8 +137,9 @@ menu.append(item) state=combine_state(state, this_state) - menu_quit=rumps.MenuItem("Quit...", callback=self.my_quit) - menu.append(menu_quit) + if not settings['no_quit_menu_entry']: + menu_quit=rumps.MenuItem("Quit...", callback=self.my_quit) + menu.append(menu_quit) return menu, state