Author: bugman Date: Mon Jun 11 10:19:08 2012 New Revision: 16838 URL: http://svn.gna.org/viewcvs/relax?rev=16838&view=rev Log: Used some colour for the relax GUI terminating print out asking for citations. Modified: trunk/gui/relax_gui.py Modified: trunk/gui/relax_gui.py URL: http://svn.gna.org/viewcvs/relax/trunk/gui/relax_gui.py?rev=16838&r1=16837&r2=16838&view=diff ============================================================================== --- trunk/gui/relax_gui.py (original) +++ trunk/gui/relax_gui.py Mon Jun 11 10:19:08 2012 @@ -36,6 +36,7 @@ import wx # relax module imports. +import ansi from data import Relax_data_store; ds = Relax_data_store() from data.gui import Gui from info import Info_box @@ -435,16 +436,17 @@ # A printout. text = "\n\nThank you for citing:\n" - text = text + "\n\nrelaxGUI\n========\n\n" + text += "\n\n%srelaxGUI%s\n\n" % (ansi.relax_prompt, ansi.end) for line in wrap(info.bib['Bieri11'].cite_short(), width): - text = text + line + '\n' - text = text + "\n\n\nrelax\n=====\n\n" + text += line + '\n' + text += "\n\n\n%srelax%s\n\n" % (ansi.relax_prompt, ansi.end) for line in wrap(info.bib['dAuvergneGooley08a'].cite_short(), width): - text = text + line + '\n' - text = text + '\n' + text += line + '\n' + text += '\n' for line in wrap(info.bib['dAuvergneGooley08b'].cite_short(), width): - text = text + line + '\n' - text = text + '\n' + text += line + '\n' + text += '\n' + text += '\n' sys.stdout.write(text) # Remove the Mac OS X task bar icon.