...
 
Commits (26)
News in 3.32.0, 2019-03-10, “Milky Way” (the song I'm currently listening to)
-----------------------------------------------------------------------------
* GNOME goal “App menu retirement”:
https://gitlab.gnome.org/GNOME/Initiatives/issues/4
* GNOME goal “App Icon Redesign”:
https://gitlab.gnome.org/GNOME/Initiatives/issues/2
(yes Devhelp has a new icon now).
* A few minor and irrelevant improvements to the code.
* A pile of translation updates as usual.
News in 3.30.1, 2018-10-24
--------------------------
* Build: requires Meson >= 0.47.
......
......@@ -38,32 +38,4 @@ See also the roadmap on the wiki.
Improve DhSettings
------------------
For the software product line, one thing that is not present in Tepl (so I
needed to do the first iteration in Devhelp), is DhSettings to handle the
GSettings in a library. The goal is of course to have the minimum amount of
code or work to do in the applications.
But I'm not entirely satisfied by the current DhSettings. But to make it better
it would require lots of boilerplate code, so I was maybe thinking about a code
generation tool that reads the GSettings XML schema and creates a GObject class
with some properties and functions for each key. Then DhSettings would come on
top of that generated class (either as a subclass or using it by composition)
to add more specific functions like is_book_enabled(), set_book_enabled(), etc.
The code generation tool would do something along those lines:
- Add a property of type GVariant for each GSettings key.
- Add getters/setters for the GVariant properties (bonus if for simple types
like integers, strings, booleans, the getters/setters use the appropriate
GLib type, not GVariant. Or find a way to make it convenient to use GVariant
to get/set the properties).
- Add bind_to_key() functions, to bind a GVariant property to its corresponding
GSettings key.
- For each key, add another property of type boolean to know whether the
GVariant property has been bound to the GSettings key. Same name as the
GVariant property, but with the -bound suffix.
- Add one bind() wrapper function with an API like g_settings_bind(), but calls
g_object_bind_property() if -bound property is FALSE, and calls
g_settings_bind() if -bound property is TRUE, to take advantage of the
writability of the GSettings key.
- If more flexibility is needed, add getters to get the GSettings objects,
those can be used for the keys where the -bound property is TRUE.
See the comment in dh-settings.c.
<?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:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="16"
height="16"
id="svg4908"
sodipodi:version="0.32"
inkscape:version="0.45+devel"
sodipodi:docbase="/home/andreas/project/misc icons/22x22"
sodipodi:docname="devhelp.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape"
inkscape:export-filename="/home/andreas/project/application icons/16x16/devhelp.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90"
version="1.0">
<defs
id="defs4910">
<linearGradient
inkscape:collect="always"
id="linearGradient6212">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop6214" />
<stop
style="stop-color:#ffffff;stop-opacity:0;"
offset="1"
id="stop6216" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient6212"
id="linearGradient6218"
x1="10.875"
y1="7.78125"
x2="0.71875"
y2="8"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.2999999,0,0,1.3636364,18.948262,-4.5153682)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient6212"
id="linearGradient5168"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.1850951,0,0,1.3636364,-0.4823547,-0.2285334)"
x1="10.875"
y1="7.78125"
x2="0.71875"
y2="8" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="16"
inkscape:cx="12.933516"
inkscape:cy="10.962465"
inkscape:current-layer="layer1"
showgrid="true"
inkscape:grid-bbox="true"
inkscape:document-units="px"
inkscape:window-width="1680"
inkscape:window-height="948"
inkscape:window-x="0"
inkscape:window-y="51"
width="16px"
height="16px">
<inkscape:grid
type="xygrid"
id="grid5072" />
</sodipodi:namedview>
<metadata
id="metadata4913">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:label="Layer 1"
inkscape:groupmode="layer">
<rect
style="opacity:1;fill:#eeeeec;fill-opacity:1;stroke:#a40000;stroke-width:0.99999994000000003;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:0;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect5152"
width="11"
height="14"
x="2.5650094"
y="0.54419416"
rx="0.4861359"
ry="0.4861359" />
<rect
style="opacity:1;fill:#729fcf;fill-opacity:1;stroke:#3465a4;stroke-width:1.01899981;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect5178"
width="1.9887375"
height="4.9497471"
x="12.490483"
y="6.5095148"
rx="0.44194168"
ry="0.44194174" />
<rect
style="opacity:1;fill:#fcaf3e;fill-opacity:1;stroke:#ce5c00;stroke-width:1.01899981;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect5176"
width="1.9887375"
height="4.9497471"
x="12.506949"
y="2.6091654"
rx="0.44194168"
ry="0.44194174" />
<rect
style="opacity:1;fill:#cc0000;fill-opacity:1;stroke:#a40000;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:0;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect5154"
width="12.027729"
height="13.000001"
x="0.5650093"
y="2.5441942"
rx="0.44194174"
ry="0.44194174" />
<path
style="fill:#eeeeec;fill-opacity:1;fill-rule:evenodd;stroke:#a40000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 11.844039,2.5377543 L 1.4541203,2.5058995 C 1.4541203,2.5058995 0.51776033,2.4196023 0.53033033,1.5857259 C 0.54290133,0.75184951 1.4980243,0.57200542 1.4791213,0.57200542 L 12.07091,0.5707958"
id="path5156"
sodipodi:nodetypes="cczcc" />
<path
style="fill:#555753;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:0;stroke-dashoffset:0;stroke-opacity:1"
d="M 0.065009328,1.3254441 C 1.1118843,2.0650274 2.1118843,1.9921108 3.0650093,2.0441941 L 3.0650093,16.044194 L 0.065009328,16.044194 L 0.065009328,1.3254441 z"
id="path5158"
sodipodi:nodetypes="ccccc" />
<rect
style="opacity:0.44021738;fill:none;fill-opacity:1;stroke:url(#linearGradient5168);stroke-width:1.00000012;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:0;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect5160"
width="10.027728"
height="11"
x="1.5650095"
y="3.5441942" />
<rect
style="opacity:1;fill:#eeeeec;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:0;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect5162"
width="7"
height="1"
x="2.0650094"
y="1.0441942" />
<rect
style="opacity:1;fill:#babdb6;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:0;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect5164"
width="2"
height="1"
x="1.0650094"
y="1.0441942"
rx="0"
ry="0" />
<path
style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#555753;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 2.0373133,2.5441941 L 1.4889243,2.5123391 C 1.4889243,2.5123391 0.55256433,2.4260421 0.56513433,1.5921658 C 0.57770533,0.75828938 1.5328283,0.57844538 1.5139263,0.57844538 L 3.0685633,0.57723568"
id="path5166"
sodipodi:nodetypes="cczcc" />
<text
xml:space="preserve"
style="font-size:10.64308929px;font-style:normal;font-weight:normal;fill:#d3d7cf;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
x="3.1972356"
y="11.643403"
id="text5180"
transform="scale(0.9649187,1.0363568)"><tspan
sodipodi:role="line"
id="tspan5182"
x="3.1972356"
y="11.643403"
style="font-weight:bold;fill:#d3d7cf;fill-opacity:1">D</tspan></text>
</g>
</svg>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:ns="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://web.resource.org/cc/"
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:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="22"
height="22"
id="svg4908"
sodipodi:version="0.32"
inkscape:version="0.45.1"
sodipodi:docbase="/home/andreas/Desktop/tempicons/22x22"
sodipodi:docname="devhelp.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape"
inkscape:export-filename="/home/andreas/project/application icons/22x22/devhelp.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90"
version="1.0">
<defs
id="defs4910">
<linearGradient
inkscape:collect="always"
id="linearGradient2177">
<stop
style="stop-color:#df0000;stop-opacity:1"
offset="0"
id="stop2179" />
<stop
style="stop-color:#cc0000;stop-opacity:1"
offset="1"
id="stop2181" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient6212">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop6214" />
<stop
style="stop-color:#ffffff;stop-opacity:0;"
offset="1"
id="stop6216" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient6212"
id="linearGradient6218"
x1="10.875"
y1="7.78125"
x2="0.71875"
y2="8"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.2999999,0,0,1.3636364,0.2541266,-0.2727275)" />
<filter
inkscape:collect="always"
x="-0.070540316"
width="1.1410806"
y="-0.37635822"
height="1.7527164"
id="filter3171">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="0.5579602"
id="feGaussianBlur3173" />
</filter>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2177"
id="linearGradient2183"
x1="6.625"
y1="5.75"
x2="13.375"
y2="18.875"
gradientUnits="userSpaceOnUse" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="16"
inkscape:cx="14.276311"
inkscape:cy="3.0388091"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:grid-bbox="true"
inkscape:document-units="px"
inkscape:window-width="1680"
inkscape:window-height="948"
inkscape:window-x="4"
inkscape:window-y="50"
width="22px"
height="22px">
<inkscape:grid
type="xygrid"
id="grid5072" />
</sodipodi:namedview>
<metadata
id="metadata4913">
<rdf:RDF>
<ns:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</ns:Work>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:label="Layer 1"
inkscape:groupmode="layer">
<rect
style="opacity:0.40594059;fill:#000000;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;filter:url(#filter3171)"
id="rect2174"
width="18.983534"
height="3.5580583"
x="1.5303301"
y="18"
rx="1.5855683"
ry="1.5855683" />
<rect
style="opacity:1;fill:#eeeeec;fill-opacity:1;stroke:#a40000;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:0;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect4918"
width="14.911824"
height="18"
x="4.5881758"
y="1.5"
rx="0.48613593"
ry="0.4861359" />
<rect
style="opacity:1;fill:#73d216;fill-opacity:1;stroke:#4e9a06;stroke-width:0.99999994;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect5076"
width="4.0216699"
height="6.0104074"
x="16.423767"
y="8.5545635"
rx="0.48613593"
ry="0.4861359" />
<rect
style="opacity:1;fill:#edd400;fill-opacity:1;stroke:#c4a000;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect5074"
width="4.1542521"
height="5.9662137"
x="16.396038"
y="3.5710294"
rx="0.48613593"
ry="0.4861359" />
<rect
style="opacity:1;fill:url(#linearGradient2183);fill-opacity:1.0;stroke:#a40000;stroke-width:0.99999987999999995;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:0;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect4916"
width="15"
height="17"
x="2.5041265"
y="3.5"
rx="0.44194174"
ry="0.44194177" />
<path
style="fill:#eeeeec;fill-opacity:1;fill-rule:evenodd;stroke:#a40000;stroke-width:0.99999994000000003px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 15.998378,3.5000001 L 3.1774915,3.4681541 C 3.1774915,3.4681541 2.4844866,3.3818809 2.5002654,2.548236 C 2.5160443,1.714591 3.232602,1.5347968 3.2088747,1.5347968 L 15.973794,1.5335875"
id="path4920"
sodipodi:nodetypes="cczcc" />
<path
style="fill:#555753;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:0;stroke-dashoffset:0;stroke-opacity:1"
d="M 2.0041265,2.4864162 C 3.0510015,3.4166812 4.0097831,2.9714116 5.0041265,3.0369232 L 5.0041265,21 L 2.0041265,21 L 2.0041265,2.4864162 z "
id="rect4922"
sodipodi:nodetypes="ccccc" />
<rect
style="opacity:0.28217822;fill:none;fill-opacity:1;stroke:url(#linearGradient6218);stroke-width:1.00000012;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:0;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect5893"
width="12.999999"
height="14.999999"
x="3.5041265"
y="4.5" />
<rect
style="opacity:1;fill:#eeeeec;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:0;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect5895"
width="8.8556042"
height="0.86869359"
x="3.9556327"
y="2.1313064" />
<rect
style="opacity:1;fill:#babdb6;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:0;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect6220"
width="2.3135798"
height="1"
x="2.6905468"
y="2"
rx="0"
ry="0" />
<path
style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#555753;stroke-width:0.99999994px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 4.3320887,3.5415655 L 3.5057467,3.501345 C 3.5057467,3.501345 2.4979473,3.3481911 2.5138499,2.516299 C 2.5297588,1.6840779 3.5612894,1.5015274 3.537376,1.5015274 L 5.5041265,1.5"
id="path6139"
sodipodi:nodetypes="cczcc" />
<text
xml:space="preserve"
style="font-size:11.95686339999999959px;font-style:normal;font-weight:normal;fill:#d3d7cf;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
x="6.0032592"
y="15.57338"
id="text5078"
transform="scale(0.9766692,1.0238881)"><tspan
sodipodi:role="line"
id="tspan5080"
x="6.0032592"
y="15.57338"
style="font-weight:bold;fill:#d3d7cf">D</tspan></text>
</g>
</svg>
This diff is collapsed.
icon_sizes = [
'16x16',
'22x22',
'24x24',
'32x32',
'48x48',
'256x256'
]
foreach icon_size : icon_sizes
install_data(
join_paths(icon_size, 'org.gnome.Devhelp.png'),
install_dir : join_paths(
get_option('prefix'),
get_option('datadir'),
'icons/hicolor',
icon_size,
'apps'
)
install_data(
'scalable/org.gnome.Devhelp.svg',
install_dir : join_paths(
get_option('prefix'),
get_option('datadir'),
'icons/hicolor/scalable/apps'
)
endforeach
)
install_data(
'symbolic/org.gnome.Devhelp-symbolic.svg',
......
This source diff could not be displayed because it is too large. You can view the blob instead.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 128 128"
style="display:inline;enable-background:new"
version="1.0"
id="svg11300"
height="128"
width="128">
<title
id="title4162">Adwaita Icon Template</title>
<defs
id="defs3">
<linearGradient
id="linearGradient1879">
<stop
style="stop-color:#e8e7e4;stop-opacity:1"
offset="0"
id="stop1873" />
<stop
id="stop1875"
offset="0.5"
style="stop-color:#ffffff;stop-opacity:1" />
<stop
style="stop-color:#c9c6c1;stop-opacity:1"
offset="1"
id="stop1877" />
</linearGradient>
<linearGradient
y2="120"
x2="416"
y1="120"
x1="384"
gradientTransform="matrix(0.25,0,0,0.25,6.9488522e-8,225)"
gradientUnits="userSpaceOnUse"
id="linearGradient1037"
xlink:href="#linearGradient1879" />
</defs>
<metadata
id="metadata4">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:creator>
<cc:Agent>
<dc:title>GNOME Design Team</dc:title>
</cc:Agent>
</dc:creator>
<dc:source />
<cc:license
rdf:resource="http://creativecommons.org/licenses/by-sa/4.0/" />
<dc:title>Adwaita Icon Template</dc:title>
<dc:subject>
<rdf:Bag />
</dc:subject>
<dc:date />
<dc:rights>
<cc:Agent>
<dc:title />
</cc:Agent>
</dc:rights>
<dc:publisher>
<cc:Agent>
<dc:title />
</cc:Agent>
</dc:publisher>
<dc:identifier />
<dc:relation />
<dc:language />
<dc:coverage />
<dc:description />
<dc:contributor>
<cc:Agent>
<dc:title />
</cc:Agent>
</dc:contributor>
</cc:Work>
<cc:License
rdf:about="http://creativecommons.org/licenses/by-sa/4.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
transform="translate(0,-172)"
style="display:inline"
id="layer1">
<g
style="display:inline"
id="layer9">
<path
id="rect954-3-1"
d="m 24,200 v 92 h 72 c 4.432,0 8,-3.568 8,-8 v -76 c 0,-4.432 -3.568,-8 -8,-8 z"
style="display:inline;opacity:1;fill:#a51d2d;fill-opacity:1;stroke:none;stroke-width:6;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" />
<rect
style="display:inline;opacity:1;fill:#191622;fill-opacity:1;stroke:none;stroke-width:5.99999952;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new"
id="rect968"
width="8"
height="17.999992"
x="24"
y="274" />
<path
id="rect954-3-6-2"
d="m 26,220 v 70 h 70 c 4.432,0 8,-3.568 8,-8 v -54 c 0,-4.432 -3.568,-8 -8,-8 z"
style="display:inline;opacity:1;fill:url(#linearGradient1037);fill-opacity:1;stroke:none;stroke-width:6;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" />
<path
id="rect954-3-2-7"
d="m 24,200 v 76 h 72 c 4.432,0 8,-3.568 8,-8 v -60 c 0,-4.432 -3.568,-8 -8,-8 z"
style="display:inline;opacity:1;fill:#ac1d2e;fill-opacity:1;stroke:none;stroke-width:6;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" />
<path
id="rect954-3-2-9-0-3-0"
d="m 24,180 v 94 h 72 c 4.432,0 8,-3.568 8,-8 v -78 c 0,-4.432 -3.568,-8 -8,-8 z"
style="display:inline;opacity:1;fill:#ed333b;fill-opacity:1;stroke:none;stroke-width:6;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" />
<rect
style="display:inline;opacity:1;fill:#424048;fill-opacity:1;stroke:none;stroke-width:5.99999952;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new"
id="rect970"
width="8"
height="94.000008"
x="24"
y="180" />
<path
style="display:inline;opacity:0.22300002;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:6;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new"
d="m 26,180.00001 h 2 v 94 h -2 z"
id="rect1366-2-9" />
<g
id="g933">
<path
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:medium;line-height:1.25;font-family:Montserrat;-inkscape-font-specification:'Montserrat, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.53585535"
d="m 58,206.02051 v 5.9795 h -0.74854 c -2.18863,0 -3.26074,1.20587 -3.26074,3.30517 v 6.61621 c 0,3.08196 -0.93803,4.37761 -2.99267,5.00293 2.05464,0.62533 2.99267,1.92049 2.99267,5.00244 v 6.76807 c 0,2.0993 1.07211,3.30518 3.26074,3.30518 H 58 v 5.82763 h -1.56641 c -5.58325,0 -8.44189,-2.85852 -8.44189,-7.99511 v -7.73145 c 0,-1.42931 -0.75936,-2.10413 -1.96533,-2.09961 L 44,230.00001 v -5.9585 l 2.02637,0.002 c 1.20598,0.001 1.96533,-0.6703 1.96533,-2.09961 v -7.92827 c 0,-5.13659 2.85864,-7.99512 8.44189,-7.99512 z"
id="path977" />
<path
id="path7718-7-0"
d="m 74,206.02051 v 5.9795 h 0.74853 c 2.18864,0 3.26075,1.20587 3.26075,3.30517 v 6.61621 c 0,3.08196 0.93803,4.37761 2.99267,5.00293 -2.05464,0.62533 -2.99267,1.92049 -2.99267,5.00244 v 6.76807 c 0,2.0993 -1.07211,3.30518 -3.26075,3.30518 H 74 v 5.82763 h 1.5664 c 5.58326,0 8.4419,-2.85852 8.4419,-7.99511 v -7.73145 c 0,-1.42931 0.75936,-2.10413 1.96533,-2.09961 L 88,230.00001 v -5.9585 l -2.02637,0.002 c -1.20598,0.001 -1.96533,-0.6703 -1.96533,-2.09961 v -7.92827 c 0,-5.13659 -2.85864,-7.99512 -8.4419,-7.99512 z"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:medium;line-height:1.25;font-family:Montserrat;-inkscape-font-specification:'Montserrat, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.53585535" />
</g>
<rect
style="opacity:1;fill:#191622;fill-opacity:1;stroke:none;stroke-width:5.99999952;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal"
id="rect963"
width="8"
height="2"
x="24"
y="274" />
</g>
</g>
</svg>
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg xmlns:cc='http://creativecommons.org/ns#' xmlns:dc='http://purl.org/dc/elements/1.1/' sodipodi:docname='devhelp-symbolic.svg' height='16' id='svg7384' xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape' xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd' xmlns:svg='http://www.w3.org/2000/svg' inkscape:version='0.48.2 r9819' version='1.1' width='16' xmlns='http://www.w3.org/2000/svg'>
<metadata id='metadata90'>
<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"
sodipodi:docname="org.gnome.Devhelp-symbolic.svg"
height="16"
id="svg7384"
inkscape:version="0.92.2 2405546, 2018-03-11"
version="1.1"
width="16">
<metadata
id="metadata90">
<rdf:RDF>
<cc:Work rdf:about=''>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type rdf:resource='http://purl.org/dc/dcmitype/StillImage'/>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title>Gnome Symbolic Icon Theme</dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<sodipodi:namedview inkscape:bbox-paths='true' bordercolor='#666666' borderopacity='1' inkscape:current-layer='layer9' inkscape:cx='49.76706' inkscape:cy='-35.428804' gridtolerance='10' inkscape:guide-bbox='true' guidetolerance='10' id='namedview88' inkscape:object-nodes='false' inkscape:object-paths='false' objecttolerance='10' pagecolor='#555753' inkscape:pageopacity='1' inkscape:pageshadow='2' showborder='false' showgrid='true' showguides='true' inkscape:snap-bbox='false' inkscape:snap-bbox-midpoints='false' inkscape:snap-global='true' inkscape:snap-grids='true' inkscape:snap-nodes='true' inkscape:snap-others='false' inkscape:snap-to-guides='true' inkscape:window-height='1381' inkscape:window-maximized='1' inkscape:window-width='2560' inkscape:window-x='1600' inkscape:window-y='27' inkscape:zoom='16'>
<inkscape:grid empspacing='2' enabled='true' id='grid4866' snapvisiblegridlinesonly='true' spacingx='1px' spacingy='1px' type='xygrid' visible='true'/>
<sodipodi:namedview
inkscape:bbox-paths="true"
bordercolor="#666666"
borderopacity="1"
inkscape:current-layer="layer9"
inkscape:cx="1.6382002"
inkscape:cy="13.524864"
gridtolerance="10"
inkscape:guide-bbox="true"
guidetolerance="10"
id="namedview88"
inkscape:object-nodes="false"
inkscape:object-paths="false"
objecttolerance="10"
pagecolor="#555753"
inkscape:pageopacity="1"
inkscape:pageshadow="2"
showborder="true"
showgrid="false"
showguides="true"
inkscape:snap-bbox="false"
inkscape:snap-bbox-midpoints="false"
inkscape:snap-global="true"
inkscape:snap-grids="true"
inkscape:snap-nodes="true"
inkscape:snap-others="false"
inkscape:snap-to-guides="true"
inkscape:window-height="1381"
inkscape:window-maximized="1"
inkscape:window-width="2560"
inkscape:window-x="1600"
inkscape:window-y="27"
inkscape:zoom="1"
borderlayer="true"
inkscape:showpageshadow="false">
<inkscape:grid
empspacing="2"
enabled="true"
id="grid4866"
snapvisiblegridlinesonly="true"
spacingx="1"
spacingy="1"
type="xygrid"
visible="true"
originx="0"
originy="0" />
</sodipodi:namedview>
<title id='title9167'>Gnome Symbolic Icon Theme</title>
<defs id='defs7386'/>
<g inkscape:groupmode='layer' id='layer9' inkscape:label='apps' style='display:inline' transform='translate(-83.0002,-175)'>
<path inkscape:connector-curvature='0' d='m 87.38945,176.0625 c -0.85693,0.003 -2.358,0.9136 -2.358,2.52183 l 0,9.85317 c 0,0.85692 0.70558,1.5625 1.5625,1.5625 l 9.4375,0 c 1.125,0.0312 0.93388,-0.98875 0.93388,-0.98875 l -9.33599,0.0253 c -2.28266,0.006 -2.08441,-2.99124 -0.0372,-2.99375 l 9.40809,-0.0115 0.0312,-10 z m 0.63848,1.875 2.6875,0 c 3.31698,0 4.27148,1.26309 4.25,3.03125 -0.03,2.4678 -2.19062,3.01183 -4.81434,3.10346 -0.62199,0.0217 -1.50599,0.0215 -2.12316,0.0215 z m 2.03125,1.0625 0,4.03125 c 1.94269,0.023 2.99796,-0.68325 3,-2.0625 0.003,-1.76848 -1.24077,-1.93828 -3,-1.96875 z' id='rect3993' sodipodi:nodetypes='ssssccssccscsssccccsc' style='color:#000000;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:0.99999976;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:new'/>
<g id='text3998' style='font-size:40px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:Cantarell;-inkscape-font-specification:Cantarell Bold' transform='matrix(0.28893613,0,0,0.28893613,130.49178,195.94283)'/>
<path inkscape:connector-curvature='0' d='m 85.52087,186.0625 10.44808,0 c -1.18379,0.49216 -1.2956,2.4585 0,3 l -10.44808,0 z' id='rect4006' sodipodi:nodetypes='ccccc' style='opacity:0.3;color:#000000;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.99999976;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:new'/>
<title
id="title9167">Gnome Symbolic Icon Theme</title>
<defs
id="defs7386" />
<g
inkscape:groupmode="layer"
id="layer9"
inkscape:label="apps"
style="display:inline"
transform="translate(-83.0002,-175)">
<g
id="text3998"
style="font-size:40px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:Cantarell;-inkscape-font-specification:Cantarell Bold"
transform="matrix(0.28893613,0,0,0.28893613,130.49178,195.94283)" />
<path
inkscape:connector-curvature="0"
style="display:inline;opacity:1;vector-effect:none;fill:#3d3846;fill-opacity:0.99607843;stroke:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new"
d="m 85.007457,175.98169 v 14 h 11 c 0.51254,0 1,-0.53386 1,-1 h -11 v -2 h 10 c 0.57495,0 1,-0.60225 1,-1 v -9 c 0,-0.48814 -0.44713,-1 -1,-1 z m 4.44922,2 h 0.26562 v 1.01172 h -0.12695 c -0.36996,0 -0.55078,0.20372 -0.55078,0.55859 v 1.11719 c 0,0.52098 -0.15854,0.74 -0.50586,0.8457 0.34732,0.10571 0.50586,0.32472 0.50586,0.84571 v 1.14453 c 0,0.35486 0.18082,0.55859 0.55078,0.55859 h 0.12695 v 0.98438 h -0.26562 c -0.94381,0 -1.42774,-0.48327 -1.42774,-1.35157 v -1.30664 c 0,-0.24162 -0.12817,-0.35427 -0.33203,-0.35351 l -0.34179,-0.002 v -1.00587 h 0.34179 c 0.20386,1.6e-4 0.33203,-0.11385 0.33203,-0.35546 v -1.33985 c 0,-0.86831 0.48393,-1.35156 1.42774,-1.35156 z m 2.85937,0 h 0.26563 c 0.94381,0 1.42773,0.48325 1.42773,1.35156 v 1.33985 c 0,0.24161 0.12817,0.35562 0.33203,0.35546 h 0.3418 v 1.00586 l -0.3418,0.002 c -0.20386,-7.6e-4 -0.33203,0.1119 -0.33203,0.35352 v 1.30664 c 0,0.8683 -0.48392,1.35156 -1.42773,1.35156 h -0.26563 v -0.98437 h 0.12696 c 0.36996,0 0.55078,-0.20373 0.55078,-0.55859 v -1.14453 c 0,-0.52099 0.15854,-0.74 0.50586,-0.84571 -0.34732,-0.1057 -0.50586,-0.32472 -0.50586,-0.8457 v -1.11719 c 0,-0.35487 -0.18082,-0.55859 -0.55078,-0.55859 h -0.12696 z"
id="path1700" />
</g>
</svg>
......@@ -32,15 +32,16 @@
/**
* SECTION:dh-book-tree
* @Title: DhBookTree
* @Short_description: A #GtkTreeView containing the tree structure of all
* enabled #DhBook's
* @Short_description: A #GtkTreeView containing the tree structure of a
* #DhBookList
*
* #DhBookTree is a #GtkTreeView (showing a tree, not a list) containing the
* general tree structure of all enabled #DhBook's.
* general tree structure of the #DhBook's contained in a #DhBookList (the
* #DhBookList part of the provided #DhProfile).
*
* The dh_book_get_tree() function is called to get the tree structure of a
* #DhBook. As such the tree contains only #DhLink's of type %DH_LINK_TYPE_BOOK
* or %DH_LINK_TYPE_PAGE.
* #DhBookTree calls the dh_book_get_tree() function to get the tree structure
* of a #DhBook. As such the tree contains only #DhLink's of type
* %DH_LINK_TYPE_BOOK or %DH_LINK_TYPE_PAGE.
*
* When an element is selected, the #DhBookTree::link-selected signal is
* emitted. Only one element can be selected at a time.
......@@ -106,7 +107,9 @@ book_tree_selection_changed_cb (GtkTreeSelection *selection,
if (link != NULL &&
link != priv->selected_link) {
g_clear_pointer (&priv->selected_link, (GDestroyNotify)dh_link_unref);
if (priv->selected_link != NULL)
dh_link_unref (priv->selected_link);
priv->selected_link = dh_link_ref (link);
g_signal_emit (tree, signals[LINK_SELECTED], 0, link);
}
......@@ -581,7 +584,9 @@ book_tree_init_selection (DhBookTree *tree)
if (link == NULL || dh_link_get_link_type (link) != DH_LINK_TYPE_BOOK)
g_warn_if_reached ();
g_clear_pointer (&priv->selected_link, (GDestroyNotify)dh_link_unref);
if (priv->selected_link != NULL)
dh_link_unref (priv->selected_link);
priv->selected_link = link;
gtk_tree_selection_select_iter (selection, &iter);
}
......@@ -718,9 +723,13 @@ dh_book_tree_dispose (GObject *object)
g_clear_object (&priv->profile);
g_clear_object (&priv->store);
g_clear_pointer (&priv->selected_link, (GDestroyNotify)dh_link_unref);
priv->context_menu = NULL;
if (priv->selected_link != NULL) {
dh_link_unref (priv->selected_link);
priv->selected_link = NULL;
}
G_OBJECT_CLASS (dh_book_tree_parent_class)->dispose (object);
}
......
......@@ -72,6 +72,44 @@
* defined by the libdevhelp (not the app).
*/
/* TODO Possible DhSettings improvements:
*
* GSettings is usually used only in an application, not in a library. The
* purpose of DhSettings is to have the minimum amount of code or work to do in
* the applications, with the goal to create a software product line for
* Devhelp (create several similar products based on the libdevhelp).
*
* But I'm not entirely satisfied by the current DhSettings. But to make it better
* it would require lots of boilerplate code, so I was maybe thinking about a code
* generation tool that reads the GSettings XML schema and creates a GObject class
* with some properties and functions for each key. Then DhSettings would come on
* top of that generated class (either as a subclass or using it by composition)
* to add more specific functions like is_book_enabled(), set_book_enabled(), etc.
*
* The code generation tool would do something along those lines:
* - Add a property of type GVariant for each GSettings key.
* - Add getters/setters for the GVariant properties (bonus if for simple types
* like integers, strings, booleans, the getters/setters use the appropriate
* GLib type, not GVariant. Or find a way to make it convenient to use GVariant
* to get/set the properties).
* - Add bind_to_key() functions, to bind a GVariant property to its corresponding
* GSettings key.
* - For each key, add another property of type boolean to know whether the
* GVariant property has been bound to the GSettings key. Same name as the
* GVariant property, but with the -bound suffix.
* - Add one bind() wrapper function with an API like g_settings_bind(), but calls
* g_object_bind_property() if -bound property is FALSE, and calls
* g_settings_bind() if -bound property is TRUE, to take advantage of the
* writability of the GSettings key.
* - If more flexibility is needed, add getters to get the GSettings objects,
* those can be used for the keys where the -bound property is TRUE.
*
* That code generation tool would be useful outside Devhelp, for any project
* that wants to use GSettings in a library or software product line, basically.
* More generally, there needs to be a reflection on how best to use GSettings
* in a library.
*/
/* libdevhelp GSettings schema IDs */
#define LIBDEVHELP_GSCHEMA_PREFIX "org.gnome.libdevhelp-" LIBDEVHELP_API_VERSION
#define SETTINGS_SCHEMA_ID_CONTENTS LIBDEVHELP_GSCHEMA_PREFIX ".contents"
......
......@@ -2,7 +2,8 @@ cs
de
es
hr
it
hu
pl
pt_BR
sv
\ No newline at end of file
sv
# Italian translation for devhelp.
# Copyright (C) 2018 Free Software Foundation, Inc.
# This file is distributed under the same license as the devhelp package.
# Milo Casagrande <milo@milo.name>, 2018.
#
msgid ""
msgstr ""
"Project-Id-Version: devhelp gnome-3-28\n"
"POT-Creation-Date: 2018-03-26 11:45+0000\n"
"PO-Revision-Date: 2018-03-26 14:13+0200\n"
"Last-Translator: Milo Casagrande <milo@milo.name>\n"
"Language-Team: Italian <gnome-it-list@gnome.org>\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 2.0.6\n"
#. (itstool) path: page/title
#: C/index.page:4
msgid "Devhelp User Documentation"
msgstr "Documentazione utente di Devhelp"
#. Put one translator per line, in the form NAME <EMAIL>, YEAR1, YEAR2
msgctxt "_"
msgid "translator-credits"
msgstr "Milo Casagrande <milo@milo.name>, 2018"
#. (itstool) path: page/title
#: C/search.page:10
msgid "Search in the side panel"
msgstr "Ricerca attraverso il riquadro laterale"
#. (itstool) path: synopsis/p
#: C/search.page:13
msgid "How the search in the side panel works."
msgstr "Come funziona la ricerca nel riquadro laterale."
#. (itstool) path: section/title
#: C/search.page:17
msgid "Case sensitivity"
msgstr "Maiuscole/minuscole"
#. (itstool) path: section/p
#: C/search.page:18
msgid ""
"The search is case sensitive when there is an uppercase letter. If the "
"search terms are all in lowercase, the search is case insensitive. It's like "
"the “smartcase” feature present in some text editors."
msgstr ""
"La ricerca differenzia tra maiuscole e minuscole quando è presente almeno un "
"carattere maiuscolo. Se i termini di ricerca contengono solo lettere "
"minuscole, la ricerca non differenzia tra maiuscole e minuscole. Ricorda in "
"parte la funzionalità di alcuni editor di testo."
#. (itstool) path: section/title
#: C/search.page:26
msgid "Glob-style pattern matching"
msgstr "Corrispondenza tramite ricerca «glob»"
#. (itstool) path: section/p
#: C/search.page:27
msgid ""
"A search term can be a pattern containing ‘*’ and ‘?’ wildcards. ‘*’ matches "
"an arbitrary, possibly empty, string; and ‘?’ matches an arbitrary character."
msgstr ""
"Un termine di ricerca può anche essere un modello di espressione contenente "
"i caratteri speciali «*» e «?». «*» corrisponde a una qualsiasi stringa, "
"anche vuota; «?» corrisponde a un singolo carattere."
#. (itstool) path: section/title
#: C/search.page:35
msgid "Several search terms"
msgstr "Molteplici termini di ricerca"
#. (itstool) path: section/p
#: C/search.page:36
msgid ""
"You can search with several search terms (separated by spaces). A symbol "
"will match only if <em>all</em> the search terms individually match (not "
"necessarily in the same order of appearance)."
msgstr ""
"È possibile eseguire una ricerca utilizzando molteplici termini di ricerca, "
"separati da spazi. Un simbolo corrisponde solo se <em>tutti</em> i termini "
"di ricerca hanno una corrispondenza (non necessariamente nello stesso "
"ordine)."
#. (itstool) path: section/p
#: C/search.page:41
msgid ""
"Note that it is different than searching with the ‘*’ wildcard: with the ‘*’ "
"wildcard it forces the keywords to be in the same order."
msgstr ""
"Notare che la ricerca tramite il carattere «*» non ha lo stesso "
"comportamento: la ricerca col carattere speciale «*» richiede che le parole "
"chiavi siano nello stesso ordine."
#. (itstool) path: section/p
#: C/search.page:45
msgid ""
"For example when searching “<input>gtk window application</input>”, it "
"matches both “<code>gtk_window_get_application()</code>” and "
"“<code>GtkApplicationWindow</code>” (among other symbols)."
msgstr ""
"Per esempio, cercando «<input>gtk window application</input>», vengono "
"prodotti i seguenti risultati: «<code>gtk_window_get_application()</code>» e "
"«<code>GtkApplicationWindow</code>» (assieme ad altri simboli)."
#. (itstool) path: section/p
#: C/search.page:50
msgid ""
"On the other hand, searching “<input>gtk*window*application</input>” will "
"match “<code>gtk_window_get_application()</code>” but not "
"“<code>GtkApplicationWindow</code>”."
msgstr ""
"Utilizzando invece come modello di ricerca «<input>gtk*window*application</"
"input>» viene prodotto l'unico risultato di "
"«<code>gtk_window_get_application()</code>» e non "
"«<code>GtkApplicationWindow</code>»."
......@@ -6,7 +6,7 @@
project(
'devhelp', 'c',
meson_version : '>= 0.47',
version : '3.30.1'
version : '3.32.0'
)
GNOME = import('gnome')
......@@ -27,7 +27,7 @@ LIBDEVHELP_API_VERSION_FULL = '3.0'
# (Interfaces added: CURRENT++, AGE++, REVISION=0)
# (No interfaces changed: REVISION++)
lt_current = 6
lt_revision = 0
lt_revision = 1
lt_age = 0
LIBDEVHELP_LT_VERSION = '@0@.@1@.@2@'.format(lt_current, lt_revision, lt_age)
......
......@@ -12,8 +12,8 @@ msgid ""
msgstr ""
"Project-Id-Version: devhelp\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/devhelp/issues\n"
"POT-Creation-Date: 2018-09-21 13:52+0000\n"
"PO-Revision-Date: 2018-09-21 19:54+0200\n"
"POT-Creation-Date: 2018-10-12 12:52+0000\n"
"PO-Revision-Date: 2018-10-13 09:45+0200\n"
"Last-Translator: Marek Černocký <marek@manet.cz>\n"
"Language-Team: čeština <gnome-cs-list@gnome.org>\n"
"Language: cs\n"
......@@ -27,7 +27,7 @@ msgstr ""
#. * translatable for transliteration only).
#.
#: data/org.gnome.Devhelp.appdata.xml.in:6 data/org.gnome.Devhelp.desktop.in:3
#: src/dh-app.c:270 src/dh-app.c:598
#: src/dh-app.c:270 src/dh-app.c:562
msgid "Devhelp"
msgstr "DevHelp"
......@@ -278,7 +278,7 @@ msgid "Show API Documentation"
msgstr "Zobrazit dokumentaci API"
#. action, icon, label, accel, tooltip
#. App menu
#. Actions related to the whole application
#: src/dh-app.c:51
msgid "New _Window"
msgstr "Nové _okno"
......@@ -300,8 +300,8 @@ msgid "_Help"
msgstr "Nápo_věda"
#: src/dh-app.c:56
msgid "_About"
msgstr "O _aplikaci"
msgid "_About Devhelp"
msgstr "O _aplikaci DevHelp"
#: src/dh-app.c:57
msgid "_Quit"
......@@ -311,7 +311,7 @@ msgstr "U_končit"
msgid "Close all windows"
msgstr "Zavřít všechna okna"
#. Window menu
#. Actions related to the current main window
#: src/dh-app.c:61
msgid "_Side Panel"
msgstr "Po_stranní panel"
......@@ -388,27 +388,27 @@ msgstr ""
msgid "Devhelp Website"
msgstr "Webové stránky Devhelp"
#: src/dh-app.c:487
#: src/dh-app.c:451
msgid "Opens a new Devhelp window"
msgstr "Otevřít nové okno Devhelp"
#: src/dh-app.c:492
#: src/dh-app.c:456
msgid "Search for a keyword"
msgstr "Hledat klíčové slovo"
#: src/dh-app.c:493 src/dh-app.c:498
#: src/dh-app.c:457 src/dh-app.c:462
msgid "KEYWORD"
msgstr "KLÍČOVÉ_SLOVO"
#: src/dh-app.c:497
#: src/dh-app.c:461
msgid "Search and display any hit in the assistant window"
msgstr "Vyhledat a zobrazit každý výskyt v asistenčním okně"
#: src/dh-app.c:502
#: src/dh-app.c:466
msgid "Display the version and exit"
msgstr "Zobrazit verzi a skončit"
#: src/dh-app.c:507
#: src/dh-app.c:471
msgid "Quit any running Devhelp"
msgstr "Ukončit všechny běžící instance DevHelp"
......@@ -463,14 +463,14 @@ msgstr "Obecné"
msgid "Zoom"
msgstr "Přiblížení"
#: src/dh-window.c:572
#: src/dh-window.c:552
msgid "Back"
msgstr "Zpět"
#: src/dh-window.c:576
#: src/dh-window.c:556
msgid "Forward"
msgstr "Vpřed"
#: src/dh-window.c:599
#: src/dh-window.c:574
msgid "New Tab"
msgstr "Nová karta"
This diff is collapsed.
......@@ -10,8 +10,8 @@ msgid ""
msgstr ""
"Project-Id-Version: devhelp.master\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/devhelp/issues\n"
"POT-Creation-Date: 2018-09-04 08:26+0000\n"
"PO-Revision-Date: 2018-09-05 11:04+0200\n"
"POT-Creation-Date: 2018-11-10 00:50+0000\n"
"PO-Revision-Date: 2018-12-04 15:26+0100\n"
"Last-Translator: Daniel Mustieles <daniel.mustieles@gmail.com>\n"
"Language-Team: es <gnome-es-list@gnome.org>\n"
"Language: es\n"
......@@ -25,12 +25,12 @@ msgstr ""
#. * translatable for transliteration only).
#.
#: data/org.gnome.Devhelp.appdata.xml.in:6 data/org.gnome.Devhelp.desktop.in:3
#: src/dh-app.c:154 src/dh-app.c:499
#: src/dh-app.c:270 src/dh-app.c:562
msgid "Devhelp"
msgstr "DevHelp"
#: data/org.gnome.Devhelp.appdata.xml.in:7 data/org.gnome.Devhelp.desktop.in:4
#: src/dh-app.c:156
#: src/dh-app.c:272
msgid "A developer tool for browsing and searching API documentation"
msgstr ""
"Una herramienta para desarrolladores que sirve para explorar y buscar "
......@@ -197,7 +197,7 @@ msgstr "lenguaje: %s"
msgid "Language: Undefined"
msgstr "Lenguaje: indefinido"
#: devhelp/dh-book-tree.c:759
#: devhelp/dh-book-tree.c:755
msgid "_Collapse All"
msgstr "_Contraer todo"
......@@ -266,7 +266,7 @@ msgstr "Propiedad"
msgid "Signal"
msgstr "Señal"
#: devhelp/dh-web-view.c:661
#: devhelp/dh-web-view.c:652
msgid "Empty Page"
msgstr "Página vacía"
......@@ -278,38 +278,156 @@ msgstr "Soporte para DevHelp"
msgid "Show API Documentation"
msgstr "Mostrar la documentación de la API"
#: src/dh-app.c:158
#. action, icon, label, accel, tooltip
#. Actions related to the whole application
#: src/dh-app.c:51
msgid "New _Window"
msgstr "_Ventana nueva"
#: src/dh-app.c:52
#| msgctxt "shortcut window"
#| msgid "Open a new window"
msgid "Open a new window"
msgstr "Abrir una ventana nueva"
#: src/dh-app.c:53
msgid "_Preferences"
msgstr "Prefere_ncias"
#: src/dh-app.c:54
msgid "_Keyboard Shortcuts"
msgstr "_Atajos del teclado"
#: src/dh-app.c:55
msgid "_Help"
msgstr "Ay_uda"
#: src/dh-app.c:56
msgid "_About Devhelp"
msgstr "_Acerca de DevHelp"
#: src/dh-app.c:57
msgid "_Quit"
msgstr "_Salir"
#: src/dh-app.c:58
#| msgctxt "shortcut window"
#| msgid "Close all windows"
msgid "Close all windows"
msgstr "Cerrar todas las ventanas"
#. Actions related to the current main window
#: src/dh-app.c:61
msgid "_Side Panel"
msgstr "_Panel lateral"
#: src/dh-app.c:62
#| msgctxt "shortcut window"
#| msgid "Toggle side panel visibility"
msgid "Toggle side panel visibility"
msgstr "Conmutar la visibilidad del panel lateral"
#: src/dh-app.c:63
msgid "_Print"
msgstr "_Imprimir"
#: src/dh-app.c:64
msgid "_Find"
msgstr "_Buscar"
#: src/dh-app.c:65
#| msgctxt "shortcut window"
#| msgid "Find in current page"
msgid "Find in current page"
msgstr "Buscar en la página actual"
#: src/dh-app.c:66
msgid "_Larger Text"
msgstr "Texto más _grande"
#: src/dh-app.c:67
msgid "Larger text"
msgstr "Texto más grande"
#: src/dh-app.c:68
msgid "S_maller Text"
msgstr "Texto más _pequeño"
#: src/dh-app.c:69
msgid "Smaller text"
msgstr "Texto más pequeño"
#: src/dh-app.c:70
msgid "_Normal Size"
msgstr "Tamaño _normal"
#: src/dh-app.c:71
msgid "Normal size"
msgstr "Tamaño normal"
#. action, icon, label, accel, tooltip
#: src/dh-app.c:111
#| msgctxt "shortcut window"
#| msgid "Open a new tab"
msgid "Open a new tab"
msgstr "Abrir una pestaña nueva"
#: src/dh-app.c:112
#| msgctxt "shortcut window"
#| msgid "Close the current window"
msgid "Close the current tab"
msgstr "Cerrar la pestaña actual"
#: src/dh-app.c:113
#| msgctxt "shortcut window"
#| msgid "Go back"
msgid "Go back"
msgstr "Atrás"
#: src/dh-app.c:114
#| msgctxt "shortcut window"
#| msgid "Go forward"
msgid "Go forward"
msgstr "Adelante"
#: src/dh-app.c:115
#| msgctxt "shortcut window"
#| msgid "Focus global search"
msgid "Focus global search"
msgstr "Dar el foco a la búsqueda global"
#: src/dh-app.c:274
msgid "translator-credits"
msgstr ""
"Daniel Mustieles <daniel.mustieles@gmail.com>, 2014\n"
"Jorge González <jorgegonz@svn.gnome.org>, 2007-2009\n"
"Francisco Javier F. Serrador <serrador@cvs.gnome.org>, 2003, 2004, 2006"
#: src/dh-app.c:160
#: src/dh-app.c:276
msgid "Devhelp Website"
msgstr "Página web de Devhelp"
#: src/dh-app.c:403
#: src/dh-app.c:451
msgid "Opens a new Devhelp window"
msgstr "Abre una ventana de Devhelp nueva"
#: src/dh-app.c:408
#: src/dh-app.c:456
msgid "Search for a keyword"
msgstr "Buscar una palabra clave"
#: src/dh-app.c:409 src/dh-app.c:414
#: src/dh-app.c:457 src/dh-app.c:462
msgid "KEYWORD"
msgstr "PALABRACLAVE"
#: src/dh-app.c:413
#: src/dh-app.c:461
msgid "Search and display any hit in the assistant window"
msgstr "Buscar y mostrar cualquier coincidencia en la ventana del asistente"
#: src/dh-app.c:418
#: src/dh-app.c:466
msgid "Display the version and exit"
msgstr "Muestra la versión y sale"
#: src/dh-app.c:423
#: src/dh-app.c:471
msgid "Quit any running Devhelp"
msgstr "Termina cualquier DevHelp en ejecución"
......@@ -354,167 +472,53 @@ msgstr "Anchura _fija:"
msgid "Fonts"
msgstr "Tipografías"
#: src/dh-window.ui:7 src/dh-window.ui:45
msgid "_Side Panel"
msgstr "_Panel lateral"
#: src/dh-window.ui:13 src/dh-window.ui:51
msgid "_Print"
msgstr "_Imprimir"
#: src/dh-window.ui:17 src/dh-window.ui:55
msgid "_Find"
msgstr "_Buscar"
#: src/dh-window.ui:23 src/dh-window.ui:61
msgid "_Larger Text"
msgstr "Texto más _grande"
#: src/dh-window.ui:27 src/dh-window.ui:65
msgid "S_maller Text"
msgstr "Texto más _pequeño"
#: src/dh-window.ui:31 src/dh-window.ui:69
msgid "_Normal Size"
msgstr "Tamaño _normal"
#: src/dh-window.ui:39 src/menus.ui:29
msgid "New _Window"
msgstr "_Ventana nueva"
#: src/dh-window.ui:75 src/menus.ui:35
msgid "_Preferences"
msgstr "Prefere_ncias"
#: src/dh-window.ui:81 src/menus.ui:41
msgid "_Keyboard Shortcuts"
msgstr "_Atajos del teclado"
#: src/dh-window.ui:85 src/menus.ui:45
msgid "_Help"
msgstr "Ay_uda"
#: src/dh-window.ui:89
msgid "_About Devhelp"
msgstr "_Acerca de DevHelp"
#. General group
#: src/dh-window.c:393
#| msgctxt "shortcut window"
#| msgid "General"
msgid "General"
msgstr "General"
#: src/dh-window.ui:93 src/menus.ui:53
msgid "_Quit"
msgstr "_Salir"
#. Zoom group
#: src/dh-window.c:407
#| msgctxt "shortcut window"
#| msgid "Zoom"
msgid "Zoom"
msgstr "Ampliación"
#: src/dh-window.ui:121
#: src/dh-window.c:552
msgid "Back"
msgstr "Atrás"
#: src/dh-window.ui:140
#: src/dh-window.c:556
msgid "Forward"
msgstr "Adelante"
#: src/dh-window.ui:186
#: src/dh-window.c:574
msgid "New Tab"
msgstr "Pestaña nueva"
#: src/help-overlay.ui:14
#| msgid "General"
msgctxt "shortcut window"
msgid "General"
msgstr "General"
#: src/help-overlay.ui:19
#| msgid "Focus global search"
msgctxt "shortcut window"
msgid "Focus global search"
msgstr "Dar el foco a la búsqueda global"
#: src/help-overlay.ui:26
#| msgid "Find in current page"
msgctxt "shortcut window"
msgid "Find in current page"
msgstr "Buscar en la página actual"
#: src/help-overlay.ui:33
#| msgid "Open a new window"
msgctxt "shortcut window"
msgid "Open a new window"
msgstr "Abrir una ventana nueva"
#: src/help-overlay.ui:40
#| msgid "Open a new tab"
msgctxt "shortcut window"
msgid "Open a new tab"
msgstr "Abrir una pestaña nueva"
#: src/help-overlay.ui:47
#| msgid "Toggle side panel visibility"
msgctxt "shortcut window"
msgid "Toggle side panel visibility"
msgstr "Conmutar la visibilidad del panel lateral"
#: src/help-overlay.ui:54
#| msgid "Go back"
msgctxt "shortcut window"
msgid "Go back"
msgstr "Atrás"
#: src/help-overlay.ui:61
#| msgid "Go forward"
msgctxt "shortcut window"
msgid "Go forward"
msgstr "Adelante"
#: src/help-overlay.ui:68
msgctxt "shortcut window"
msgid "Print"
msgstr "Imprimir"
#: src/help-overlay.ui:75
#| msgid "Close the current tab"
msgctxt "shortcut window"
msgid "Close the current window"
msgstr "Cerrar la ventana actual"
#: src/help-overlay.ui:82
#| msgid "Close all windows"
msgctxt "shortcut window"
msgid "Close all windows"
msgstr "Cerrar todas las ventanas"
#: src/help-overlay.ui:90
#| msgid "Zoom"
msgctxt "shortcut window"
msgid "Zoom"
msgstr "Ampliación"
#: src/help-overlay.ui:95
#| msgid "Zoom in"
msgctxt "shortcut window"
msgid "Zoom in"
msgstr "Acercar"
#: src/help-overlay.ui:102
#| msgid "Zoom out"
msgctxt "shortcut window"
msgid "Zoom out"
msgstr "Alejar"
#: src/help-overlay.ui:109
#| msgid "Reset zoom"
msgctxt "shortcut window"
msgid "Reset Zoom"
msgstr "Restaurar nivel de ampliación"
#~ msgctxt "shortcut window"
#~ msgid "Print"
#~ msgstr "Imprimir"
#: src/menus.ui:49
msgid "_About"
msgstr "_Acerca de"
#~| msgid "Zoom in"
#~ msgctxt "shortcut window"
#~ msgid "Zoom in"
#~ msgstr "Acercar"
#~ msgid "Larger text"
#~ msgstr "Texto más grande"
#~| msgid "Zoom out"
#~ msgctxt "shortcut window"
#~ msgid "Zoom out"
#~ msgstr "Alejar"
#~ msgid "Smaller text"
#~ msgstr "Texto más pequeño"
#~| msgid "Reset zoom"
#~ msgctxt "shortcut window"
#~ msgid "Reset Zoom"
#~ msgstr "Restaurar nivel de ampliación"
#~ msgid "Normal size"
#~ msgstr "Tamaño normal"
#~ msgid "_About"
#~ msgstr "_Acerca de"
#~ msgid "devhelp"
#~ msgstr "devhelp"
......
......@@ -14,8 +14,8 @@ msgid ""
msgstr ""
"Project-Id-Version: devhelp\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/devhelp/issues\n"
"POT-Creation-Date: 2018-08-30 18:43+0000\n"
"PO-Revision-Date: 2018-09-01 01:48+0300\n"
"POT-Creation-Date: 2018-10-12 12:52+0000\n"
"PO-Revision-Date: 2019-02-05 22:11+0200\n"
"Last-Translator: Jiri Grönroos <jiri.gronroos+l10n@iki.fi>\n"
"Language-Team: suomi <lokalisointi-lista@googlegroups.com>\n"
"Language: fi\n"
......@@ -30,12 +30,12 @@ msgstr ""
#. * translatable for transliteration only).
#.
#: data/org.gnome.Devhelp.appdata.xml.in:6 data/org.gnome.Devhelp.desktop.in:3
#: src/dh-app.c:154 src/dh-app.c:499
#: src/dh-app.c:270 src/dh-app.c:562
msgid "Devhelp"
msgstr "Devhelp"
#: data/org.gnome.Devhelp.appdata.xml.in:7 data/org.gnome.Devhelp.desktop.in:4
#: src/dh-app.c:156
#: src/dh-app.c:272
msgid "A developer tool for browsing and searching API documentation"
msgstr "Kehittäjätyökalu rajapintadokumentaation selaamiseen ja hakemiseen"
......@@ -282,40 +282,140 @@ msgstr "Devhelp-tuki"
msgid "Show API Documentation"
msgstr "Näytä API-dokumentaatio"
#: src/dh-app.c:158
#. action, icon, label, accel, tooltip
#. Actions related to the whole application
#: src/dh-app.c:51
msgid "New _Window"
msgstr "_Uusi ikkuna"
#: src/dh-app.c:52
msgid "Open a new window"
msgstr "Avaa uusi ikkuna"
#: src/dh-app.c:53
msgid "_Preferences"
msgstr "_Asetukset"
#: src/dh-app.c:54
msgid "_Keyboard Shortcuts"
msgstr "_Pikanpääimet"
#: src/dh-app.c:55
msgid "_Help"
msgstr "_Ohje"
#: src/dh-app.c:56
msgid "_About Devhelp"
msgstr "_Tietoja - Devhelp"
#: src/dh-app.c:57
msgid "_Quit"
msgstr "_Lopeta"
#: src/dh-app.c:58
msgid "Close all windows"
msgstr "Sulje kaikki ikkunat"
#. Actions related to the current main window
#: src/dh-app.c:61
msgid "_Side Panel"
msgstr "_Sivupaneeli"
#: src/dh-app.c:62
msgid "Toggle side panel visibility"
msgstr "Sivupaneeli päällä/pois"
#: src/dh-app.c:63
msgid "_Print"
msgstr "_Tulosta"
#: src/dh-app.c:64
msgid "_Find"
msgstr "_Etsi"
#: src/dh-app.c:65
msgid "Find in current page"
msgstr "Etsi nykyiseltä sivulta"
#: src/dh-app.c:66
msgid "_Larger Text"
msgstr "_Suurempi teksti"