some new status bar icons

This commit is contained in:
Izalia Mae 2021-09-07 00:08:45 -04:00
parent fe8e361557
commit 5572764a50
6 changed files with 421 additions and 21 deletions

View file

@ -485,6 +485,7 @@ class Window(Gtk.ApplicationWindow):
def set_icons(self):
## navigation bar
icon_set(self['navbar-prev-icon'], 'previous', 24)
icon_set(self['navbar-next-icon'], 'next', 24)
icon_set(self['navbar-stop-icon'], 'stop', 24)
@ -492,7 +493,13 @@ class Window(Gtk.ApplicationWindow):
icon_set(self['navbar-home-icon'], 'home', 24)
icon_set(self['navbar-go-icon'], 'go', 24)
icon_set(self['navbar-menu-icon'], 'menu', 24)
## status bar
icon_set(self['statusbar-debug-icon'], 'debug', 16)
icon_set(self['statusbar-toot-icon'], 'toot', 16)
icon_set(self['statusbar-reply-icon'], 'reply', 16)
icon_set(self['statusbar-boost-icon'], 'boost', 16)
icon_set(self['statusbar-favorite-icon'], 'favorite', 16)
def setup_signals(self):

View file

@ -0,0 +1,99 @@
<?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:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
sodipodi:docname="boost.svg"
inkscape:version="1.0.2 (e86c870879, 2021-01-15)"
id="svg8"
version="1.1"
viewBox="0 0 132.29167 132.29167"
height="500"
width="500">
<defs
id="defs2" />
<sodipodi:namedview
inkscape:window-maximized="1"
inkscape:window-y="36"
inkscape:window-x="36"
inkscape:window-height="990"
inkscape:window-width="1644"
units="px"
showgrid="true"
inkscape:document-rotation="0"
inkscape:current-layer="layer2"
inkscape:document-units="mm"
inkscape:cy="275.41979"
inkscape:cx="219.71492"
inkscape:zoom="1.4"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
borderopacity="1.0"
bordercolor="#666666"
pagecolor="#ffffff"
id="base">
<inkscape:grid
dotted="true"
id="grid1402"
type="xygrid" />
</sodipodi:namedview>
<metadata
id="metadata5">
<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></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
sodipodi:insensitive="true"
style="opacity:0.205882"
id="layer1"
inkscape:groupmode="layer"
inkscape:label="Guides">
<path
id="path1404"
d="M 0,0 132.29166,132.29166 Z"
style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path1406"
d="M 132.29166,0 0,132.29166 Z"
style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path1408"
d="M 0,66.145832 H 132.29166 Z"
style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path1410"
d="M 66.145832,0 V 132.29166 Z"
style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
<g
inkscape:label="Layer 1"
id="layer2"
inkscape:groupmode="layer">
<path
style="fill:#ffb580;fill-opacity:1;stroke:#000000;stroke-width:2.11667;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:stroke fill markers"
d="M 84.666667,34.395833 108.47917,23.8125 97.895833,47.625 39.6875,105.83333 26.458333,92.604167 Z"
id="path3426"
sodipodi:nodetypes="cccccc" />
<path
style="fill:#ffb580;fill-opacity:1;stroke:#000000;stroke-width:2.11667;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:stroke fill markers"
d="M 63.500001,13.229167 87.312503,2.6458333 76.72917,26.45833 18.520833,84.666667 5.2916667,71.4375 Z"
id="path3426-5"
sodipodi:nodetypes="cccccc" />
<path
style="fill:#ffb580;fill-opacity:1;stroke:#000000;stroke-width:2.11667;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:stroke fill markers"
d="M 105.83333,55.5625 129.64584,44.979167 119.0625,68.791667 60.854167,127 47.625,113.77083 Z"
id="path3426-3"
sodipodi:nodetypes="cccccc" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.7 KiB

View file

