Author: bugman
Date: Tue Feb 3 16:50:56 2015
New Revision: 27484
URL: http://svn.gna.org/viewcvs/relax?rev=27484&view=rev
Log:
Reverted r27481, the naming of Wizard windows. Names are not necessary they
already have titles.
The command used was:
svn merge -r27481:r27480 .
.....
r27481 | bugman | 2015-02-03 16:44:21 +0100 (Tue, 03 Feb 2015) | 5 lines
Changed paths:
M /trunk/gui/wizards/wiz_objects.py
Wizard window objects in the GUI can now be named.
This will help with debugging the GUI memory usage.
.....
Modified:
trunk/gui/wizards/wiz_objects.py
Modified: trunk/gui/wizards/wiz_objects.py
URL:
http://svn.gna.org/viewcvs/relax/trunk/gui/wizards/wiz_objects.py?rev=27484&r1=27483&r2=27484&view=diff
==============================================================================
--- trunk/gui/wizards/wiz_objects.py (original)
+++ trunk/gui/wizards/wiz_objects.py Tue Feb 3 16:50:56 2015
@@ -1,6 +1,6 @@
###############################################################################
# #
-# Copyright (C) 2010-2015 Edward d'Auvergne #
+# Copyright (C) 2010-2014 Edward d'Auvergne #
# #
# This file is part of the program relax (http://www.nmr-relax.com). #
# #
@@ -366,11 +366,9 @@
TEXT_SKIP = " Skip"
- def __init__(self, name=None, parent=None, size_x=400, size_y=400,
title='', border=10, style=wx.DEFAULT_DIALOG_STYLE):
+ def __init__(self, parent=None, size_x=400, size_y=400, title='',
border=10, style=wx.DEFAULT_DIALOG_STYLE):
"""Set up the window.
- @keyword name: The identifying name of the wizard window.
- @type name: str or None
@keyword parent: The parent window.
@type parent: wx.Window instance
@keyword size_x: The width of the wizard.
@@ -389,7 +387,6 @@
self._size_x = size_x
self._size_y = size_y
self._border = border
- self.name = name
# Execute the base class method.
wx.Dialog.__init__(self, parent, id=-1, title=title, style=style)
_______________________________________________
relax (http://www.nmr-relax.com)
This is the relax-commits mailing list
[email protected]
To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits