\r
def refresh_status():\r
if interface_root is not None and interface_root.state == "normal":\r
+ logger.debug("Refreshing UI")\r
if status_label is not None:\r
status_label.config(text="PowerPoint status: " + ("not " if not STATE["connected"] else "") + "connected")\r
if http_label is not None:\r
reset_http_button = ttk.Button(self, text="Restart", command=restart_http)\r
reset_http_button.place(x=300, y=30)\r
\r
- reset_ws_button = ttk.Button(self, text="Restart", command=null_action)\r
- reset_ws_button.place(x=300, y=50)\r
+ #reset_ws_button = ttk.Button(self, text="Restart", command=null_action)\r
+ #reset_ws_button.place(x=300, y=50)\r
\r
status_label = ttk.Label(self)\r
status_label.place(x=10,y=10)\r
def refresh_menu():\r
icon.menu = (pystray.MenuItem("Status: " + "dis"*(not STATE["connected"]) + "connected", lambda: null_action(), enabled=False),\r
pystray.MenuItem("Stop", lambda: exit_action(icon)),\r
- pystray.MenuItem("Settings", lambda: open_settings())\r
+ pystray.MenuItem("Settings", lambda: open_settings(), enabled=False)\r
)\r
\r
def show_icon():\r