diff options
author | Tom Rondeau | 2011-03-15 13:46:02 -0400 |
---|---|---|
committer | Tom Rondeau | 2011-03-15 13:46:02 -0400 |
commit | 338b01e7b5ecad7e324098a2671d3fa650be035e (patch) | |
tree | 247b61f2fbfdadc6ce4f39ad2f637a22cd3163ae /grc/gui/NotebookPage.py | |
parent | 1ecc511ad673f37498ebc29147c776ca9b4b6490 (diff) | |
parent | b4bd3e47189932b42ce821bb7076fce811b3e3eb (diff) | |
download | gnuradio-338b01e7b5ecad7e324098a2671d3fa650be035e.tar.gz gnuradio-338b01e7b5ecad7e324098a2671d3fa650be035e.tar.bz2 gnuradio-338b01e7b5ecad7e324098a2671d3fa650be035e.zip |
Merge branch 'next' of gnuradio.org:gnuradio into next
Diffstat (limited to 'grc/gui/NotebookPage.py')
-rw-r--r-- | grc/gui/NotebookPage.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/grc/gui/NotebookPage.py b/grc/gui/NotebookPage.py index fddfeaf5f..86b6f1513 100644 --- a/grc/gui/NotebookPage.py +++ b/grc/gui/NotebookPage.py @@ -1,5 +1,5 @@ """ -Copyright 2008, 2009 Free Software Foundation, Inc. +Copyright 2008, 2009, 2011 Free Software Foundation, Inc. This file is part of GNU Radio GNU Radio Companion is free software; you can redistribute it and/or @@ -40,7 +40,7 @@ class NotebookPage(gtk.HBox): @param file_path path to a flow graph file """ self._flow_graph = flow_graph - self.set_pid(None) + self.set_proc(None) #import the file self.main_window = main_window self.set_file_path(file_path) @@ -119,19 +119,19 @@ class NotebookPage(gtk.HBox): """ return self.tab - def get_pid(self): + def get_proc(self): """ - Get the pid for the flow graph. - @return the pid number + Get the subprocess for the flow graph. + @return the subprocess object """ - return self.pid + return self.process - def set_pid(self, pid): + def set_proc(self, process): """ - Set the pid number. - @param pid the new pid number + Set the subprocess object. + @param process the new subprocess """ - self.pid = pid + self.process = process def get_flow_graph(self): """ |