Ignore:
File:
1 edited

Legend:

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

    r4d5c42f r8729965  
    21292129                    logging.error("Error in _onTutorial: %s" % sys.exc_value) 
    21302130                    try: 
    2131                         # Try an alternate method 
    2132                         logging.error("Could not open the tutorial pdf, trying xhtml2pdf") 
    2133                         from xhtml2pdf import pisa 
     2131                        #in case when the pdf default set other than acrobat 
     2132                        import ho.pisa as pisa 
    21342133                        pisa.startViewer(path) 
    21352134                    except: 
    2136                         logging.error("Could not open the tutorial pdf with xhtml2pdf") 
    21372135                        msg = "This feature requires 'PDF Viewer'\n" 
     2136                        msg += "Please install it first (Free)..." 
    21382137                        wx.MessageBox(msg, 'Error') 
    21392138            else: 
     
    21432142                except: 
    21442143                    try: 
    2145                         # Try an alternate method 
    2146                         logging.error("Could not open the tutorial pdf, trying xhtml2pdf") 
    2147                         from xhtml2pdf import pisa 
     2144                        #in case when the pdf default set other than preview 
     2145                        import ho.pisa as pisa 
    21482146                        pisa.startViewer(path) 
    21492147                    except: 
    2150                         logging.error("Could not open the tutorial pdf with xhtml2pdf") 
    2151                         msg = "This feature requires the 'Preview' application\n" 
     2148                        msg = "This feature requires 'Preview' Application\n" 
     2149                        msg += "Please install it first..." 
    21522150                        wx.MessageBox(msg, 'Error') 
    21532151 
     
    21642162        from documentation_window import DocumentationWindow 
    21652163         
    2166         sphinx_doc_viewer = DocumentationWindow(self, -1, "index.html") 
    2167 #        sphinx_doc_viewer.Show() 
    2168  
     2164        sphinx_doc_viewer = DocumentationWindow(self, -1, "index.html", \ 
     2165                                                "General Help") 
    21692166 
    21702167    def set_manager(self, manager): 
Note: See TracChangeset for help on using the changeset viewer.