mailr13343 - /branches/gui_testing/gui/components/spin_view.py


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

Header


Content

Posted by edward on June 30, 2011 - 14:19:
Author: bugman
Date: Thu Jun 30 14:19:09 2011
New Revision: 13343

URL: http://svn.gna.org/viewcvs/relax?rev=13343&view=rev
Log:
Added the residue and spin menus to the spin tree window.


Modified:
    branches/gui_testing/gui/components/spin_view.py

Modified: branches/gui_testing/gui/components/spin_view.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/components/spin_view.py?rev=13343&r1=13342&r2=13343&view=diff
==============================================================================
--- branches/gui_testing/gui/components/spin_view.py (original)
+++ branches/gui_testing/gui/components/spin_view.py Thu Jun 30 14:19:09 2011
@@ -878,10 +878,24 @@
 
         # The molecule menu entry.
         menu = wx.Menu()
-        menu.AppendItem(self.gui.menu.build_menu_item(menu, parent=self, 
id=1, text="&copy", icon=paths.icon_16x16.copy, 
fn=self.gui.user_functions.molecule.copy))
+        menu.AppendItem(self.gui.menu.build_menu_item(menu, parent=self, 
text="&copy", icon=paths.icon_16x16.copy, 
fn=self.gui.user_functions.molecule.copy))
         menu.AppendItem(self.gui.menu.build_menu_item(menu, parent=self, 
text="crea&te", icon=paths.icon_16x16.add, 
fn=self.gui.user_functions.molecule.create))
         menu.AppendItem(self.gui.menu.build_menu_item(menu, parent=self, 
text="&delete", icon=paths.icon_16x16.remove, 
fn=self.gui.user_functions.molecule.delete))
         self.menubar.Append(menu, "&molecule")
+
+        # The residue menu entry.
+        menu = wx.Menu()
+        menu.AppendItem(self.gui.menu.build_menu_item(menu, parent=self, 
text="&copy", icon=paths.icon_16x16.copy, 
fn=self.gui.user_functions.residue.copy))
+        menu.AppendItem(self.gui.menu.build_menu_item(menu, parent=self, 
text="crea&te", icon=paths.icon_16x16.add, 
fn=self.gui.user_functions.residue.create))
+        menu.AppendItem(self.gui.menu.build_menu_item(menu, parent=self, 
text="&delete", icon=paths.icon_16x16.remove, 
fn=self.gui.user_functions.residue.delete))
+        self.menubar.Append(menu, "&residue")
+
+        # The spin menu entry.
+        menu = wx.Menu()
+        menu.AppendItem(self.gui.menu.build_menu_item(menu, parent=self, 
id=1, text="&copy", icon=paths.icon_16x16.copy, 
fn=self.gui.user_functions.spin.copy))
+        menu.AppendItem(self.gui.menu.build_menu_item(menu, parent=self, 
text="crea&te", icon=paths.icon_16x16.add, 
fn=self.gui.user_functions.spin.create))
+        menu.AppendItem(self.gui.menu.build_menu_item(menu, parent=self, 
text="&delete", icon=paths.icon_16x16.remove, 
fn=self.gui.user_functions.spin.delete))
+        self.menubar.Append(menu, "&spin")
 
 
     def Show(self, show=True):




Related Messages


Powered by MHonArc, Updated Thu Jun 30 14:40:02 2011