Skip to content

Commit

Permalink
#1735: set application name so we can try to match the notification w…
Browse files Browse the repository at this point in the history
…ith the app that sent it

git-svn-id: https://xpra.org/svn/Xpra/trunk@17996 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Jan 13, 2018
1 parent 806c97a commit 139a700
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/tests/xpra/test_apps/test_system_tray.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,10 @@ def main():
tooltip = "StatusIcon Example"
if len(sys.argv)>=3:
tooltip = sys.argv[2]
StatusIcon(name, tooltip)
gtk.main()
from xpra.platform import program_context
with program_context(name, name):
StatusIcon(name, tooltip)
gtk.main()


if __name__ == "__main__":
Expand Down

0 comments on commit 139a700

Please sign in to comment.