Author: bugman Date: Mon Aug 8 11:57:52 2011 New Revision: 14252 URL: http://svn.gna.org/viewcvs/relax?rev=14252&view=rev Log: Deleted the unused dir_message(), exec_relax() and relax_run_ok() message functions. Modified: branches/gui_testing/gui/message.py branches/gui_testing/gui/relax_gui.py Modified: branches/gui_testing/gui/message.py URL: http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/message.py?rev=14252&r1=14251&r2=14252&view=diff ============================================================================== --- branches/gui_testing/gui/message.py (original) +++ branches/gui_testing/gui/message.py Mon Aug 8 11:57:52 2011 @@ -38,10 +38,6 @@ import gui -def dir_message(msg): - wx.MessageBox(msg, style = wx.OK | wx.ICON_INFORMATION) - - def error_message(msg, caption=''): """Message box for general errors. @@ -61,24 +57,6 @@ # Write out. sys.stderr.write(msg + "\n") - - -def exec_relax(): - check = False - startrelax = wx.MessageDialog(None, message = 'Start relax?', style = wx.YES_NO | wx.NO_DEFAULT) - if startrelax.ShowModal() == wx.ID_YES: - check = True - else: - check = False - return check - - -def relax_run_ok(msg1): - """Message box stating that the relax run completed ok.""" - - # Show the message box. - if status.show_gui: - wx.MessageBox(msg1, style = wx.OK) Modified: branches/gui_testing/gui/relax_gui.py URL: http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/relax_gui.py?rev=14252&r1=14251&r2=14252&view=diff ============================================================================== --- branches/gui_testing/gui/relax_gui.py (original) +++ branches/gui_testing/gui/relax_gui.py Mon Aug 8 11:57:52 2011 @@ -57,7 +57,7 @@ from gui.fonts import font from gui.icons import Relax_task_bar_icon, relax_icons from gui.menu import Menu -from gui.message import dir_message, error_message, Question +from gui.message import error_message, Question from gui.misc import open_file from gui import paths from gui.pipe_editor import Pipe_editor