Changeset d7ee5866 in sasview


Ignore:
Timestamp:
Jul 4, 2017 8:39:30 AM (7 years ago)
Author:
wojciech
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, 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:
7c24685
Parents:
36303ee
Message:

Enforcing default browser for help instead of wx browser

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/guiframe/documentation_window.py

    rd85c194 rd7ee5866  
    7373            logging.error("Could not find Sphinx documentation at %s \ 
    7474            -- has it been built?", file_path) 
    75         elif WX_SUPPORTS_HTML2: 
    76             # Complete HTML/CSS support! 
    77             self.view = html.WebView.New(self) 
    78             self.view.LoadURL(url) 
    79             self.Show() 
     75        #Commenting following 5 lines, so default browser is forced 
     76        #This is due to CDN mathjax discontinuation of service, intenal help 
     77        #browser should be back with qt version 
     78        #Note added by Wojtek Potrzebowski, July 4th 2017 
     79        # elif WX_SUPPORTS_HTML2: 
     80        #     # Complete HTML/CSS support! 
     81        #     self.view = html.WebView.New(self) 
     82        #     self.view.LoadURL(url) 
     83        #     self.Show() 
    8084        else: 
    8185            logging.error("No html2 support, popping up a web browser") 
Note: See TracChangeset for help on using the changeset viewer.