summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené Stadler <mail@renestadler.de>2009-02-23 01:18:42 +0200
committerRené Stadler <mail@renestadler.de>2009-02-23 01:30:59 +0200
commitc3bd2b0fe36f88f7bd83f25bca0c80b110b2a483 (patch)
treeadff323c9b135ab66763c383100533e192fc945b
parent8ae5460f2f1422a2090635b12ee657ecce0238df (diff)
PadsModel: Fix display of ANY caps (the label string was replaced with "1")
This was introduced by a cleanup commit.
-rw-r--r--GstInspector/GUI/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/GstInspector/GUI/models.py b/GstInspector/GUI/models.py
index a31eb4d..3ea71f1 100644
--- a/GstInspector/GUI/models.py
+++ b/GstInspector/GUI/models.py
@@ -153,10 +153,10 @@ class PadsModel (NameValueModel):
# structure.
set_name_value (caps_tree_iter, _("Caps"), None)
if caps.any:
- self.set_name_value (caps_tree_iter, self.COL_VALUE, "ANY")
+ self.set (caps_tree_iter, self.COL_VALUE, "ANY")
continue
elif len (caps) == 0:
- self.set_name_value (caps_tree_iter, self.COL_VALUE, "EMPTY")
+ self.set (caps_tree_iter, self.COL_VALUE, "EMPTY")
continue
for structure in caps:
struct_tree_iter = append (caps_tree_iter)