Skip to content

Commit 433b58e

Browse files
committed
todo
1 parent 939fc32 commit 433b58e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

smct/tray.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,19 @@
55
from pystray import MenuItem as item
66

77
from smct import config, multimonitortool, paths, registry, ui_strings
8+
from smct.logger import log
89

910
ICON = None
1011

12+
menu = None
13+
1114

1215
def save_mmt_config_clicked():
1316
multimonitortool.save_mmt_config()
1417

1518

1619
def icon_tray_clicked():
20+
log("icon_tray_clicked")
1721
if multimonitortool.is_selected_monitor_enabled():
1822
multimonitortool.disable_monitor()
1923
ICON.icon = get_icon_image(False)
@@ -39,7 +43,7 @@ def startup_with_windows_clicked(icon):
3943
registry.add_to_autostart()
4044
else:
4145
registry.remove_from_autostart()
42-
46+
# TODO: This freezes the app i think
4347
new_menu = (
4448
item(
4549
ui_strings.STARTUP_WITH_WINDOWS,

0 commit comments

Comments
 (0)