Author: bugman Date: Thu Jul 21 19:15:59 2011 New Revision: 13815 URL: http://svn.gna.org/viewcvs/relax?rev=13815&view=rev Log: The popup menu is not shown if the status.show_gui flag is not set. Modified: branches/gui_testing/gui/pipe_editor.py Modified: branches/gui_testing/gui/pipe_editor.py URL: http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/pipe_editor.py?rev=13815&r1=13814&r2=13815&view=diff ============================================================================== --- branches/gui_testing/gui/pipe_editor.py (original) +++ branches/gui_testing/gui/pipe_editor.py Thu Jul 21 19:15:59 2011 @@ -134,7 +134,8 @@ menu.AppendItem(build_menu_item(menu, parent=self, text="&Associate with a new auto-analysis", icon=icon_16x16.new, fn=self.associate_auto)) # Show the menu. - self.PopupMenu(menu) + if status.show_gui: + self.PopupMenu(menu) # Kill the menu once done. menu.Destroy()