commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] [gnuradio] 08/15: grc: remove [] around categories in


From: git
Subject: [Commit-gnuradio] [gnuradio] 08/15: grc: remove [] around categories in the block library
Date: Wed, 10 Feb 2016 15:44:47 +0000 (UTC)

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

jcorgan pushed a commit to branch master
in repository gnuradio.

commit 857540a6b8ef60c8e44ab575228f326c5b01d4e6
Author: Sebastian Koslowski <address@hidden>
Date:   Sun Jan 31 22:03:20 2016 +0100

    grc: remove [] around categories in the block library
---
 grc/gui/BlockTreeWindow.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/grc/gui/BlockTreeWindow.py b/grc/gui/BlockTreeWindow.py
index a64dd8c..b76718e 100644
--- a/grc/gui/BlockTreeWindow.py
+++ b/grc/gui/BlockTreeWindow.py
@@ -136,7 +136,7 @@ class BlockTreeWindow(gtk.VBox):
             sub_category = category[:i+1]
             if sub_category not in categories:
                 iter = treestore.insert_before(categories[sub_category[:-1]], 
None)
-                treestore.set_value(iter, NAME_INDEX, '[ %s ]'%cat_name)
+                treestore.set_value(iter, NAME_INDEX, cat_name)
                 treestore.set_value(iter, KEY_INDEX, '')
                 treestore.set_value(iter, DOC_INDEX, 
Utils.parse_template(CAT_MARKUP_TMPL, cat=cat_name))
                 categories[sub_category] = iter



reply via email to

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