Changeset 95eef00 in sasview for src/sas/sasgui/guiframe/gui_manager.py
- Timestamp:
- Oct 7, 2016 4:05:57 PM (8 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, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- b61bd57
- Parents:
- e6de6b8 (diff), 48b8f6d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/guiframe/gui_manager.py
re6de6b8 r95eef00 1334 1334 self._applications_menu_name = name 1335 1335 1336 def _on_marketplace_click(self, event): 1337 """ 1338 Click event for the help menu item linking to the Marketplace. 1339 """ 1340 import webbrowser 1341 webbrowser.open_new(config.marketplace_url) 1342 1336 1343 def _add_help_menu(self): 1337 1344 """ … … 1339 1346 tutorial PDF and documentation pages. 1340 1347 """ 1341 # Help menu1342 1348 self._help_menu = wx.Menu() 1343 style = self.__gui_style & GUIFRAME.WELCOME_PANEL_ON1344 1349 1345 1350 wx_id = wx.NewId() 1346 1351 self._help_menu.Append(wx_id, '&Documentation', '') 1347 1352 wx.EVT_MENU(self, wx_id, self._onSphinxDocs) 1348 self._help_menu.AppendSeparator()1349 1353 1350 1354 if config._do_tutorial and (IS_WIN or sys.platform == 'darwin'): … … 1352 1356 self._help_menu.Append(wx_id, '&Tutorial', 'Software tutorial') 1353 1357 wx.EVT_MENU(self, wx_id, self._onTutorial) 1354 self._help_menu.AppendSeparator()1355 1356 1358 1357 1359 if config._do_acknowledge: … … 1359 1361 self._help_menu.Append(wx_id, '&Acknowledge', 'Acknowledging SasView') 1360 1362 wx.EVT_MENU(self, wx_id, self._onAcknowledge) 1361 self._help_menu.AppendSeparator()1362 1363 1363 1364 1364 if config._do_aboutbox: … … 1367 1367 self._help_menu.Append(wx_id, '&About', 'Software information') 1368 1368 wx.EVT_MENU(self, wx_id, self._onAbout) 1369 self._help_menu.AppendSeparator() 1370 1369 1370 if config.marketplace_url: 1371 wx_id = wx.NewId() 1372 self._help_menu.Append(wx_id, '&Model marketplace', '') 1373 wx.EVT_MENU(self, wx_id, self._on_marketplace_click) 1371 1374 1372 1375 # Checking for updates
Note: See TracChangeset
for help on using the changeset viewer.