summaryrefslogtreecommitdiff
path: root/grc/gui
diff options
context:
space:
mode:
authorClayton Smith <argilo@gmail.com>2021-09-27 11:46:11 -0400
committermormj <34754695+mormj@users.noreply.github.com>2021-10-01 07:29:49 -0400
commit64a6f07f20ca7921da021b2a943968d89489ffa6 (patch)
treebea2a3825bea06d830b9f9a31db62b9b7abfe765 /grc/gui
parent59d04f4a19e54550b192d5d03f78a8307597c5cf (diff)
grc: Fix category and module tooltips
Category and module tooltips have been broken since GNU Radio 3.8. The _format_cat_tooltip function expects a tuple representing the module & category hierarchy, but a single string is passed in. As a result, everyhing is treated as a category, and only the last letter of the category or module name is displayed. I've fixed the problem by passing in the full tuple instead. Signed-off-by: Clayton Smith <argilo@gmail.com>
Diffstat (limited to 'grc/gui')
-rw-r--r--grc/gui/BlockTreeWindow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/gui/BlockTreeWindow.py b/grc/gui/BlockTreeWindow.py
index a52739e0e8..2f359f8c43 100644
--- a/grc/gui/BlockTreeWindow.py
+++ b/grc/gui/BlockTreeWindow.py
@@ -153,7 +153,7 @@ class BlockTreeWindow(Gtk.VBox):
iter_ = treestore.insert_before(categories[parent_category[:-1]], None)
treestore.set_value(iter_, NAME_INDEX, parent_cat_name)
treestore.set_value(iter_, KEY_INDEX, '')
- treestore.set_value(iter_, DOC_INDEX, _format_cat_tooltip(parent_cat_name))
+ treestore.set_value(iter_, DOC_INDEX, _format_cat_tooltip(parent_category))
categories[parent_category] = iter_
# add block
iter_ = treestore.insert_before(categories[category], None)