mailr16288 - /branches/uf_redesign/gui/pipe_editor.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on May 13, 2012 - 17:31:
Author: bugman
Date: Sun May 13 17:31:12 2012
New Revision: 16288

URL: http://svn.gna.org/viewcvs/relax?rev=16288&view=rev
Log:
Fix for the pipe editor - this window is now the parent for the user 
functions it calls.

Therefore the pipe editor no longer disappears behind the main relax window.


Modified:
    branches/uf_redesign/gui/pipe_editor.py

Modified: branches/uf_redesign/gui/pipe_editor.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/uf_redesign/gui/pipe_editor.py?rev=16288&r1=16287&r2=16288&view=diff
==============================================================================
--- branches/uf_redesign/gui/pipe_editor.py (original)
+++ branches/uf_redesign/gui/pipe_editor.py Sun May 13 17:31:12 2012
@@ -259,15 +259,15 @@
 
         # Launch the respective user functions.
         if event.GetEventObject() == self.button_create:
-            store['pipe.create'](event)
+            store['pipe.create'](event, parent=self)
         elif event.GetEventObject() == self.button_copy:
-            store['pipe.copy'](event)
+            store['pipe.copy'](event, parent=self)
         elif event.GetEventObject() == self.button_delete:
-            store['pipe.delete'](event)
+            store['pipe.delete'](event, parent=self)
         elif event.GetEventObject() == self.button_hybrid:
-            store['pipe.hybridise'](event)
+            store['pipe.hybridise'](event, parent=self)
         elif event.GetEventObject() == self.button_switch:
-            store['pipe.switch'](event)
+            store['pipe.switch'](event, parent=self)
 
 
     def add_logo(self, box):




Related Messages


Powered by MHonArc, Updated Sun May 13 17:40:02 2012