Changeset 3db44fb in sasview for src/sas/guiframe
- Timestamp:
- Jun 7, 2015 9:33:19 PM (10 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:
- 4b5fe655
- Parents:
- f06bbf5
- Location:
- src/sas/guiframe
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/guiframe/documentation_window.py
rf06bbf5 r3db44fb 15 15 16 16 class DocumentationWindow(wx.Frame): 17 def __init__(self, parent, id, path, title, size=(850, 540)):17 def __init__(self, parent, id, path, url_instruction, title, size=(850, 540)): 18 18 wx.Frame.__init__(self, parent, id, title, size=size) 19 19 … … 28 28 29 29 file_path = os.path.join(docs_path, path) 30 url = "file:///" + urllib.quote(file_path,'\:') 30 url = "file:///" + urllib.quote(file_path,'\:')+ url_instruction 31 31 32 32 if not os.path.exists(file_path): … … 48 48 def main(): 49 49 app = wx.App() 50 DocumentationWindow(None, -1, "index.html", " Documentation",)50 DocumentationWindow(None, -1, "index.html", "", "Documentation",) 51 51 app.MainLoop() 52 52 -
src/sas/guiframe/gui_manager.py
r5276eeb r3db44fb 44 44 from sas.dataloader.loader import Loader 45 45 from matplotlib import _pylab_helpers 46 from documentation_window import DocumentationWindow 46 47 47 48 def get_app_dir(): … … 2165 2166 # Running SasView "in-place" using run.py means the docs will be in a 2166 2167 # different place than they would otherwise. 2167 from documentation_window import DocumentationWindow 2168 DocumentationWindow(self, -1, "index.html", "General Help") 2168 DocumentationWindow(self, -1, "index.html", "", "SasView Documentation") 2169 2169 2170 2170 def set_manager(self, manager):
Note: See TracChangeset
for help on using the changeset viewer.