Changeset 7a54730 in sasview for src


Ignore:
Timestamp:
May 7, 2014 2:14:34 PM (11 years ago)
Author:
Mathieu Doucet <doucetm@…>
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:
17c62b6
Parents:
c81aa18
Message:

Remove extra quit menu item on OSX. Re #256

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sans/guiframe/gui_manager.py

    rc81aa18 r7a54730  
    15211521                        'Save state of the current active analysis panel') 
    15221522            wx.EVT_MENU(self, id, self._on_save_application) 
     1523        if not sys.platform =='darwin': 
    15231524            self._file_menu.AppendSeparator() 
    1524         id = wx.NewId() 
    1525         self._file_menu.Append(id, '&Quit', 'Exit')  
    1526         wx.EVT_MENU(self, id, self.Close) 
     1525            id = wx.NewId() 
     1526            self._file_menu.Append(id, '&Quit', 'Exit')  
     1527            wx.EVT_MENU(self, id, self.Close) 
    15271528         
    15281529    def _add_menu_file(self): 
Note: See TracChangeset for help on using the changeset viewer.