Author: bugman Date: Thu Jul 28 08:57:57 2011 New Revision: 13938 URL: http://svn.gna.org/viewcvs/relax?rev=13938&view=rev Log: The about windows now have titles (this makes the windows identifiable). Modified: branches/gui_testing/gui/about.py branches/gui_testing/gui/relax_gui.py Modified: branches/gui_testing/gui/about.py URL: http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/about.py?rev=13938&r1=13937&r2=13938&view=diff ============================================================================== --- branches/gui_testing/gui/about.py (original) +++ branches/gui_testing/gui/about.py Thu Jul 28 08:57:57 2011 @@ -492,6 +492,9 @@ def build_widget(self): """Build the about dialog.""" + # The title. + self.SetTitle("About relax GUI") + # The image. bitmap = wx.Bitmap(IMAGE_PATH+'start.png', wx.BITMAP_TYPE_ANY) @@ -514,7 +517,7 @@ # Spacer size (px). border = 10 - def __init__(self, parent=None, id=-1, title=''): + def __init__(self, parent=None, id=-1, title="About relax"): """Build the dialog.""" # Initialise the program information container. Modified: branches/gui_testing/gui/relax_gui.py URL: http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/relax_gui.py?rev=13938&r1=13937&r2=13938&view=diff ============================================================================== --- branches/gui_testing/gui/relax_gui.py (original) +++ branches/gui_testing/gui/relax_gui.py Thu Jul 28 08:57:57 2011 @@ -167,7 +167,7 @@ """ # Build the dialog. - dialog = About_relax(None, -1, "") + dialog = About_relax(None, -1) # The dialog. if status.show_gui: