Merge branch 'wip/714921-composer-lists'. Fixes Bug 714921.

This commit is contained in:
Michael James Gratton 2017-12-12 23:39:27 +11:00
commit 272417b2c6
10 changed files with 838 additions and 12 deletions

View file

@ -7,6 +7,10 @@ set(ICON_FILES
text-x-generic-symbolic.svg
edit-symbolic.svg
format-text-remove-symbolic.svg
format-ordered-list-symbolic.svg
format-ordered-list-symbolic-rtl.svg
format-unordered-list-symbolic.svg
format-unordered-list-symbolic-rtl.svg
mail-drafts-symbolic.svg
mail-drafts-symbolic-rtl.svg
mail-forward-symbolic.svg

View file

@ -0,0 +1,162 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
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="format-ordered-list-symbolic-rtl.svg"
inkscape:export-filename="/home/sam/dev/RESOURCES/gnome-icon-theme-symbolic/src/gnome-stencils.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90"
height="16"
id="svg7384"
version="1.1"
inkscape:version="0.92.2 5c3e80d, 2017-08-06"
width="16">
<metadata
id="metadata90">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<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-nodes="true"
inkscape:bbox-paths="true"
bordercolor="#666666"
borderopacity="1"
inkscape:current-layer="layer12"
inkscape:cx="1.9160332"
inkscape:cy="7.2216409"
gridtolerance="10"
inkscape:guide-bbox="true"
guidetolerance="10"
id="namedview88"
inkscape:object-nodes="true"
inkscape:object-paths="false"
objecttolerance="10"
pagecolor="#3a3b39"
inkscape:pageopacity="1"
inkscape:pageshadow="2"
showborder="true"
showgrid="true"
showguides="true"
inkscape:snap-bbox="true"
inkscape:snap-bbox-midpoints="false"
inkscape:snap-global="true"
inkscape:snap-grids="true"
inkscape:snap-nodes="false"
inkscape:snap-others="false"
inkscape:snap-to-guides="true"
inkscape:window-height="1471"
inkscape:window-maximized="1"
inkscape:window-width="2560"
inkscape:window-x="0"
inkscape:window-y="55"
inkscape:zoom="40.96">
<inkscape:grid
dotted="false"
empspacing="2"
enabled="true"
id="grid4866"
originx="199.9998"
originy="650"
snapvisiblegridlinesonly="true"
spacingx="1"
spacingy="1"
type="xygrid"
visible="true" />
</sodipodi:namedview>
<title
id="title9167">Gnome Symbolic Icon Theme</title>
<defs
id="defs7386">
<linearGradient
gradientTransform="matrix(-2.7365795,0.28202934,-0.18908311,-0.99988321,239.54008,-879.45557)"
id="linearGradient19282"
osb:paint="solid">
<stop
id="stop19284"
offset="0"
style="stop-color:#666666;stop-opacity:1;" />
</linearGradient>
</defs>
<g
inkscape:groupmode="layer"
id="layer12"
inkscape:label="actions"
style="display:inline"
transform="translate(-41.000401,-867)">
<rect
height="2"
id="rect5356"
inkscape:label="a"
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;enable-background:new"
width="5.999999"
x="-49.222195"
y="874"
transform="scale(-1,1)" />
<rect
height="2"
id="rect5358"
inkscape:label="a"
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;enable-background:new"
width="5.999999"
x="-49.222198"
y="878.98438"
transform="scale(-1,1)" />
<rect
height="2"
id="rect5358-3"
inkscape:label="a"
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;enable-background:new"
width="5.999999"
x="-49.222195"
y="869"
transform="scale(-1,1)" />
<g
aria-label="1"
transform="matrix(1.3334183,0,0,1.0799312,-0.58323683,-173.99998)"
style="color:#bebebe;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:2.73056865px;line-height:1.25;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans Bold';letter-spacing:0px;word-spacing:0px;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:0.05688684;marker:none"
id="text3813">
<path
d="m 39.195934,968.56287 v -0.54427 h 0.908854 v -2.50261 l -0.880208,0.54948 v -0.57552 l 0.919271,-0.59635 h 0.692708 v 3.125 h 0.841146 v 0.54427 z"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:5.33333349px;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans Bold';fill:#bebebe;fill-opacity:1;stroke-width:0.05688684"
id="path8361"
inkscape:connector-curvature="0" />
</g>
<g
aria-label="2"
transform="matrix(1.3159259,0,0,1.0942866,-0.58323683,-175)"
style="color:#bebebe;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:2.73056865px;line-height:1.25;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans Bold';letter-spacing:0px;word-spacing:0px;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:0.05688684;marker:none"
id="text4622">
<path
d="m 39.671327,961.39124 v -0.50782 q 0.143229,-0.3151 0.40625,-0.61458 0.265625,-0.29948 0.666667,-0.625 0.385416,-0.3125 0.539062,-0.51563 0.15625,-0.20312 0.15625,-0.39843 0,-0.47917 -0.481771,-0.47917 -0.234375,0 -0.359375,0.1276 -0.122396,0.125 -0.158854,0.37761 l -0.736979,-0.0417 q 0.0625,-0.51041 0.380208,-0.77864 0.320313,-0.26823 0.869792,-0.26823 0.59375,0 0.911458,0.27083 0.317709,0.27083 0.317709,0.76042 0,0.25781 -0.101563,0.46614 -0.101562,0.20834 -0.260416,0.38542 -0.158855,0.17448 -0.354167,0.32812 -0.192708,0.15365 -0.375,0.29948 -0.182292,0.14584 -0.333334,0.29427 -0.148437,0.14844 -0.221354,0.31771 h 1.703125 v 0.60157 z"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:5.33333349px;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans Bold';fill:#bebebe;fill-opacity:1;stroke-width:0.12312645"
id="path8358"
inkscape:connector-curvature="0" />
</g>
<g
aria-label="3"
transform="matrix(1.2650125,0,0,1.1383287,-0.58323683,-175.9969)"
style="color:#bebebe;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:2.73056865px;line-height:1.25;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans Bold';letter-spacing:0px;word-spacing:0px;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:0.05688684;marker:none"
id="text4626">
<path
d="m 43.938438,928.47316 q 0,0.51563 -0.338541,0.79688 -0.338542,0.28125 -0.963542,0.28125 -0.591146,0 -0.940104,-0.27083 -0.348958,-0.27344 -0.408854,-0.78646 l 0.744791,-0.0651 q 0.07031,0.52865 0.601563,0.52865 0.263021,0 0.408854,-0.13021 0.145833,-0.13021 0.145833,-0.39844 0,-0.24479 -0.177083,-0.375 -0.177083,-0.1302 -0.526042,-0.1302 h -0.255208 v -0.59115 h 0.239583 q 0.315105,0 0.473959,-0.1276 0.158854,-0.13021 0.158854,-0.3698 0,-0.22656 -0.127604,-0.35416 -0.125,-0.13021 -0.367188,-0.13021 -0.226562,0 -0.367187,0.125 -0.138021,0.125 -0.158854,0.35417 l -0.731771,-0.0521 q 0.05729,-0.47396 0.393229,-0.74219 0.335937,-0.26822 0.877604,-0.26822 0.575521,0 0.898438,0.26041 0.32552,0.25781 0.32552,0.71615 0,0.34375 -0.203125,0.5651 -0.20052,0.22136 -0.580729,0.29427 v 0.0104 q 0.421875,0.0495 0.648438,0.27865 0.229166,0.22656 0.229166,0.58072 z"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:5.33333349px;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans Bold';fill:#bebebe;fill-opacity:1;stroke-width:0.12352152"
id="path8355"
inkscape:connector-curvature="0" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 8.2 KiB

View file

@ -0,0 +1,159 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
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="format-ordered-list-symbolic.svg"
inkscape:export-filename="/home/sam/dev/RESOURCES/gnome-icon-theme-symbolic/src/gnome-stencils.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90"
height="16"
id="svg7384"
version="1.1"
inkscape:version="0.92.2 5c3e80d, 2017-08-06"
width="16">
<metadata
id="metadata90">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<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-nodes="true"
inkscape:bbox-paths="true"
bordercolor="#666666"
borderopacity="1"
inkscape:current-layer="layer12"
inkscape:cx="9.4843926"
inkscape:cy="7.270469"
gridtolerance="10"
inkscape:guide-bbox="true"
guidetolerance="10"
id="namedview88"
inkscape:object-nodes="true"
inkscape:object-paths="false"
objecttolerance="10"
pagecolor="#3a3b39"
inkscape:pageopacity="1"
inkscape:pageshadow="2"
showborder="true"
showgrid="true"
showguides="true"
inkscape:snap-bbox="true"
inkscape:snap-bbox-midpoints="false"
inkscape:snap-global="true"
inkscape:snap-grids="true"
inkscape:snap-nodes="false"
inkscape:snap-others="false"
inkscape:snap-to-guides="true"
inkscape:window-height="1471"
inkscape:window-maximized="1"
inkscape:window-width="2560"
inkscape:window-x="0"
inkscape:window-y="55"
inkscape:zoom="40.96">
<inkscape:grid
dotted="false"
empspacing="2"
enabled="true"
id="grid4866"
originx="199.9998"
originy="650"
snapvisiblegridlinesonly="true"
spacingx="1"
spacingy="1"
type="xygrid"
visible="true" />
</sodipodi:namedview>
<title
id="title9167">Gnome Symbolic Icon Theme</title>
<defs
id="defs7386">
<linearGradient
gradientTransform="matrix(-2.7365795,0.28202934,-0.18908311,-0.99988321,239.54008,-879.45557)"
id="linearGradient19282"
osb:paint="solid">
<stop
id="stop19284"
offset="0"
style="stop-color:#666666;stop-opacity:1;" />
</linearGradient>
</defs>
<g
inkscape:groupmode="layer"
id="layer12"
inkscape:label="actions"
style="display:inline"
transform="translate(-41.000401,-867)">
<rect
height="2"
id="rect5356"
inkscape:label="a"
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;enable-background:new"
width="5.999999"
x="49.000202"
y="874" />
<rect
height="2"
id="rect5358"
inkscape:label="a"
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;enable-background:new"
width="5.999999"
x="49.000198"
y="878.98438" />
<rect
height="2"
id="rect5358-3"
inkscape:label="a"
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;enable-background:new"
width="5.999999"
x="49.000202"
y="869" />
<g
aria-label="1"
transform="matrix(1.3334183,0,0,1.0799312,-8.9823304,-173.99998)"
style="color:#bebebe;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:2.73056865px;line-height:1.25;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans Bold';letter-spacing:0px;word-spacing:0px;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:0.05688684;marker:none"
id="text3813">
<path
d="m 39.195934,968.56287 v -0.54427 h 0.908854 v -2.50261 l -0.880208,0.54948 v -0.57552 l 0.919271,-0.59635 h 0.692708 v 3.125 h 0.841146 v 0.54427 z"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:5.33333349px;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans Bold';fill:#bebebe;fill-opacity:1;stroke-width:0.05688684"
id="path8361"
inkscape:connector-curvature="0" />
</g>
<g
aria-label="2"
transform="matrix(1.3159259,0,0,1.0942866,-8.9823304,-175)"
style="color:#bebebe;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:2.73056865px;line-height:1.25;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans Bold';letter-spacing:0px;word-spacing:0px;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:0.05688684;marker:none"
id="text4622">
<path
d="m 39.671327,961.39124 v -0.50782 q 0.143229,-0.3151 0.40625,-0.61458 0.265625,-0.29948 0.666667,-0.625 0.385416,-0.3125 0.539062,-0.51563 0.15625,-0.20312 0.15625,-0.39843 0,-0.47917 -0.481771,-0.47917 -0.234375,0 -0.359375,0.1276 -0.122396,0.125 -0.158854,0.37761 l -0.736979,-0.0417 q 0.0625,-0.51041 0.380208,-0.77864 0.320313,-0.26823 0.869792,-0.26823 0.59375,0 0.911458,0.27083 0.317709,0.27083 0.317709,0.76042 0,0.25781 -0.101563,0.46614 -0.101562,0.20834 -0.260416,0.38542 -0.158855,0.17448 -0.354167,0.32812 -0.192708,0.15365 -0.375,0.29948 -0.182292,0.14584 -0.333334,0.29427 -0.148437,0.14844 -0.221354,0.31771 h 1.703125 v 0.60157 z"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:5.33333349px;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans Bold';fill:#bebebe;fill-opacity:1;stroke-width:0.12312645"
id="path8358"
inkscape:connector-curvature="0" />
</g>
<g
aria-label="3"
transform="matrix(1.2650125,0,0,1.1383287,-8.9823304,-175.9969)"
style="color:#bebebe;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:2.73056865px;line-height:1.25;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans Bold';letter-spacing:0px;word-spacing:0px;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:0.05688684;marker:none"
id="text4626">
<path
d="m 43.938438,928.47316 q 0,0.51563 -0.338541,0.79688 -0.338542,0.28125 -0.963542,0.28125 -0.591146,0 -0.940104,-0.27083 -0.348958,-0.27344 -0.408854,-0.78646 l 0.744791,-0.0651 q 0.07031,0.52865 0.601563,0.52865 0.263021,0 0.408854,-0.13021 0.145833,-0.13021 0.145833,-0.39844 0,-0.24479 -0.177083,-0.375 -0.177083,-0.1302 -0.526042,-0.1302 h -0.255208 v -0.59115 h 0.239583 q 0.315105,0 0.473959,-0.1276 0.158854,-0.13021 0.158854,-0.3698 0,-0.22656 -0.127604,-0.35416 -0.125,-0.13021 -0.367188,-0.13021 -0.226562,0 -0.367187,0.125 -0.138021,0.125 -0.158854,0.35417 l -0.731771,-0.0521 q 0.05729,-0.47396 0.393229,-0.74219 0.335937,-0.26822 0.877604,-0.26822 0.575521,0 0.898438,0.26041 0.32552,0.25781 0.32552,0.71615 0,0.34375 -0.203125,0.5651 -0.20052,0.22136 -0.580729,0.29427 v 0.0104 q 0.421875,0.0495 0.648438,0.27865 0.229166,0.22656 0.229166,0.58072 z"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:5.33333349px;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans Bold';fill:#bebebe;fill-opacity:1;stroke-width:0.12352152"
id="path8355"
inkscape:connector-curvature="0" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 8.1 KiB

View file

@ -0,0 +1,205 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
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="format-unordered-list-symbolic-rtl.svg"
inkscape:export-filename="/home/sam/dev/RESOURCES/gnome-icon-theme-symbolic/src/gnome-stencils.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90"
height="16"
id="svg7384"
version="1.1"
inkscape:version="0.92.2 5c3e80d, 2017-08-06"
width="16">
<metadata
id="metadata90">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<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-nodes="true"
inkscape:bbox-paths="true"
bordercolor="#666666"
borderopacity="1"
inkscape:current-layer="layer12"
inkscape:cx="-7.7139057"
inkscape:cy="6.2564495"
gridtolerance="10"
inkscape:guide-bbox="true"
guidetolerance="10"
id="namedview88"
inkscape:object-nodes="true"
inkscape:object-paths="false"
objecttolerance="10"
pagecolor="#3a3b39"
inkscape:pageopacity="1"
inkscape:pageshadow="2"
showborder="false"
showgrid="true"
showguides="true"
inkscape:snap-bbox="true"
inkscape:snap-bbox-midpoints="false"
inkscape:snap-global="true"
inkscape:snap-grids="true"
inkscape:snap-nodes="false"
inkscape:snap-others="false"
inkscape:snap-to-guides="true"
inkscape:window-height="1471"
inkscape:window-maximized="1"
inkscape:window-width="2560"
inkscape:window-x="0"
inkscape:window-y="55"
inkscape:zoom="22.627417">
<inkscape:grid
dotted="false"
empspacing="2"
enabled="true"
id="grid4866"
originx="199.9998"
originy="650"
snapvisiblegridlinesonly="true"
spacingx="1"
spacingy="1"
type="xygrid"
visible="true" />
</sodipodi:namedview>
<title
id="title9167">Gnome Symbolic Icon Theme</title>
<defs
id="defs7386">
<linearGradient
gradientTransform="matrix(-2.7365795,0.28202934,-0.18908311,-0.99988321,239.54008,-879.45557)"
id="linearGradient19282"
osb:paint="solid">
<stop
id="stop19284"
offset="0"
style="stop-color:#666666;stop-opacity:1;" />
</linearGradient>
</defs>
<g
inkscape:groupmode="layer"
id="layer9"
inkscape:label="status"
style="display:inline"
transform="translate(-41.000401,-867)" />
<g
inkscape:groupmode="layer"
id="layer10"
inkscape:label="devices"
style="display:inline"
transform="translate(-41.000401,-867)" />
<g
inkscape:groupmode="layer"
id="layer11"
inkscape:label="apps"
transform="translate(-41.000401,-867)" />
<g
inkscape:groupmode="layer"
id="layer13"
inkscape:label="places"
style="display:inline"
transform="translate(-41.000401,-867)" />
<g
inkscape:groupmode="layer"
id="layer14"
inkscape:label="mimetypes"
transform="translate(-41.000401,-867)" />
<g
inkscape:groupmode="layer"
id="layer15"
inkscape:label="emblems"
style="display:inline"
transform="translate(-41.000401,-867)" />
<g
inkscape:groupmode="layer"
id="g71291"
inkscape:label="emotes"
style="display:inline"
transform="translate(-41.000401,-867)" />
<g
inkscape:groupmode="layer"
id="g4953"
inkscape:label="categories"
style="display:inline"
transform="translate(-41.000401,-867)" />
<g
inkscape:groupmode="layer"
id="layer12"
inkscape:label="actions"
style="display:inline"
transform="translate(-41.000401,-867)">
<rect
height="2"
id="rect5356"
inkscape:label="a"
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;enable-background:new"
width="5.999999"
x="-49.000198"
y="874"
transform="scale(-1,1)" />
<rect
height="2"
id="rect5358"
inkscape:label="a"
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;enable-background:new"
width="5.999999"
x="-49.000202"
y="878.98438"
transform="scale(-1,1)" />
<rect
height="4.0000033"
id="rect5398"
rx="0.38461545"
ry="0.3787879"
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;enable-background:new"
width="4.0000014"
x="-55.000198"
y="873"
transform="scale(-1,1)" />
<rect
height="3.9791701"
id="rect5401"
rx="0.38461545"
ry="0.37878785"
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;enable-background:new"
width="4.0000014"
x="-55.000202"
y="878"
transform="scale(-1,1)" />
<rect
height="2"
id="rect5358-3"
inkscape:label="a"
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;enable-background:new"
width="5.999999"
x="-49.000198"
y="869"
transform="scale(-1,1)" />
<rect
height="3.9791701"
id="rect5401-6"
rx="0.38461545"
ry="0.37878785"
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;enable-background:new"
width="4.0000014"
x="-55.000198"
y="868.01562"
transform="scale(-1,1)" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 6.4 KiB

View file

@ -0,0 +1,199 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
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="format-unordered-list-symbolic.svg"
inkscape:export-filename="/home/sam/dev/RESOURCES/gnome-icon-theme-symbolic/src/gnome-stencils.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90"
height="16"
id="svg7384"
version="1.1"
inkscape:version="0.92.2 5c3e80d, 2017-08-06"
width="16">
<metadata
id="metadata90">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<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-nodes="true"
inkscape:bbox-paths="true"
bordercolor="#666666"
borderopacity="1"
inkscape:current-layer="layer12"
inkscape:cx="5.9862882"
inkscape:cy="6.3448378"
gridtolerance="10"
inkscape:guide-bbox="true"
guidetolerance="10"
id="namedview88"
inkscape:object-nodes="true"
inkscape:object-paths="false"
objecttolerance="10"
pagecolor="#3a3b39"
inkscape:pageopacity="1"
inkscape:pageshadow="2"
showborder="false"
showgrid="true"
showguides="true"
inkscape:snap-bbox="true"
inkscape:snap-bbox-midpoints="false"
inkscape:snap-global="true"
inkscape:snap-grids="true"
inkscape:snap-nodes="false"
inkscape:snap-others="false"
inkscape:snap-to-guides="true"
inkscape:window-height="704"
inkscape:window-maximized="1"
inkscape:window-width="1366"
inkscape:window-x="0"
inkscape:window-y="27"
inkscape:zoom="22.627417">
<inkscape:grid
dotted="false"
empspacing="2"
enabled="true"
id="grid4866"
originx="199.9998"
originy="650"
snapvisiblegridlinesonly="true"
spacingx="1"
spacingy="1"
type="xygrid"
visible="true" />
</sodipodi:namedview>
<title
id="title9167">Gnome Symbolic Icon Theme</title>
<defs
id="defs7386">
<linearGradient
gradientTransform="matrix(-2.7365795,0.28202934,-0.18908311,-0.99988321,239.54008,-879.45557)"
id="linearGradient19282"
osb:paint="solid">
<stop
id="stop19284"
offset="0"
style="stop-color:#666666;stop-opacity:1;" />
</linearGradient>
</defs>
<g
inkscape:groupmode="layer"
id="layer9"
inkscape:label="status"
style="display:inline"
transform="translate(-41.000401,-867)" />
<g
inkscape:groupmode="layer"
id="layer10"
inkscape:label="devices"
style="display:inline"
transform="translate(-41.000401,-867)" />
<g
inkscape:groupmode="layer"
id="layer11"
inkscape:label="apps"
transform="translate(-41.000401,-867)" />
<g
inkscape:groupmode="layer"
id="layer13"
inkscape:label="places"
style="display:inline"
transform="translate(-41.000401,-867)" />
<g
inkscape:groupmode="layer"
id="layer14"
inkscape:label="mimetypes"
transform="translate(-41.000401,-867)" />
<g
inkscape:groupmode="layer"
id="layer15"
inkscape:label="emblems"
style="display:inline"
transform="translate(-41.000401,-867)" />
<g
inkscape:groupmode="layer"
id="g71291"
inkscape:label="emotes"
style="display:inline"
transform="translate(-41.000401,-867)" />
<g
inkscape:groupmode="layer"
id="g4953"
inkscape:label="categories"
style="display:inline"
transform="translate(-41.000401,-867)" />
<g
inkscape:groupmode="layer"
id="layer12"
inkscape:label="actions"
style="display:inline"
transform="translate(-41.000401,-867)">
<rect
height="2"
id="rect5356"
inkscape:label="a"
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;enable-background:new"
width="5.999999"
x="49.000202"
y="874" />
<rect
height="2"
id="rect5358"
inkscape:label="a"
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;enable-background:new"
width="5.999999"
x="49.000198"
y="878.98438" />
<rect
height="4.0000033"
id="rect5398"
rx="0.38461545"
ry="0.3787879"
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;enable-background:new"
width="4.0000014"
x="43.000202"
y="873" />
<rect
height="3.9791701"
id="rect5401"
rx="0.38461545"
ry="0.37878785"
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;enable-background:new"
width="4.0000014"
x="43.000198"
y="878" />
<rect
height="2"
id="rect5358-3"
inkscape:label="a"
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;enable-background:new"
width="5.999999"
x="49.000202"
y="869" />
<rect
height="3.9791701"
id="rect5401-6"
rx="0.38461545"
ry="0.37878785"
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;enable-background:new"
width="4.0000014"
x="43.000202"
y="868.01562" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 6.2 KiB

View file

@ -6,7 +6,11 @@ icon_files = files(
'detach-symbolic.svg',
'text-x-generic-symbolic.svg',
'edit-symbolic.svg',
'format-ordered-list-symbolic.svg',
'format-ordered-list-symbolic-rtl.svg',
'format-text-remove-symbolic.svg',
'format-unordered-list-symbolic.svg',
'format-unordered-list-symbolic-rtl.svg',
'mail-drafts-symbolic.svg',
'mail-drafts-symbolic-rtl.svg',
'mail-forward-symbolic.svg',

View file

@ -376,6 +376,14 @@ public class ComposerWebView : ClientWebView {
this.call.begin(Geary.JS.callable("geary.indentLine"), null);
}
public void insert_olist() {
this.call.begin(Geary.JS.callable("geary.insertOrderedList"), null);
}
public void insert_ulist() {
this.call.begin(Geary.JS.callable("geary.insertUnorderedList"), null);
}
/**
* Updates the signature block if it has not been deleted.
*/

View file

@ -67,6 +67,8 @@ public class ComposerWidget : Gtk.EventBox {
private const string ACTION_REMOVE_FORMAT = "remove-format";
private const string ACTION_INDENT = "indent";
private const string ACTION_OUTDENT = "outdent";
private const string ACTION_OLIST = "olist";
private const string ACTION_ULIST = "ulist";
private const string ACTION_JUSTIFY = "justify";
private const string ACTION_COLOR = "color";
private const string ACTION_INSERT_IMAGE = "insert-image";
@ -88,7 +90,8 @@ public class ComposerWidget : Gtk.EventBox {
private const string[] html_actions = {
ACTION_BOLD, ACTION_ITALIC, ACTION_UNDERLINE, ACTION_STRIKETHROUGH,
ACTION_FONT_SIZE, ACTION_FONT_FAMILY, ACTION_COLOR, ACTION_JUSTIFY,
ACTION_INSERT_IMAGE, ACTION_COPY_LINK, ACTION_PASTE_WITH_FORMATTING
ACTION_INSERT_IMAGE, ACTION_COPY_LINK, ACTION_PASTE_WITH_FORMATTING,
ACTION_OLIST, ACTION_ULIST
};
private const ActionEntry[] action_entries = {
@ -109,6 +112,8 @@ public class ComposerWidget : Gtk.EventBox {
{ACTION_FONT_FAMILY, on_font_family, "s", "'sans'" },
{ACTION_REMOVE_FORMAT, on_remove_format, null, "false" },
{ACTION_INDENT, on_indent },
{ACTION_OLIST, on_olist },
{ACTION_ULIST, on_ulist },
{ACTION_OUTDENT, on_action },
{ACTION_JUSTIFY, on_justify, "s", "'left'" },
{ACTION_COLOR, on_select_color },
@ -310,6 +315,8 @@ public class ComposerWidget : Gtk.EventBox {
[GtkChild]
private Gtk.Box font_style_buttons;
[GtkChild]
private Gtk.Box list_buttons;
[GtkChild]
private Gtk.Button insert_link_button;
[GtkChild]
private Gtk.Button remove_format_button;
@ -1748,6 +1755,7 @@ public class ComposerWidget : Gtk.EventBox {
this.insert_buttons.visible = compose_as_html;
this.font_style_buttons.visible = compose_as_html;
this.list_buttons.visible = compose_as_html;
this.remove_format_button.visible = compose_as_html;
this.menu_button.menu_model = (compose_as_html) ? this.html_menu : this.plain_menu;
@ -1806,6 +1814,14 @@ public class ComposerWidget : Gtk.EventBox {
this.editor.indent_line();
}
private void on_olist(SimpleAction action, Variant? param) {
this.editor.insert_olist();
}
private void on_ulist(SimpleAction action, Variant? param) {
this.editor.insert_ulist();
}
private void on_mouse_target_changed(WebKit.WebView web_view,
WebKit.HitTestResult hit_test,
uint modifiers) {

View file

@ -212,6 +212,12 @@ ComposerPageState.prototype = {
element.setAttribute("type", "cite");
}
},
insertOrderedList: function() {
document.execCommand("insertOrderedList", false, null);
},
insertUnorderedList: function() {
document.execCommand("insertUnorderedList", false, null);
},
updateSignature: function(signature) {
if (this.signaturePart != null) {
console.log(signature);

View file

@ -1,13 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.20.0 -->
<interface>
<requires lib="gtk+" version="3.14"/>
<requires lib="gtk+" version="3.20"/>
<template class="ComposerWidget" parent="GtkEventBox">
<property name="visible">True</property>
<signal name="drag_data_received" handler="on_drag_data_received"/>
<signal name="drag_drop" handler="on_drag_drop"/>
<signal name="drag_motion" handler="on_drag_motion"/>
<signal name="drag_leave" handler="on_drag_leave"/>
<property name="can_focus">False</property>
<signal name="drag-data-received" handler="on_drag_data_received" swapped="no"/>
<signal name="drag-drop" handler="on_drag_drop" swapped="no"/>
<signal name="drag-leave" handler="on_drag_leave" swapped="no"/>
<signal name="drag-motion" handler="on_drag_motion" swapped="no"/>
<child>
<object class="GtkBox" id="composer_container">
<property name="visible">True</property>
@ -506,6 +507,68 @@
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkBox" id="list_buttons">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkButton" id="ulist_button">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="focus_on_click">False</property>
<property name="receives_default">False</property>
<property name="tooltip_text" translatable="yes">Insert unordered list</property>
<property name="action_name">cmp.ulist</property>
<property name="always_show_image">True</property>
<child>
<object class="GtkImage" id="ulist_image">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="pixel_size">16</property>
<property name="icon_name">format-unordered-list-symbolic</property>
</object>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkButton" id="olist_button">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="focus_on_click">False</property>
<property name="receives_default">False</property>
<property name="tooltip_text" translatable="yes">Insert ordered list</property>
<property name="action_name">cmp.olist</property>
<property name="always_show_image">True</property>
<child>
<object class="GtkImage" id="olist_image">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="pixel_size">16</property>
<property name="icon_name">format-ordered-list-symbolic</property>
</object>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<style>
<class name="linked"/>
</style>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
<child>
<object class="GtkBox" id="indentation_buttons">
<property name="visible">True</property>
@ -565,7 +628,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
<property name="position">3</property>
</packing>
</child>
<child>
@ -627,7 +690,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">3</property>
<property name="position">4</property>
</packing>
</child>
<child>
@ -651,7 +714,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">4</property>
<property name="position">5</property>
</packing>
</child>
<child>
@ -675,7 +738,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">5</property>
<property name="position">6</property>
</packing>
</child>
<child>
@ -692,7 +755,7 @@
<property name="expand">False</property>
<property name="fill">True</property>
<property name="pack_type">end</property>
<property name="position">5</property>
<property name="position">7</property>
</packing>
</child>
<child>
@ -707,7 +770,7 @@
<property name="expand">False</property>
<property name="fill">True</property>
<property name="pack_type">end</property>
<property name="position">6</property>
<property name="position">8</property>
</packing>
</child>
</object>