Changeset 3db44fb in sasview for src/sas/guiframe/gui_manager.py


Ignore:
Timestamp:
Jun 7, 2015 7:33:19 PM (9 years ago)
Author:
butler
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
Message:

1) Fixed second issue that was caused by the recent cleanup of
DocumentationWindow?: loading html at anchor point for context help
(broken). In order to preserve the cleanup, the class was refactored to
take another parameter: html instruction string. This keeps it general
to accept not only the # anchor but alos queries of all sorts in the
future. Thus all modules using this class were also edited to match.

2) in process of editing the dozen or so instances did a bit of code
cleanup and pylint cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/guiframe/gui_manager.py

    r5276eeb r3db44fb  
    4444from sas.dataloader.loader import Loader 
    4545from matplotlib import _pylab_helpers 
     46from documentation_window import DocumentationWindow 
    4647 
    4748def get_app_dir(): 
     
    21652166        # Running SasView "in-place" using run.py means the docs will be in a 
    21662167        # 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") 
    21692169 
    21702170    def set_manager(self, manager): 
Note: See TracChangeset for help on using the changeset viewer.