Changeset c3866b8 in sasview for src/sas/guiframe


Ignore:
Timestamp:
Feb 19, 2015 11:03:42 AM (10 years ago)
Author:
krzywon
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:
064723b
Parents:
74d679d (diff), 78bcf3c3 (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.
Message:

Merge branch 'master' of https://github.com/SasView/sasview/

Location:
src/sas/guiframe
Files:
2 edited

Legend:

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

    r573e7034 r78bcf3c3  
    2626            docs_path = os.path.join(PATH_APP, "doc") 
    2727 
     28        file_path = "file:///" + docs_path + "/" + path 
     29 
    2830        if not os.path.exists(docs_path): 
    2931            logging.error("Could not find Sphinx documentation at %s \ 
    3032            -- has it been built?", docs_path) 
    31  
    3233        elif wx_supports_html2: 
    3334            # Complete HTML/CSS support! 
    3435            self.view = html.WebView.New(self) 
    35             self.view.LoadURL("file://" + docs_path + '\\' + path) 
     36            self.view.LoadURL(file_path) 
    3637            self.Show() 
    3738        else:  
     
    4041            #Red hat used at SNS for which Wx 3.0 is not available.  This 
    4142            #does not deal with issue of math in docs of course.  
    42  
    43             webbrowser.open_new_tab("file:///" + docs_path + "/" + path) 
    44             print ("file:///" + docs_path + "/" + path) 
     43            webbrowser.open_new_tab(file_path) 
    4544 
    4645  
  • src/sas/guiframe/gui_manager.py

    rf53cd30 r74d679d  
    13531353        if config._do_acknowledge: 
    13541354            self._help_menu.AppendSeparator() 
     1355            id = wx.NewId() 
    13551356            self._help_menu.Append(id, '&Acknowledge', 'Acknowledging SasView') 
    13561357            wx.EVT_MENU(self, id, self._onAcknowledge) 
    1357          
     1358        ` 
    13581359        if config._do_aboutbox: 
    13591360            self._help_menu.AppendSeparator() 
Note: See TracChangeset for help on using the changeset viewer.