Changeset b00086f in sasview for sansguiframe/src
- Timestamp:
- Feb 10, 2012 9:38:00 AM (13 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:
- 664c5a7
- Parents:
- 4a9bce1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansguiframe/src/sans/guiframe/gui_manager.py
rdcb0834 rb00086f 310 310 #self._check_update(None) 311 311 # Register the close event so it calls our own method 312 wx.EVT_CLOSE(self, self. Close)312 wx.EVT_CLOSE(self, self.WindowClose) 313 313 # Register to status events 314 314 self.Bind(EVT_STATUS, self._on_status_event) … … 2089 2089 return False 2090 2090 2091 def Close(self, event=None):2092 """ 2093 Quit the application 2091 def WindowClose(self, event=None): 2092 """ 2093 Quit the application from x icon 2094 2094 """ 2095 2095 flag = self.quit_guiframe() 2096 2096 if flag: 2097 wx.Exit() 2098 sys.exit() 2099 2097 self.Close() 2098 2099 def Close(self, event=None): 2100 """ 2101 Quit the application 2102 """ 2103 wx.Exit() 2104 sys.exit() 2105 2100 2106 def _check_update(self, event=None): 2101 2107 """
Note: See TracChangeset
for help on using the changeset viewer.