Ignore:
Timestamp:
Oct 14, 2011 5:57:28 PM (13 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
64b4f0f
Parents:
8e4a562
Message:

add icon for help window

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fittingview/src/sans/perspectives/fitting/help_panel.py

    rec538c7 r34ffeed  
    2121        contains help info 
    2222        """ 
    23        
     23        from sans.perspectives.fitting import get_data_path as fit_path 
     24        fitting_path = fit_path(media='media') 
     25        ico_file = os.path.join(fitting_path,'ball.ico') 
     26        if os.path.isfile(ico_file): 
     27            self.SetIcon(wx.Icon(ico_file, wx.BITMAP_TYPE_ICO)) 
    2428        splitter = MultiSplitterWindow(self, style=wx.SP_LIVE_UPDATE) 
    2529        rpanel = wx.Panel(splitter, -1) 
     
    6670        self.path_pd = os.path.join(path,"pd_help.html") 
    6771        self.path_sm = os.path.join(path,"smear_computation.html") 
    68         from sans.perspectives.fitting import get_data_path as fit_path 
    69         fitting_path = fit_path(media='media') 
     72        
    7073         
    7174        _html_file = [("load_data_help.html", "Load a File"), 
Note: See TracChangeset for help on using the changeset viewer.