Changeset 5e88e27c in sasview for src/sas/sasgui/guiframe/gui_manager.py
- Timestamp:
- Sep 17, 2018 10:33:08 AM (6 years ago)
- Branches:
- master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, unittest-saveload
- Children:
- 7d3aa9a
- Parents:
- 893d852
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/guiframe/gui_manager.py
r5f08251 r5e88e27c 1276 1276 1277 1277 wx_id = wx.NewId() 1278 self._help_menu.Append(wx_id, '&Documentation', ' ')1278 self._help_menu.Append(wx_id, '&Documentation', 'Help documentation for SasView') 1279 1279 wx.EVT_MENU(self, wx_id, self._onSphinxDocs) 1280 1280 … … 1283 1283 # Pluralised both occurences of 'Tutorial' in the line below 1284 1284 # S King, Sep 2018 1285 self._help_menu.Append(wx_id, '&Tutorials', ' Software tutorials')1285 self._help_menu.Append(wx_id, '&Tutorials', 'Tutorials on how to use SasView') 1286 1286 wx.EVT_MENU(self, wx_id, self._onTutorial) 1287 1288 if config.marketplace_url: 1289 wx_id = wx.NewId() 1290 self._help_menu.Append(wx_id, '&Model marketplace', 'Plug-in fitting models for SasView') 1291 wx.EVT_MENU(self, wx_id, self._on_marketplace_click) 1292 1293 if config._do_release: 1294 wx_id = wx.NewId() 1295 self._help_menu.Append(wx_id, '&Release notes', 1296 'SasView release notes and known issues') 1297 wx.EVT_MENU(self, wx_id, self._onRelease) 1287 1298 1288 1299 if config._do_acknowledge: … … 1295 1306 logger.info("Doing help menu") 1296 1307 wx_id = wx.NewId() 1297 self._help_menu.Append(wx_id, '&About', ' Software information')1308 self._help_menu.Append(wx_id, '&About', 'Information about SasView') 1298 1309 wx.EVT_MENU(self, wx_id, self._onAbout) 1299 1300 if config.marketplace_url:1301 wx_id = wx.NewId()1302 self._help_menu.Append(wx_id, '&Model marketplace', '')1303 wx.EVT_MENU(self, wx_id, self._on_marketplace_click)1304 1310 1305 1311 # Checking for updates … … 2137 2143 import sas.sasgui.guiframe.aboutbox as AboutBox 2138 2144 dialog = AboutBox.DialogAbout(None, -1, "") 2145 dialog.ShowModal() 2146 2147 def _onRelease(self, evt): 2148 """ 2149 Pop up the release notes 2150 2151 :param evt: menu event 2152 2153 """ 2154 if config._do_release: 2155 import sas.sasgui.guiframe.releasebox as ReleaseBox 2156 dialog = ReleaseBox.DialogRelease(None, -1, "") 2139 2157 dialog.ShowModal() 2140 2158
Note: See TracChangeset
for help on using the changeset viewer.