Changeset c44e7cc in sasview


Ignore:
Timestamp:
Apr 21, 2009 8:19:08 PM (15 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:
d9d68ba
Parents:
189a609
Message:

icone fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guiframe/gui_manager.py

    r1b70098 rc44e7cc  
    193193                    filename='sans_app.log', 
    194194                    filemode='w')         
    195          
    196         path_up = os.path.dirname(__file__) 
    197         path = ico_file = os.path.join(path_up,'images') 
    198         ico_file = os.path.join(path,'ball.ico') 
     195        path = os.path.dirname(__file__) 
     196        temp_path= os.path.join(path,'images') 
     197        ico_file = os.path.join(temp_path,'ball.ico') 
    199198        if os.path.isfile(ico_file): 
    200199            self.SetIcon(wx.Icon(ico_file, wx.BITMAP_TYPE_ICO)) 
    201200        else: 
    202             ico_file = os.path.join(os.getcwd(),'ball.ico') 
     201            temp_path= os.path.join(os.getcwd(),'images') 
     202            ico_file = os.path.join(temp_path,'ball.ico') 
    203203            if os.path.isfile(ico_file): 
    204204                self.SetIcon(wx.Icon(ico_file, wx.BITMAP_TYPE_ICO)) 
Note: See TracChangeset for help on using the changeset viewer.