[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r10855 - gnuradio/branches/developers/jblum/grc/grc/sr
From: |
jblum |
Subject: |
[Commit-gnuradio] r10855 - gnuradio/branches/developers/jblum/grc/grc/src/platforms/gui |
Date: |
Wed, 15 Apr 2009 18:37:49 -0600 (MDT) |
Author: jblum
Date: 2009-04-15 18:37:49 -0600 (Wed, 15 Apr 2009)
New Revision: 10855
Modified:
gnuradio/branches/developers/jblum/grc/grc/src/platforms/gui/Param.py
Log:
fix for when repr is blank string
Modified: gnuradio/branches/developers/jblum/grc/grc/src/platforms/gui/Param.py
===================================================================
--- gnuradio/branches/developers/jblum/grc/grc/src/platforms/gui/Param.py
2009-04-16 00:32:26 UTC (rev 10854)
+++ gnuradio/branches/developers/jblum/grc/grc/src/platforms/gui/Param.py
2009-04-16 00:37:49 UTC (rev 10855)
@@ -25,7 +25,7 @@
PARAM_MARKUP_TMPL="""\
#set $foreground = $param.is_valid() and 'black' or 'red'
-#set $value = $param.is_valid() and repr($param) or 'error'
+#set $value = not $param.is_valid() and 'error' or repr($param)
<span foreground="$foreground" font_desc="Sans
7.5"><b>$encode($param.get_name()): </b>$encode($value)</span>"""
PARAM_LABEL_MARKUP_TMPL="""\
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r10855 - gnuradio/branches/developers/jblum/grc/grc/src/platforms/gui,
jblum <=