commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 02/08: grc: limit tooltip size in block lib


From: git
Subject: [Commit-gnuradio] [gnuradio] 02/08: grc: limit tooltip size in block library
Date: Fri, 5 Feb 2016 22:07:44 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch maint
in repository gnuradio.

commit ee890afd9e32dbb54e3c880c780c288e5a2875f9
Author: Sebastian Koslowski <address@hidden>
Date:   Fri Feb 5 11:48:24 2016 +0100

    grc: limit tooltip size in block library
---
 grc/gui/BlockTreeWindow.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/grc/gui/BlockTreeWindow.py b/grc/gui/BlockTreeWindow.py
index a64dd8c..792d280 100644
--- a/grc/gui/BlockTreeWindow.py
+++ b/grc/gui/BlockTreeWindow.py
@@ -31,6 +31,9 @@ DOC_INDEX = 2
 
 DOC_MARKUP_TMPL = """\
 #if $doc
+#if len($doc) > 1000
+#set $doc = $doc[:1000] + '...'
+#end if
 $encode($doc)#slurp
 #else
 undocumented#slurp



reply via email to

[Prev in Thread] Current Thread [Next in Thread]