chiark / gitweb /
Finally fix the HyperlinkCtrl widget arguments.
authorYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Mon, 31 Aug 2015 17:44:45 +0000 (13:44 -0400)
committerYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Mon, 31 Aug 2015 17:44:45 +0000 (13:44 -0400)
Fixes T223

Cura/gui/aboutWindow.py
Cura/gui/newVersionDialog.py

index 180f0d7dce583861af34c56f9ae091c9179cff3a..c43ce2c1dc58b0e80531889569a6978f6b000378 100644 (file)
@@ -35,7 +35,7 @@ class aboutWindow(wx.Frame):
 
                s.Add(wx.StaticText(p, -1, 'Release notes:'))
                url = "code.alephobjects.com/w/cura/release-notes/"
-               s.Add(wx.HyperlinkCtrl(p, -1, url=url))
+               s.Add(wx.HyperlinkCtrl(p, -1, urlurl))
 
                s.Add(wx.StaticText(p, -1, ''))
                s.Add(wx.StaticText(p, -1, 'End solution for Open Source Fused Filament Fabrication 3D printing.'), flag=wx.TOP, border=5)
index 4cd195844a6fcac16a62de4a3aa54b08d0abc474..5195076d0606813cdf9c1caf3db556a19ebf2e3c 100644 (file)
@@ -32,7 +32,7 @@ class newVersionDialog(wx.Dialog):
                s.Add(wx.StaticLine(p), flag=wx.EXPAND|wx.TOP|wx.BOTTOM, border=10)
                s.Add(wx.StaticText(p, -1, _('Want to know what is new and cool in this version?')))
                s.Add(wx.StaticText(p, -1, _('Click here for a list of changes:')))
-               s.Add(wx.HyperlinkCtrl(p, -1, url=newVersionDialog.url))
+               s.Add(wx.HyperlinkCtrl(p, -1, newVersionDialog.url, newVersionDialog.url))
 
                s.Add(wx.StaticLine(p), flag=wx.EXPAND|wx.TOP|wx.BOTTOM, border=10)
                button = wx.Button(p, -1, _('OK'))