- Timestamp:
- Apr 13, 2009 10:00:45 AM (16 years ago)
- 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:
- 2355e7d
- Parents:
- 45ed4dad
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/gui_manager.py
r445f949 r1b70098 194 194 filemode='w') 195 195 196 path = os.path.dirname(__file__) 197 ico_file = os.path.join(path,'images/ball.ico') 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') 198 199 if os.path.isfile(ico_file): 199 200 self.SetIcon(wx.Icon(ico_file, wx.BITMAP_TYPE_ICO)) 200 201 else: 201 ico_file = os.path.join(os.getcwd(),' images/ball.ico')202 ico_file = os.path.join(os.getcwd(),'ball.ico') 202 203 if os.path.isfile(ico_file): 203 204 self.SetIcon(wx.Icon(ico_file, wx.BITMAP_TYPE_ICO)) … … 391 392 Name(p.window_name).Caption(p.window_caption). 392 393 CenterPane(). 393 BestSize(wx.Size( 600,600)).394 BestSize(wx.Size(550,600)). 394 395 MinSize(wx.Size(500,500)). 395 396 Hide()) … … 407 408 MinimizeButton(). 408 409 Hide(). 409 BestSize(wx.Size( 600,600)).410 BestSize(wx.Size(550,600)). 410 411 MinSize(wx.Size(500,500))) 411 412 … … 464 465 #Hide(). 465 466 #Show(). 466 BestSize(wx.Size( 600,600)).467 BestSize(wx.Size(550,600)). 467 468 MinSize(wx.Size(500,500))) 468 469 #BestSize(wx.Size(400,400)).
Note: See TracChangeset
for help on using the changeset viewer.