Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 368714 Details for
Bug 457830
media-gfx/freecad-0.13 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
freecad-0.13.1830-startpage-links.patch
freecad-0.13.1830-startpage-links.patch (text/plain), 5.42 KB, created by
Fabio Rossi
on 2014-01-25 20:01:05 UTC
(
hide
)
Description:
freecad-0.13.1830-startpage-links.patch
Filename:
MIME Type:
Creator:
Fabio Rossi
Created:
2014-01-25 20:01:05 UTC
Size:
5.42 KB
patch
obsolete
>commit dbdff257966c65feed6dd9360bc3d50549d9c4c9 >Author: Yorik van Havre <yorik@uncreated.net> >Date: Thu Sep 12 00:30:59 2013 -0300 > > Startpage: Fixed links > >diff --git a/src/Mod/Start/StartPage/StartPage.py b/src/Mod/Start/StartPage/StartPage.py >index 478bf40..43985f3 100644 >--- a/src/Mod/Start/StartPage/StartPage.py >+++ b/src/Mod/Start/StartPage/StartPage.py >@@ -84,7 +84,7 @@ text34 = translate("StartPage","creation time:") > text35 = translate("StartPage","last modified:") > text36 = translate("StartPage","location:") > text37 = translate("StartPage","User manual") >-text38 = translate("StartPage","http://sourceforge.net/apps/mediawiki/free-cad/index.php?title=Online_Help_Toc") >+text38 = translate("StartPage","http://www.freecadweb.org/wiki/index.php?title=Online_Help_Toc") > text39 = translate("StartPage","Tutorials") > text40 = translate("StartPage","Python resources") > text41 = translate("StartPage","File not found") >@@ -97,7 +97,7 @@ text47 = translate("StartPage","The section of the FreeCAd website dedicate dto > text48 = translate("StartPage","A blog dedicated to teaching FreeCAD, maintained by members of the FreeCAD community") > text49 = translate("StartPage","Getting started") > text50 = translate("StartPage","The FreeCAD interface is divided in workbenches, which are sets of tools suited for a specific task. You can start with one of the workbenches in this list, or with the complete workbench, which presents you with some of the most used tools gathered from other workbenches. Click to read more about workbenches on the FreeCAD website.") >-text51 = translate("StartPage","http://sourceforge.net/apps/mediawiki/free-cad/index.php?title=Workbench_Concept") >+text51 = translate("StartPage","http://www.freecadweb.org/wiki/index.php?title=Workbench_Concept") > text52 = translate("StartPage","Ship Design") > text53 = translate("StartPage","Designing and calculating ships") > text54 = translate("StartPage","The <b>Ship Design</b> module offers several tools to help ship designers to view, model and calculate profiles and other specific properties of ship hulls.") >@@ -159,7 +159,7 @@ page = """ > ddiv.innerHTML = "Done fetching"; > ddiv = document.getElementById("news"); > ddiv.innerHTML = "Fetching data from the web..."; >- var tobj=new JSONscriptRequest('http://twitter.com/status/user_timeline/FreeCADNews.json?count=10&callback=showTweets'); >+ var tobj=new JSONscriptRequest('http://pipes.yahoo.com/pipes/pipe.run?_id=da8b612e97a6bb4588b1ce27db30efd9&_render=json&_callback=showTweets'); > tobj.buildScriptTag(); // Build the script tag > tobj.addScriptTag(); // Execute (add) the script tag > ddiv.innerHTML = "Done fetching"; >@@ -182,19 +182,13 @@ page = """ > ddiv = document.getElementById('news'); > ddiv.innerHTML = "Received"; > var html = ['<ul>']; >- for (var i = 0; i < Math.min(5,data.length); i++) { >- tf = placeLinks(data[i].text); >- html.push('<li>',tf,'</li>'); >+ for (var i = 0; i < 8; i++) { >+ html.push('<li><a href="', data.value.items[i].link, '">', data.value.items[i].title, '</a></li>'); > } > html.push('</ul>'); > ddiv.innerHTML = html.join(''); > } > >- function placeLinks(text) { >- result=text.replace(/(https?:\/\/([-\w\.]+)+(:\d+)?(\/([\w\/_\.]*(\?\S+)?)?)?)/g,'<a href="$1">$1</a>'); >- return result; >- } >- > </script> > > <style type="text/css"> >@@ -286,12 +280,12 @@ page = """ > </div> > > <div class="block"> >- <h2>""" + text04 + """ <span class="from">""" + text44 + """</span></h2> >+ <h2>""" + text04 + """</h2> > <div id="youtube">youtube videos</div> > </div> > > <div class="block"> >- <h2>""" + text05 + """ <span class="from">""" + text42 + """</span></h2> >+ <h2>""" + text05 + """</h2> > <div id="news">news feed</div> > </div> > >@@ -354,7 +348,7 @@ def getLinks(): > <li><img src="web.png"> > <a onMouseover="show('<p>""" + text07 + """</p>')" > onMouseout="show('')" >- href="http://free-cad.sf.net/">""" + text08 + """</a></li> >+ href="http://www.freecadweb.org/">""" + text08 + """</a></li> > <li><img src="web.png"> > <a onMouseover="show('<p>""" + text45 + """</p>')" > onMouseout="show('')" >@@ -362,11 +356,11 @@ def getLinks(): > <li><img src="web.png"> > <a onMouseover="show('<p>""" + text46 + """</p>')" > onMouseout="show('')" >- href="http://sourceforge.net/apps/mediawiki/free-cad/index.php?title=Tutorials">""" + text39 + """</a></li> >+ href="http://www.freecadweb.org/wiki/index.php?title=Tutorials">""" + text39 + """</a></li> > <li><img src="web.png"> > <a onMouseover="show('<p>""" + text47 + """</p>')" > onMouseout="show('')" >- href="http://sourceforge.net/apps/mediawiki/free-cad/index.php?title=Power_users_hub">""" + text40 + """</a></li> >+ href="http://www.freecadweb.org/wiki/index.php?title=Power_users_hub">""" + text40 + """</a></li> > <li><img src="web.png"> > <a onMouseover="show('<p>""" + text48 + """</p>')" > onMouseout="show('')"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 457830
:
339066
|
341036
|
341534
|
341536
|
342990
|
346688
|
367176
|
367178
|
367180
|
367182
|
367184
|
368174
|
368176
|
368178
|
368712
| 368714 |
370032
|
370036
|
370038
|
371698
|
371826