Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--activity.py5
-rw-r--r--icons/switches.svg72
2 files changed, 77 insertions, 0 deletions
diff --git a/activity.py b/activity.py
index db3683f..d034d89 100644
--- a/activity.py
+++ b/activity.py
@@ -51,6 +51,11 @@ class Electricity(activity.Activity):
self._fonts_button.props.page = fonts_toolbar
toolbarbox.toolbar.insert(self._fonts_button, -1)
+ self._switches_btn = ToolbarButton(icon_name='switches')
+ switches_toolbar = Gtk.Toolbar()
+ self._switches_btn.props.page = switches_toolbar
+ toolbarbox.toolbar.insert(self._switches_btn, -1)
+
stop_btn = StopButton(self)
toolbarbox.toolbar.insert(stop_btn, -1)
diff --git a/icons/switches.svg b/icons/switches.svg
new file mode 100644
index 0000000..4e5fa7d
--- /dev/null
+++ b/icons/switches.svg
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="55"
+ height="55"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.48.4 r9939"
+ sodipodi:docname="switches.svg">
+ <defs
+ id="defs4" />
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="5"
+ inkscape:cx="44"
+ inkscape:cy="31.011945"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ inkscape:window-width="1366"
+ inkscape:window-height="697"
+ inkscape:window-x="0"
+ inkscape:window-y="34"
+ inkscape:window-maximized="1" />
+ <metadata
+ id="metadata7">
+ <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"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(0,-997.36218)">
+ <path
+ style="fill:none;stroke:#ffffff;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ d="m 0.3674513,1032.785 12.6610767,0 19.80322,-16.2456"
+ id="path2985"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccc" />
+ <path
+ style="fill:none;stroke:#ffffff;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ d="m 36.787901,1032.9655 18.818415,0"
+ id="path2989"
+ inkscape:connector-curvature="0" />
+ <path
+ style="fill:none;stroke:#ffffff;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:4, 2;stroke-dashoffset:18;marker-start:none"
+ d="m 16.115491,1032.9655 19.478579,0"
+ id="path2991"
+ inkscape:connector-curvature="0" />
+ </g>
+</svg>