Changeset 707c6be in sasview for src/sas/guiframe


Ignore:
Timestamp:
Feb 17, 2015 9:48:47 AM (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:
00323d6
Parents:
8729965 (diff), 3ef5b2f (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.git

Location:
src/sas/guiframe
Files:
2 edited

Legend:

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

    r8729965 r707c6be  
    21292129                    logging.error("Error in _onTutorial: %s" % sys.exc_value) 
    21302130                    try: 
    2131                         #in case when the pdf default set other than acrobat 
    2132                         import ho.pisa as pisa 
     2131                        # Try an alternate method 
     2132                        logging.error("Could not open the tutorial pdf, trying xhtml2pdf") 
     2133                        from xhtml2pdf import pisa 
    21332134                        pisa.startViewer(path) 
    21342135                    except: 
     2136                        logging.error("Could not open the tutorial pdf with xhtml2pdf") 
    21352137                        msg = "This feature requires 'PDF Viewer'\n" 
    2136                         msg += "Please install it first (Free)..." 
    21372138                        wx.MessageBox(msg, 'Error') 
    21382139            else: 
     
    21422143                except: 
    21432144                    try: 
    2144                         #in case when the pdf default set other than preview 
    2145                         import ho.pisa as pisa 
     2145                        # Try an alternate method 
     2146                        logging.error("Could not open the tutorial pdf, trying xhtml2pdf") 
     2147                        from xhtml2pdf import pisa 
    21462148                        pisa.startViewer(path) 
    21472149                    except: 
    2148                         msg = "This feature requires 'Preview' Application\n" 
    2149                         msg += "Please install it first..." 
     2150                        logging.error("Could not open the tutorial pdf with xhtml2pdf") 
     2151                        msg = "This feature requires the 'Preview' application\n" 
    21502152                        wx.MessageBox(msg, 'Error') 
    21512153 
  • src/sas/guiframe/local_perspectives/data_loader/data_loader.py

    rb45cde3 r8729965  
    5757        Show a general help dialog.  
    5858        """ 
    59         from help_panel import  HelpWindow 
    60         frame = HelpWindow(None, -1)  
    61         if hasattr(frame, "IsIconized"): 
    62             if not frame.IsIconized(): 
    63                 try: 
    64                     icon = self.parent.GetIcon() 
    65                     frame.SetIcon(icon) 
    66                 except: 
    67                     pass   
    68         frame.Show(True) 
     59#        from documentation_window import DocumentationWindow      
     60#        _sphinx_doc_viewer = DocumentationWindow(self, -1, "/user/guiframe/ \ 
     61#            data_explorer_help.html", "DataLoader Help") 
     62#        from help_panel import  HelpWindow 
     63#        frame = HelpWindow(None, -1)  
     64#        if hasattr(frame, "IsIconized"): 
     65#            if not frame.IsIconized(): 
     66#                try: 
     67#                    icon = self.parent.GetIcon() 
     68#                    frame.SetIcon(icon) 
     69#                except: 
     70#                    pass   
     71#        frame.Show(True) 
    6972         
    7073    def populate_file_menu(self): 
Note: See TracChangeset for help on using the changeset viewer.