1
0
mirror of https://github.com/slgobinath/SafeEyes.git synced 2025-01-01 00:47:31 +01:00

Fix disable time in tray icon

This commit is contained in:
Gobinath 2017-05-16 13:00:06 -04:00
parent c03033f33d
commit 98dd4ed760

View File

@ -188,6 +188,8 @@ class TrayIcon:
message = self.language['messages']['next_break_at'].format(formatted_time)
if self.config.get('show_time_in_tray', False):
self.indicator.set_label(formatted_time, '')
else:
self.indicator.set_label('', '')
Utility.execute_main_thread(self.item_info.set_label, message)
def on_enable_clicked(self, *args):