Changeset e012e20ee740…
Parent 52dc83472776…
by
Changes to 4 files · Browse files at e012e20ee740 Showing diff from parent 52dc83472776 Diff from another changeset...
|
|
@@ -0,0 +1,154 @@ + <?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="32"
+ height="32"
+ id="svg2939"
+ version="1.1"
+ inkscape:version="0.47 r22583"
+ sodipodi:docname="extensions.svg">
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="19.9375"
+ inkscape:cx="31.544811"
+ inkscape:cy="16.093898"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ inkscape:window-width="1600"
+ inkscape:window-height="839"
+ inkscape:window-x="-9"
+ inkscape:window-y="-9"
+ inkscape:window-maximized="1" />
+ <title
+ id="title3001">Extensions</title>
+ <defs
+ id="defs2941">
+ <inkscape:perspective
+ sodipodi:type="inkscape:persp3d"
+ inkscape:vp_x="0 : 526.18109 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_z="744.09448 : 526.18109 : 1"
+ inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
+ id="perspective2947" />
+ <inkscape:perspective
+ id="perspective3909"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <inkscape:perspective
+ id="perspective3933"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ </defs>
+ <metadata
+ id="metadata2944">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <cc:license
+ rdf:resource="http://creativecommons.org/licenses/by-sa/3.0/" />
+ <dc:title>Extensions</dc:title>
+ <dc:date>2010-11-13</dc:date>
+ <dc:creator>
+ <cc:Agent>
+ <dc:title>Johan Samyn</dc:title>
+ </cc:Agent>
+ </dc:creator>
+ <dc:description>Extensions icon for TortoiseHg</dc:description>
+ </cc:Work>
+ <cc:License
+ rdf:about="http://creativecommons.org/licenses/by-sa/3.0/">
+ <cc:permits
+ rdf:resource="http://creativecommons.org/ns#Reproduction" />
+ <cc:permits
+ rdf:resource="http://creativecommons.org/ns#Distribution" />
+ <cc:requires
+ rdf:resource="http://creativecommons.org/ns#Notice" />
+ <cc:requires
+ rdf:resource="http://creativecommons.org/ns#Attribution" />
+ <cc:permits
+ rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
+ <cc:requires
+ rdf:resource="http://creativecommons.org/ns#ShareAlike" />
+ </cc:License>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(-57.714276,-795.50496)">
+ <path
+ sodipodi:type="arc"
+ style="fill:#048a00;fill-opacity:1;stroke:#ff0707;stroke-width:29.30873511;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ id="path3889"
+ sodipodi:cx="228.57143"
+ sodipodi:cy="525.2193"
+ sodipodi:rx="171.42857"
+ sodipodi:ry="335.71429"
+ d="m 400,525.2193 a 171.42857,335.71429 0 1 1 -342.857147,-2e-5"
+ sodipodi:start="0"
+ sodipodi:end="3.1415927"
+ sodipodi:open="true"
+ transform="matrix(0,0.0859087,-0.05420367,0,105.63702,791.89438)" />
+ <path
+ sodipodi:type="arc"
+ id="path3895"
+ style="fill:#000000;stroke:none"
+ sodipodi:cx="-38.955654"
+ sodipodi:cy="833.62408"
+ sodipodi:rx="1.5"
+ sodipodi:ry="1.5"
+ d="m -37.455654,833.62408 a 1.5,1.5 0 1 1 -3,0 1.5,1.5 0 1 1 3,0 z" />
+ <rect
+ style="fill:#fdff13;fill-opacity:1;stroke:#010101;stroke-width:1.46622348;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ id="rect3897"
+ width="8.2754679"
+ height="9.1848412"
+ x="77.855682"
+ y="800.79346" />
+ <rect
+ style="fill:#fdff13;fill-opacity:1;stroke:#010101;stroke-width:1.67026925;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ id="rect3899"
+ width="9.3480644"
+ height="3.9821112"
+ x="68.029686"
+ y="803.21313" />
+ <rect
+ style="fill:#13c6ff;fill-opacity:1;stroke:#010101;stroke-width:1.50000000000000000;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ id="rect3899-1"
+ width="7.0148916"
+ height="7.9028859"
+ x="77.890648"
+ y="814.0813" />
+ <rect
+ style="fill:#13c5ff;fill-opacity:1;stroke:#010101;stroke-width:1.64584875;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ id="rect3899-7"
+ width="9.0213881"
+ height="4.0065312"
+ x="67.82428"
+ y="815.92175" />
+ </g>
+</svg>
|
@@ -51,5 +51,6 @@ <file>icons/qpop.svg</file>
<file>icons/reviewboard.png</file>
<file>icons/bookmark.png</file>
+ <file>icons/extensions.svg</file>
</qresource>
</RCC>
|
@@ -271,12 +271,19 @@ if 'mq' in repo.__dict__: #do not create if it does not exist
repo.mq.invalidate()
+def enabledextensions():
+ """Return the {name: shortdesc} dict of enabled extensions
+
+ shortdesc is in local encoding.
+ """
+ return extensions.enabled()[0]
+
def allextensions():
"""Return the {name: shortdesc} dict of known extensions
shortdesc is in local encoding.
"""
- enabledexts = extensions.enabled()[0]
+ enabledexts = enabledextensions()
disabledexts = extensions.disabled()[0]
exts = (disabledexts or {}).copy()
exts.update(enabledexts)
|
Loading...