@ -0,0 +1,120 @@
<?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:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
sodipodi:docname="favorite.svg"
inkscape:version="1.0.2 (e86c870879, 2021-01-15)"
id="svg8"
version="1.1"
viewBox="0 0 132.29167 132.29167"
height="500"
width="500">
<defs
id="defs2" />
<sodipodi:namedview
inkscape:window-maximized="1"
inkscape:window-y="36"
inkscape:window-x="36"
inkscape:window-height="990"
inkscape:window-width="1644"
units="px"
showgrid="true"
inkscape:document-rotation="0"
inkscape:current-layer="layer6"
inkscape:document-units="mm"
inkscape:cy="256.34472"
inkscape:cx="262.18877"
inkscape:zoom="1.4"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
borderopacity="1.0"
bordercolor="#666666"
pagecolor="#ffffff"
id="base">
<inkscape:grid
dotted="true"
id="grid1402"
type="xygrid" />
</sodipodi:namedview>
<metadata
id="metadata5">
<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></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
sodipodi:insensitive="true"
style="display:none;opacity:0.205882"
id="layer1"
inkscape:groupmode="layer"
inkscape:label="Guides">
<path
id="path1404"
d="M 0,0 132.29166,132.29166 Z"
style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path1406"
d="M 132.29166,0 0,132.29166 Z"
style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path1408"
d="M 0,66.145832 H 132.29166 Z"
style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path1410"
d="M 66.145832,0 V 132.29166 Z"
style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
<g
inkscape:label="Layer 1"
id="layer2"
inkscape:groupmode="layer"
style="display:none">
<path
style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 66.145832,66.145832 66.145833,7.9375 Z"
id="path4047"
sodipodi:nodetypes="ccc" />
<path
style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 66.145834,66.145833 119.0625,39.6875 Z"
id="path4047-5"
sodipodi:nodetypes="ccc" />
<path
style="fill:none;stroke:#000000;stroke-width:0.270809px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 13.229167,39.6875 66.145833,66.145833 Z"
id="path4047-5-6"
sodipodi:nodetypes="ccc" />
<path
style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 23.8125,108.47917 66.145833,66.145833 Z"
id="path4047-5-6-2"
sodipodi:nodetypes="ccc" />
<path
style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 108.47917,108.47917 66.145833,66.145833 Z"
id="path4047-5-6-2-9"
sodipodi:nodetypes="ccc" />
</g>
<g
inkscape:groupmode="layer"
id="layer6"
inkscape:label="Layer 2">
<path
style="fill:#ffff80;stroke:#000000;stroke-width:2.11666667;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1;fill-opacity:1;stroke-miterlimit:4;stroke-dasharray:none;paint-order:stroke fill markers"
d="M 60.854166,7.9374999 H 71.437499 L 79.375,50.270833 l 39.6875,-15.875 2.64583,7.9375 -39.687497,23.8125 L 111.125,103.1875 103.1875,111.125 66.145833,74.083333 29.104167,111.125 l -7.9375,-7.9375 29.104166,-37.041667 -39.6875,-23.8125 2.645834,-7.9375 39.6875,15.875 z"
id="path4141"
sodipodi:nodetypes="cccccccccccccccc" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.5 KiB

View file

@ -0,0 +1,108 @@
<?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:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
sodipodi:docname="reply.svg"
inkscape:version="1.0.2 (e86c870879, 2021-01-15)"
id="svg8"
version="1.1"
viewBox="0 0 132.29167 132.29167"
height="500"
width="500">
<defs
id="defs2">
<filter
style="color-interpolation-filters:sRGB;"
inkscape:label="Blur"
id="filter1362">
<feGaussianBlur
stdDeviation="1.5 1.5"
result="blur"
id="feGaussianBlur1360" />
</filter>
<filter
style="color-interpolation-filters:sRGB;"
inkscape:label="Drop Shadow"
id="filter1454">
<feFlood
flood-opacity="0.603922"
flood-color="rgb(0,0,0)"
result="flood"
id="feFlood1444" />
<feComposite
in="flood"
in2="SourceGraphic"
operator="in"
result="composite1"
id="feComposite1446" />
<feGaussianBlur
in="composite1"
stdDeviation="3"
result="blur"
id="feGaussianBlur1448" />
<feOffset
dx="3"
dy="3"
result="offset"
id="feOffset1450" />
<feComposite
in="SourceGraphic"
in2="offset"
operator="over"
result="composite2"
id="feComposite1452" />
</filter>
</defs>
<sodipodi:namedview
inkscape:window-maximized="1"
inkscape:window-y="36"
inkscape:window-x="36"
inkscape:window-height="990"
inkscape:window-width="1644"
units="px"
showgrid="true"
inkscape:document-rotation="0"
inkscape:current-layer="layer2"
inkscape:document-units="mm"
inkscape:cy="244.50448"
inkscape:cx="167.1901"
inkscape:zoom="1.4"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
borderopacity="1.0"
bordercolor="#666666"
pagecolor="#ffffff"
id="base">
<inkscape:grid
dotted="true"
id="grid1402"
type="xygrid" />
</sodipodi:namedview>
<metadata
id="metadata5">
<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 />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
id="layer2"
inkscape:groupmode="layer">
<path
style="fill:#ff8080;fill-opacity:1;stroke:#000000;stroke-width:2.11667;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dasharray:none;stroke-opacity:1;paint-order:stroke fill markers"
d="m 108.47917,76.729173 -63.500003,-6e-6 -3e-6,34.395833 L 2.64583,66.14583 44.979164,23.812497 l 3e-6,31.75 84.666673,6e-6 -1e-5,50.270827 -21.16666,1e-5 z"
id="path846"
sodipodi:nodetypes="cccccccccc" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.1 KiB

View file

