Skip to content

Commit

Permalink
#2528 use 'endpoint' info string instead of 'target' attribute, so we…
Browse files Browse the repository at this point in the history
… get a more helpful string with some ssh backends

git-svn-id: https://xpra.org/svn/Xpra/trunk@24824 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Dec 29, 2019
1 parent 50720b8 commit a60fb2b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/xpra/client/mixins/tray.py
Expand Up @@ -131,7 +131,8 @@ def get_tray_title(self):
if p:
conn = getattr(p, "_conn", None)
if conn:
t.append(bytestostr(conn.target))
cinfo = conn.get_info()
t.append(cinfo.get("endpoint", bytestostr(conn.target)))
if not t:
t.insert(0, "Xpra")
v = "\n".join(t)
Expand Down

0 comments on commit a60fb2b

Please sign in to comment.