Skip to content

Commit

Permalink
NotifyIcon's main requires argv
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Sep 20, 2023
1 parent dccd583 commit 037c1b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xpra/platform/win32/balloon.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,9 @@ def notify(hwnd, app_id:int, title:str, message:str, timeout:int=5000, icon=None
log("notify using %s", Shell_NotifyIconA)

def main():
import sys
from xpra.platform.win32.NotifyIcon import main as notifyicon_main
notifyicon_main()
notifyicon_main(sys.argv)

if __name__=='__main__':
main()

0 comments on commit 037c1b5

Please sign in to comment.