Author: bugman Date: Thu Jul 7 12:50:54 2011 New Revision: 13490 URL: http://svn.gna.org/viewcvs/relax?rev=13490&view=rev Log: Updates to the pipe user function pages. Modified: branches/gui_testing/gui/user_functions/pipes.py Modified: branches/gui_testing/gui/user_functions/pipes.py URL: http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/user_functions/pipes.py?rev=13490&r1=13489&r2=13490&view=diff ============================================================================== --- branches/gui_testing/gui/user_functions/pipes.py (original) +++ branches/gui_testing/gui/user_functions/pipes.py Thu Jul 7 12:50:54 2011 @@ -40,20 +40,6 @@ class Pipes(UF_base): """The container class for holding all GUI elements.""" - def create(self, event): - """The pipe.create user function. - - @param event: The wx event. - @type event: wx event - """ - - # Execute the wizard. - wizard = Wiz_window(size_x=600, size_y=400, title=self.get_title('pipe', 'create')) - page = Create_page(wizard, self.gui, self.interpreter) - wizard.add_page(page) - wizard.run() - - def copy(self, event): """The pipe.copy user function. @@ -68,6 +54,20 @@ wizard.run() + def create(self, event): + """The pipe.create user function. + + @param event: The wx event. + @type event: wx event + """ + + # Execute the wizard. + wizard = Wiz_window(size_x=700, size_y=500, title=self.get_title('pipe', 'create')) + page = Create_page(wizard, self.gui, self.interpreter) + wizard.add_page(page) + wizard.run() + + def delete(self, event): """The pipe.delete user function. @@ -112,10 +112,10 @@ """ # The source pipe. - self.pipe_from = self.combo_box(sizer, "The source pipe:", [], tooltip=self.uf._doc_args_dict['pipe_from']) + self.pipe_from = self.combo_box(sizer, "Source pipe:", [], tooltip=self.uf._doc_args_dict['pipe_from']) # The destination pipe. - self.pipe_to = self.input_field(sizer, "The destination pipe name:", tooltip=self.uf._doc_args_dict['pipe_to']) + self.pipe_to = self.input_field(sizer, "Destination pipe name:", tooltip=self.uf._doc_args_dict['pipe_to']) def on_display(self):