Skip to content
Permalink
Browse files

Merge pull request #186 from lynxlynxlynx/master

two small usability improvements to the plugin manager & installer
  • Loading branch information
timlinux committed Jul 19, 2012
2 parents 62a51e8 + 7d469db commit d6c0c6dbbcae5a2e6e06a4a46d545ae186de2768
Showing with 10 additions and 1 deletion.
  1. +10 −1 python/plugins/plugin_installer/installer_gui.py
@@ -485,7 +485,16 @@ def addItem(p):
a.setText(2,ver)
a.setToolTip(2,verTip)
a.setText(3,desc)
a.setToolTip(3,descTip)
# split the tooltip into multiple lines when they are too long
tmp = ""
splitTip = ""
for word in descTip.split(" "):
if len(tmp + word) < 80:
tmp = tmp + " " + word
else:
splitTip += tmp + "\n"
tmp = word
a.setToolTip(3, splitTip+tmp)
a.setText(4,p["author"])
if p["homepage"]:
a.setToolTip(4,p["homepage"])

0 comments on commit d6c0c6d

Please sign in to comment.
You can’t perform that action at this time.