diff options
author | jblum | 2008-09-28 03:35:21 +0000 |
---|---|---|
committer | jblum | 2008-09-28 03:35:21 +0000 |
commit | 0174f42a56c3e95008ffc6a9771f2bb2d155f0f5 (patch) | |
tree | 12dc3767a96b89d4e428e44691f01b4ef9e24d99 /grc/data/platforms/python | |
parent | ff9c2110d832a0d3b097eab9ca31562f91566404 (diff) | |
download | gnuradio-0174f42a56c3e95008ffc6a9771f2bb2d155f0f5.tar.gz gnuradio-0174f42a56c3e95008ffc6a9771f2bb2d155f0f5.tar.bz2 gnuradio-0174f42a56c3e95008ffc6a9771f2bb2d155f0f5.zip |
freedesktop
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9668 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'grc/data/platforms/python')
-rw-r--r-- | grc/data/platforms/python/flow_graph.tmpl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/grc/data/platforms/python/flow_graph.tmpl b/grc/data/platforms/python/flow_graph.tmpl index 0d02d258e..6bf79fc8b 100644 --- a/grc/data/platforms/python/flow_graph.tmpl +++ b/grc/data/platforms/python/flow_graph.tmpl @@ -41,15 +41,18 @@ $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.platforms.base.Constants import DATA_DIR #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): def __init__($param_str): grc_wxgui.top_block_gui.__init__( self, title="$Preferences.window_prefix() - Executing: $flow_graph.get_option('title')", - icon="$(os.path.join($DATA_DIR, 'grc-icon-32.png'))", + #if $icon + icon="$icon.get_filename()", + #end if ) #elif $generate_options == 'no_gui' class $(class_name)(gr.top_block): |