@ -0,0 +1,66 @@
<?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:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
sodipodi:docname="toot.svg"
inkscape:version="1.0.2 (e86c870879, 2021-01-15)"
id="svg8"
version="1.1"
viewBox="0 0 132.29167 132.29167"
height="500"
width="500">
<defs
id="defs2" />
<sodipodi:namedview
inkscape:window-maximized="1"
inkscape:window-y="36"
inkscape:window-x="36"
inkscape:window-height="990"
inkscape:window-width="1644"
units="px"
showgrid="true"
inkscape:document-rotation="0"
inkscape:current-layer="layer4"
inkscape:document-units="mm"
inkscape:cy="235.38048"
inkscape:cx="298.19645"
inkscape:zoom="1.4"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
borderopacity="1.0"
bordercolor="#666666"
pagecolor="#ffffff"
id="base">
<inkscape:grid
dotted="true"
id="grid1402"
type="xygrid" />
</sodipodi:namedview>
<metadata
id="metadata5">
<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></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:groupmode="layer"
id="layer4"
inkscape:label="Layer 2">
<path
style="fill:#80a0ff;fill-opacity:1;stroke:#000000;stroke-width:2.11667;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:stroke fill markers"
d="m 26.458333,47.625 47.625,0 47.624997,-37.041667 V 121.70833 l -47.624997,-37.041663 -47.625,0 -15.875,-18.520834 z"
id="path1484"
sodipodi:nodetypes="cccccccc" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

View file

@ -2987,11 +2987,23 @@ AND CONDITIONS OF THIS LICENSE.
<property name="can-focus">False</property>
<property name="icon-name">user-bookmarks</property>
</object>
<object class="GtkImage" id="statusbar-boost-icon">
<property name="name">toot-boost-icon</property>
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="icon-name">mail-forward</property>
</object>
<object class="GtkImage" id="statusbar-debug-icon">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="icon-name">emblem-system</property>
</object>
<object class="GtkImage" id="statusbar-favorite-icon">
<property name="name">toot-favorite-icon</property>
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="icon-name">mail-mark-notjunk</property>
</object>
<object class="GtkImage" id="statusbar-logins-close-icon">
<property name="visible">True</property>
<property name="can-focus">False</property>
@ -3154,6 +3166,12 @@ AND CONDITIONS OF THIS LICENSE.
</object>
</child>
</object>
<object class="GtkImage" id="statusbar-reply-icon">
<property name="name">toot-reply-icon</property>
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="icon-name">mail-reply-sender</property>
</object>
<object class="GtkImage" id="statusbar-siteoptions-close-icon">
<property name="visible">True</property>
<property name="can-focus">False</property>
@ -3456,12 +3474,6 @@ AND CONDITIONS OF THIS LICENSE.
<property name="can-focus">False</property>
<property name="icon-name">help-about</property>
</object>
<object class="GtkImage" id="statusbar-toot-boost-icon">
<property name="name">toot-boost-icon</property>
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="icon-name">mail-forward</property>
</object>
<object class="GtkImage" id="statusbar-toot-close-icon">
<property name="visible">True</property>
<property name="can-focus">False</property>
@ -3631,23 +3643,11 @@ AND CONDITIONS OF THIS LICENSE.
</object>
</child>
</object>
<object class="GtkImage" id="statusbar-toot-favorite-icon">
<property name="name">toot-favorite-icon</property>
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="icon-name">mail-mark-notjunk</property>
</object>
<object class="GtkImage" id="statusbar-toot-icon">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="icon-name">mail-send</property>
</object>
<object class="GtkImage" id="statusbar-toot-reply-icon">
<property name="name">toot-reply-icon</property>
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="icon-name">mail-reply-sender</property>
</object>
<object class="GtkBox" id="main-container">
<property name="visible">True</property>
<property name="can-focus">False</property>
@ -4227,7 +4227,7 @@ AND CONDITIONS OF THIS LICENSE.
<property name="focus-on-click">False</property>
<property name="receives-default">True</property>
<property name="tooltip-text" translatable="yes">Reply to toot</property>
<property name="image">statusbar-toot-reply-icon</property>
<property name="image">statusbar-reply-icon</property>
<property name="relief">none</property>
<style>
<class name="dropdown-shadow"/>
@ -4246,7 +4246,7 @@ AND CONDITIONS OF THIS LICENSE.
<property name="focus-on-click">False</property>
<property name="receives-default">True</property>
<property name="tooltip-text" translatable="yes">Boost toot</property>
<property name="image">statusbar-toot-boost-icon</property>
<property name="image">statusbar-boost-icon</property>
<property name="relief">none</property>
<style>
<class name="dropdown-shadow"/>
@ -4265,7 +4265,7 @@ AND CONDITIONS OF THIS LICENSE.
<property name="focus-on-click">False</property>
<property name="receives-default">True</property>
<property name="tooltip-text" translatable="yes">favorite toot</property>
<property name="image">statusbar-toot-favorite-icon</property>
<property name="image">statusbar-favorite-icon</property>
<property name="relief">none</property>
<style>
<class name="dropdown-shadow"/>