Changeset 53087f2 in sasview for guiframe/welcome_panel.py
- Timestamp:
- Feb 6, 2009 2:26:19 PM (16 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:
- 0b92f4f4
- Parents:
- 7a28ba7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/welcome_panel.py
rd468daa r53087f2 82 82 self.label_copyright = wx.StaticText(self, -1, config._copyright) 83 83 self.label_author = wx.StaticText(self, -1, "authors") 84 self.hyperlink = wx.lib.hyperlink.HyperLinkCtrl(self, -1, config._homepage, URL=config._homepage) 84 self.hyperlink = wx.StaticText(self, -1, str(config._homepage)) 85 #self.hyperlink = wx.lib.hyperlink.HyperLinkCtrl(self, -1, config._homepage, URL=config._homepage) 85 86 #self.hyperlink_license = wx.lib.hyperlink.HyperLinkCtrl(self, -1, "Comments? Bugs? Requests?", URL=config._paper) 86 87 self.hyperlink_license = wx.StaticText(self, -1, "Comments? Bugs? Requests?") 87 self.hyperlink_paper = wx.lib.hyperlink.HyperLinkCtrl(self, -1, "Send us a ticket", URL=config._license) 88 self.hyperlink_download = wx.lib.hyperlink.HyperLinkCtrl(self, -1, "Get the latest version", URL=config._download) 88 self.hyperlink_paper = wx.StaticText(self, -1, str(config._license)) 89 #self.hyperlink_paper = wx.lib.hyperlink.HyperLinkCtrl(self, -1, "Send us a ticket", URL=config._license) 90 91 self.hyperlink_download = wx.StaticText(self, -1, str(config._download)) 92 #self.hyperlink_download = wx.lib.hyperlink.HyperLinkCtrl(self, -1, "Get the latest version", URL=config._download) 89 93 self.static_line_1 = wx.StaticLine(self, -1) 90 94 self.label_acknowledgement = wx.StaticText(self, -1, config._acknowledgement) … … 98 102 self.__do_layout() 99 103 100 self.Bind(wx.EVT_BUTTON, self.onNsfLogo, self.bitmap_button_nsf)101 self.Bind(wx.EVT_BUTTON, self.onDanseLogo, self.bitmap_button_danse)102 self.Bind(wx.EVT_BUTTON, self.onUTLogo, self.bitmap_button_msu)103 104 # end wxGlade 104 105 … … 206 207 # end wxGlade 207 208 208 def onNsfLogo(self, event): # wxGlade: DialogAbout.<event_handler> 209 launchBrowser(config._nsf_url) 210 event.Skip() 211 212 def onDanseLogo(self, event): # wxGlade: DialogAbout.<event_handler> 213 launchBrowser(config._danse_url) 214 event.Skip() 215 216 def onUTLogo(self, event): # wxGlade: DialogAbout.<event_handler> 217 launchBrowser(config._inst_url) 218 event.Skip() 209 219 210 220 211 # end of class DialogAbout
Note: See TracChangeset
for help on using the changeset viewer.