diff options
Diffstat (limited to 'grc/data/platforms/python')
-rw-r--r-- | grc/data/platforms/python/blocks/Makefile.am | 1 | ||||
-rw-r--r-- | grc/data/platforms/python/blocks/preferences.xml | 133 | ||||
-rw-r--r-- | grc/data/platforms/python/flow_graph.tmpl | 3 |
3 files changed, 1 insertions, 136 deletions
diff --git a/grc/data/platforms/python/blocks/Makefile.am b/grc/data/platforms/python/blocks/Makefile.am index de6792602..7f5d0c139 100644 --- a/grc/data/platforms/python/blocks/Makefile.am +++ b/grc/data/platforms/python/blocks/Makefile.am @@ -183,7 +183,6 @@ dist_ourdata_DATA = \ pad_sink.xml \ pad_source.xml \ parameter.xml \ - preferences.xml \ probe_function.xml \ random_source_x.xml \ trellis_encoder_xx.xml \ diff --git a/grc/data/platforms/python/blocks/preferences.xml b/grc/data/platforms/python/blocks/preferences.xml deleted file mode 100644 index 366675c94..000000000 --- a/grc/data/platforms/python/blocks/preferences.xml +++ /dev/null @@ -1,133 +0,0 @@ -<?xml version="1.0"?> -<!-- -################################################### -##Global Preferences: -## This block should not appear in the tree. -################################################### - --> -<block> - <name>Preferences</name> - <key>preferences</key> - <make></make> - <!-- Hidden Prefs --> - <param> - <name>Prefs File</name> - <key>prefs_file</key> - <value>.grc</value> - <type>string</type> - </param> - <param> - <name>Window Prefix</name> - <key>window_prefix</key> - <value>GRC</value> - <type>string</type> - </param> - <param> - <name>File Open</name> - <key>file_open</key> - <value></value> - <type>string</type> - </param> - <param> - <name>Files Open</name> - <key>files_open</key> - <value></value> - <type>string</type> - </param> - <param> - <name>Window Size</name> - <key>window_size</key> - <type>int_vector</type> - </param> - <!-- Snap to Grid --> - <param> - <name>Snap to Grid</name> - <key>snap_to_grid</key> - <value>off</value> - <type>enum</type> - <option> - <name>Off</name> - <key>off</key> - </option> - <option> - <name>On</name> - <key>on</key> - </option> - </param> - <param> - <name>Grid Size</name> - <key>grid_size</key> - <value>20</value> - <type>enum</type> - <option> - <name>10 pixels</name> - <key>10</key> - </option> - <option> - <name>20 pixels</name> - <key>20</key> - </option> - <option> - <name>50 pixels</name> - <key>50</key> - </option> - <option> - <name>100 pixels</name> - <key>100</key> - </option> - </param> - <param> - <name>Show Grid</name> - <key>show_grid</key> - <value>hide</value> - <type>enum</type> - <option> - <name>Show</name> - <key>show</key> - </option> - <option> - <name>Hide</name> - <key>hide</key> - </option> - </param> - <!-- Appearance Prefs --> - <param> - <name>Show Params Labels</name> - <key>show_params</key> - <value>show</value> - <type>enum</type> - <option> - <name>Show</name> - <key>show</key> - </option> - <option> - <name>Hide</name> - <key>hide</key> - </option> - </param> - <!-- Misc Prefs --> - <param> - <name>Restore Open Files</name> - <key>restore_files</key> - <value>yes</value> - <type>enum</type> - <option> - <name>Yes</name> - <key>yes</key> - </option> - <option> - <name>No</name> - <key>no</key> - </option> - </param> - <param> - <name>Reports Window Position</name> - <key>reports_window_position</key> - <type>string</type> - </param> - <param> - <name>Blocks Window Position</name> - <key>blocks_window_position</key> - <type>string</type> - </param> -</block> 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 |