Changeset b1bda35 in sasview


Ignore:
Timestamp:
Sep 28, 2011 9:43:09 AM (13 years ago)
Author:
Jae Cho <jhjcho@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
77a43fb
Parents:
535d9f6
Message:

little fix in comments

Location:
calculatorview/src/sans/perspectives/calculator
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • calculatorview/src/sans/perspectives/calculator/calculator.py

    rec6c520 rb1bda35  
    4949        resolution_help += "resolution of Q in 2D based on the SANS " 
    5050        resolution_help += "instrumental parameter values." 
    51         pyconsole_help = "Python Console from a third party (PyCrust)." 
     51        pyconsole_help = "Python Console." 
    5252        #data_editor_help = "Meta Data Editor" 
    5353        return [("SLD Calculator", sld_help, self.on_calculate_sld), 
     
    5858                          ("SANS Resolution Estimator",  
    5959                        resolution_help, self.on_calculate_resoltuion), 
    60                 ("Python Console", pyconsole_help, self.on_python_console)] 
     60                ("Python Shell", pyconsole_help, self.on_python_console)] 
    6161               
    6262    def on_edit_data(self, event): 
  • calculatorview/src/sans/perspectives/calculator/pyconsole.py

    r861f8317 rb1bda35  
    1717class PyConsole(wx.py.crust.CrustFrame): 
    1818    ## Internal nickname for the window, used by the AUI manager 
    19     window_name = "Python Console" 
     19    window_name = "Python Shell" 
    2020    ## Name to appear on the window title bar 
    21     window_caption = "Python Console" 
     21    window_caption = "Python Shell" 
    2222    ## Flag to tell the AUI manager to put this panel in the center pane 
    2323    CENTER_PANE = False 
    2424    def __init__(self, parent=None, manager=None, 
    25                     title='Python Console by PyCrust',  
     25                    title='Python Shell',  
    2626                    size=(PANEL_WIDTH, PANEL_HEIGHT)): 
    2727        if parent != None: 
    2828            dataDir = parent._default_save_location 
     29        else: 
     30             dataDir = None 
    2931        wx.py.crust.CrustFrame.__init__(self, parent=parent,  
    3032                                        title=title, size=size, 
     
    5254        """ 
    5355        message = ABOUT 
    54         dial = wx.MessageDialog(self, message, 'About Python', 
     56        dial = wx.MessageDialog(self, message, 'About', 
    5557                           wx.OK|wx.ICON_INFORMATION)   
    5658        dial.ShowModal() 
    5759         
    58 ABOUT =  "Welcome to Python 2.5! \n\n" 
    59 ABOUT += "This window uses PyCrust in wx (developed by Patrick K. O'Brien).\n" 
     60ABOUT =  "Welcome to Python %s! \n\n"% sys.version.split()[0] 
     61ABOUT += "This uses PyCrust Shell in wx (developed by Patrick K. O'Brien).\n" 
    6062ABOUT += "If this is your first time using Python, \n" 
    6163ABOUT += "you should definitely check out the tutorial " 
Note: See TracChangeset for help on using the changeset viewer.