summaryrefslogtreecommitdiff
path: root/grc/data/platforms/python/flow_graph.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'grc/data/platforms/python/flow_graph.tmpl')
-rw-r--r--grc/data/platforms/python/flow_graph.tmpl3
1 files changed, 1 insertions, 2 deletions
diff --git a/grc/data/platforms/python/flow_graph.tmpl b/grc/data/platforms/python/flow_graph.tmpl
index 6bf79fc8b..98feb4a95 100644
--- a/grc/data/platforms/python/flow_graph.tmpl
+++ b/grc/data/platforms/python/flow_graph.tmpl
@@ -41,7 +41,6 @@ $imp
#set $class_name = $flow_graph.get_option('id')
#set $param_str = ', '.join(['self'] + ['%s=%s'%(param.get_id(), param.get_make()) for param in $parameters])
#if $generate_options == 'wx_gui'
- #from gnuradio.grc.gui import Preferences
#import gtk
#set $icon = gtk.IconTheme().lookup_icon('gnuradio-grc', 32, 0)
class $(class_name)(grc_wxgui.top_block_gui):
@@ -49,7 +48,7 @@ class $(class_name)(grc_wxgui.top_block_gui):
def __init__($param_str):
grc_wxgui.top_block_gui.__init__(
self,
- title="$Preferences.window_prefix() - Executing: $flow_graph.get_option('title')",
+ title="$flow_graph.get_parent().get_name() - Executing: $flow_graph.get_option('title')",
#if $icon
icon="$icon.get_filename()",
#end if