mailr15778 - in /1.3/gui: paths.py relax_gui.py


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

Header


Content

Posted by edward on April 17, 2012 - 20:16:
Author: bugman
Date: Tue Apr 17 20:16:17 2012
New Revision: 15778

URL: http://svn.gna.org/viewcvs/relax?rev=15778&view=rev
Log:
Added the relax prompt icon to the main GUI window toolbar.


Modified:
    1.3/gui/paths.py
    1.3/gui/relax_gui.py

Modified: 1.3/gui/paths.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/gui/paths.py?rev=15778&r1=15777&r2=15778&view=diff
==============================================================================
--- 1.3/gui/paths.py (original)
+++ 1.3/gui/paths.py Tue Apr 17 20:16:17 2012
@@ -175,6 +175,7 @@
         self.zoom_in =              path + 'actions'    + sep + 'zoom-in.png'
         self.zoom_original =        path + 'actions'    + sep + 
'zoom-original.png'
         self.zoom_out =             path + 'actions'    + sep + 
'zoom-out.png'
+        self.relax_prompt =         path + 'mimetypes'  + sep + 
'application-x-executable-script.png'
 
         # relax icons.
         path = ICON_RELAX_PATH + '22x22' + sep

Modified: 1.3/gui/relax_gui.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/gui/relax_gui.py?rev=15778&r1=15777&r2=15778&view=diff
==============================================================================
--- 1.3/gui/relax_gui.py (original)
+++ 1.3/gui/relax_gui.py Tue Apr 17 20:16:17 2012
@@ -784,6 +784,11 @@
         self.toolbar.AddLabelTool(self.TB_VIEW_PIPE_EDIT, "Data pipe 
editor", wx.Bitmap(paths.icon_22x22.pipe, wx.BITMAP_TYPE_ANY), 
shortHelp="Data pipe editor")
         self.Bind(wx.EVT_TOOL, self.show_pipe_editor, 
id=self.TB_VIEW_PIPE_EDIT)
 
+        # The relax prompt button.
+        self.TB_VIEW_PROMPT = wx.NewId()
+        self.toolbar.AddLabelTool(self.TB_VIEW_PROMPT, "relax prompt", 
wx.Bitmap(paths.icon_22x22.relax_prompt, wx.BITMAP_TYPE_ANY), shortHelp="The 
relax prompt GUI window")
+        self.Bind(wx.EVT_TOOL, self.show_prompt, id=self.TB_VIEW_PROMPT)
+
         # Build the toolbar.
         self.toolbar.Realize()
 




Related Messages


Powered by MHonArc, Updated Wed Apr 18 14:40:02 2012