Author: bugman Date: Mon Apr 16 15:22:50 2012 New Revision: 15727 URL: http://svn.gna.org/viewcvs/relax?rev=15727&view=rev Log: Improved the spin data deletion messages from the spin viewer window. Modified: 1.3/gui/spin_viewer/tree.py Modified: 1.3/gui/spin_viewer/tree.py URL: http://svn.gna.org/viewcvs/relax/1.3/gui/spin_viewer/tree.py?rev=15727&r1=15726&r2=15727&view=diff ============================================================================== --- 1.3/gui/spin_viewer/tree.py (original) +++ 1.3/gui/spin_viewer/tree.py Mon Apr 16 15:22:50 2012 @@ -243,8 +243,8 @@ """ # Ask if this should be done. - msg = "Are you sure you would like to delete this molecule? This operation cannot be undone." - if status.show_gui and Question(msg, parent=self.gui.spin_viewer, default=False, size=(350, 150)).ShowModal() == wx.ID_NO: + msg = "Are you sure you would like to delete this molecule? This only affects the spin data, all structural data will remain. This operation cannot be undone." + if status.show_gui and Question(msg, parent=self.gui.spin_viewer, default=False, size=(400, 170)).ShowModal() == wx.ID_NO: return # Delete the molecule. @@ -262,8 +262,8 @@ """ # Ask if this should be done. - msg = "Are you sure you would like to delete this residue? This operation cannot be undone." - if status.show_gui and Question(msg, parent=self.gui.spin_viewer, default=False, size=(350, 150)).ShowModal() == wx.ID_NO: + msg = "Are you sure you would like to delete this residue? This only affects the spin data, all structural data will remain. This operation cannot be undone." + if status.show_gui and Question(msg, parent=self.gui.spin_viewer, default=False, size=(400, 170)).ShowModal() == wx.ID_NO: return # Delete the residue. @@ -281,8 +281,8 @@ """ # Ask if this should be done. - msg = "Are you sure you would like to delete this spin? This operation cannot be undone." - if status.show_gui and Question(msg, parent=self.gui.spin_viewer, default=False, size=(350, 150)).ShowModal() == wx.ID_NO: + msg = "Are you sure you would like to delete this spin? This only affects the spin data, all structural data will remain. This operation cannot be undone." + if status.show_gui and Question(msg, parent=self.gui.spin_viewer, default=False, size=(400, 170)).ShowModal() == wx.ID_NO: return # Delete the spin.