diff --git a/safeeyes/config/locale/safeeyes.pot b/safeeyes/config/locale/safeeyes.pot index d9fe78c..4f84527 100644 --- a/safeeyes/config/locale/safeeyes.pot +++ b/safeeyes/config/locale/safeeyes.pot @@ -557,3 +557,9 @@ msgstr "" msgid "License:" msgstr "" + +msgid "Reset Settings" +msgstr "" + +msgid "Confirm Reset" +msgstr "" diff --git a/safeeyes/plugins/trayicon/plugin.py b/safeeyes/plugins/trayicon/plugin.py index 39766c1..3d2733b 100644 --- a/safeeyes/plugins/trayicon/plugin.py +++ b/safeeyes/plugins/trayicon/plugin.py @@ -582,11 +582,24 @@ class TrayIcon: }, { 'id': 7, + 'label': _('Reset Settings'), + 'enabled': not self.menu_locked, + 'children-display': 'submenu', + 'children': [ + { + 'id': 12, + 'label': _('Confirm Reset'), + 'callback': utility.reset_config, + }, + ] + }, + { + 'id': 8, 'label': _('About'), 'callback': self.show_about, }, { - 'id': 8, + 'id': 9, 'label': _('Quit'), 'enabled': not self.menu_locked, 'callback': self.quit_safe_eyes,