summaryrefslogtreecommitdiff
path: root/grc/gui/Param.py
diff options
context:
space:
mode:
authorjblum2009-07-06 02:28:52 +0000
committerjblum2009-07-06 02:28:52 +0000
commit25c5d91fb7c4b54f1e7d77fd9af213a3675a8339 (patch)
tree317d2e623aa9de602197089dab6dcc4fbb17da6f /grc/gui/Param.py
parenta6396abe127c504f890d0cd45171c46ebfbb0f3d (diff)
downloadgnuradio-25c5d91fb7c4b54f1e7d77fd9af213a3675a8339.tar.gz
gnuradio-25c5d91fb7c4b54f1e7d77fd9af213a3675a8339.tar.bz2
gnuradio-25c5d91fb7c4b54f1e7d77fd9af213a3675a8339.zip
Merged r11309:11357 from grc branch.
Adds notebook cabability to grc and its wxgui windows/controls. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11358 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'grc/gui/Param.py')
-rw-r--r--grc/gui/Param.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/grc/gui/Param.py b/grc/gui/Param.py
index 3029569b4..a11fd9065 100644
--- a/grc/gui/Param.py
+++ b/grc/gui/Param.py
@@ -25,8 +25,7 @@ import gtk
PARAM_MARKUP_TMPL="""\
#set $foreground = $param.is_valid() and 'black' or 'red'
-#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>"""
+<span foreground="$foreground" font_desc="Sans 7.5"><b>$encode($param.get_name()): </b>$encode(repr($param))</span>"""
PARAM_LABEL_MARKUP_TMPL="""\
#set $foreground = $param.is_valid() and 'black' or 'red'