Changeset 41eee5f in sasview
- Timestamp:
- Jun 5, 2015 9:40:56 AM (9 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:
- db41746
- Parents:
- 90662e6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/guiframe/documentation_window.py
r90662e6 r41eee5f 26 26 docs_path = os.path.join(get_app_dir(), "doc") 27 27 28 file_path = "file:///" + docs_path + "/" + path28 file_path = os.path.join(docs_path, path) 29 29 30 30 if not os.path.exists(file_path): … … 34 34 # Complete HTML/CSS support! 35 35 self.view = html.WebView.New(self) 36 self.view.LoadURL( file_path)36 self.view.LoadURL("file://" + file_path) 37 37 self.Show() 38 38 else: … … 42 42 #Red hat used at SNS for which Wx 3.0 is not available. This 43 43 #does not deal with issue of math in docs of course. 44 webbrowser.open_new_tab( file_path)44 webbrowser.open_new_tab("file://" + file_path) 45 45 46 46 def main():
Note: See TracChangeset
for help on using the changeset viewer.