Changeset 075526b in sasview
- Timestamp:
- Jul 20, 2011 12:20:20 PM (14 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:
- 36ce0b5
- Parents:
- cb26857
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/gui_manager.py
r60c7011 r075526b 1768 1768 1769 1769 """ 1770 if config._do_tutorial: 1771 try: 1772 #if IS_WIN: 1773 import pdfview 1774 path = config.TUTORIAL_PATH 1775 dialog = pdfview.PDFFrame(None, -1, "Tutorial", path) 1776 #self.SetTopWindow(dialog) 1777 dialog.Show(True) 1778 #else: 1779 # command = "open" 1780 # command += path 1781 # os.system(command) 1782 except: 1783 msg = "This feature requires 'Adobe Acrobat pdf Reader'\n" 1784 msg += "Please install it first (Free from Adobe)..." 1785 wx.MessageBox(msg, 'Error') 1786 #wx.PostEvent(self, StatusEvent(status=msg, info="error")) 1770 if config._do_tutorial: 1771 path = config.TUTORIAL_PATH 1772 if IS_WIN: 1773 try: 1774 import pdfview 1775 1776 dialog = pdfview.PDFFrame(None, -1, "Tutorial", path) 1777 #self.SetTopWindow(dialog) 1778 dialog.Show(True) 1779 except: 1780 msg = "This feature requires 'Adobe Acrobat pdf Reader'\n" 1781 msg += "Please install it first (Free from Adobe)..." 1782 wx.MessageBox(msg, 'Error') 1783 else: 1784 try: 1785 command = "open" 1786 command += path 1787 os.system(command) 1788 except: 1789 msg = "This feature requires 'Preview' Application\n" 1790 msg += "Please install it first..." 1791 wx.MessageBox(msg, 'Error') 1792 1787 1793 1788 1794 def set_manager(self, manager):
Note: See TracChangeset
for help on using the changeset viewer.