Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAneesh Dogra <lionaneesh@gmail.com>2013-01-04 06:24:49 (GMT)
committer Aneesh Dogra <lionaneesh@gmail.com>2013-01-04 06:24:49 (GMT)
commit5cbe03a5b903a35ea8daada15e8301feb7d81321 (patch)
treec4fbddabbaab5665cb673df50194efa62b8877e2
parent5001250eae16aa6b993a9a4a4a8a4be5b81830c9 (diff)
Add brand new icons for Add, Import_Audio and Import_Image buttons.
Add a new button to import audio. Add my copyright info.
-rw-r--r--LetterMatch.py35
-rw-r--r--icons/add.svg6
-rw-r--r--icons/load_audio_from_journal.svg199
-rw-r--r--icons/load_image_from_journal.svg150
-rw-r--r--page.py4
5 files changed, 380 insertions, 14 deletions
diff --git a/LetterMatch.py b/LetterMatch.py
index 0cb3e98..c9de5d8 100644
--- a/LetterMatch.py
+++ b/LetterMatch.py
@@ -1,4 +1,5 @@
-#Copyright (c) 2012 Walter Bender
+# Copyright (c) 2012 Walter Bender
+# Copyright (c) 2013 Aneesh Dogra <lionaneesh@gmail.com>
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -155,9 +156,13 @@ class LetterMatch(activity.Activity):
journal_toolbar = ToolbarBox()
- button_factory('letter', journal_toolbar.toolbar,
- self._choose_from_journal_cb,
- tooltip=_("Import from journal"))
+ button_factory('load_image_from_journal', journal_toolbar.toolbar,
+ self._choose_image_from_journal_cb,
+ tooltip=_("Import Image"))
+
+ button_factory('load_audio_from_journal', journal_toolbar.toolbar,
+ self._choose_audio_from_journal_cb,
+ tooltip=_("Import Audio"))
container = gtk.ToolItem()
self.letter_entry = gtk.Entry()
@@ -168,7 +173,7 @@ class LetterMatch(activity.Activity):
container.show_all()
journal_toolbar.toolbar.insert(container, -1)
- self.add_button = button_factory('image', journal_toolbar.toolbar,
+ self.add_button = button_factory('add', journal_toolbar.toolbar,
self._copy_to_journal,
tooltip=_("Add"))
self.add_button.set_sensitive(False)
@@ -207,21 +212,27 @@ class LetterMatch(activity.Activity):
def _copy_to_journal(self, event):
self.metadata['data_from_journal'] = json.dumps(self.data_from_journal)
- def _choose_from_journal_cb(self, event):
+ def _choose_audio_from_journal_cb(self, event):
self.add_button.set_sensitive(False)
self.letter_entry.set_sensitive(False)
- self.image_id = None
self.audio_id = None
+ chooser = ObjectChooser(what_filter=mime.GENERIC_TYPE_AUDIO)
+ result = chooser.run()
+ if result == gtk.RESPONSE_ACCEPT:
+ jobject = chooser.get_selected_object()
+ self.audio_id = str(jobject._object_id)
+ if self.image_id and self.audio_id:
+ self.letter_entry.set_sensitive(True)
+
+ def _choose_image_from_journal_cb(self, event):
+ self.add_button.set_sensitive(False)
+ self.letter_entry.set_sensitive(False)
+ self.image_id = None
chooser = ObjectChooser(what_filter=mime.GENERIC_TYPE_IMAGE)
result = chooser.run()
if result == gtk.RESPONSE_ACCEPT:
jobject = chooser.get_selected_object()
self.image_id = str(jobject._object_id)
- chooser = ObjectChooser(what_filter=mime.GENERIC_TYPE_AUDIO)
- result = chooser.run()
- if result == gtk.RESPONSE_ACCEPT:
- jobject = chooser.get_selected_object()
- self.audio_id = str(jobject._object_id)
if self.image_id and self.audio_id:
self.letter_entry.set_sensitive(True)
diff --git a/icons/add.svg b/icons/add.svg
new file mode 100644
index 0000000..1be20c8
--- /dev/null
+++ b/icons/add.svg
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?><!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd' [
+ <!ENTITY stroke_color "#010101">
+ <!ENTITY fill_color "#FFFFFF">
+]><svg enable-background="new 0 0 55.125 55" height="55px" version="1.1" viewBox="0 0 55.125 55" width="55.125px" x="0px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" y="0px"><g display="block" id="list-add">
+ <path d="M43.467,11.644c-8.789-8.79-23.035-8.786-31.818-0.002 c-8.791,8.791-8.792,23.033-0.002,31.823c8.79,8.789,23.031,8.788,31.822-0.003C52.252,34.678,52.257,20.433,43.467,11.644z M30.768,38.767c-0.002,1.774-1.438,3.216-3.214,3.214c-0.889,0.001-1.693-0.359-2.275-0.941c-0.582-0.581-0.94-1.385-0.94-2.27 l0-8.146h-8.146c-0.886-0.001-1.689-0.359-2.271-0.94c-0.582-0.583-0.942-1.388-0.942-2.276c0-1.773,1.439-3.213,3.217-3.211h8.143 v-8.143c-0.003-1.776,1.438-3.217,3.212-3.217c1.774,0,3.218,1.438,3.215,3.215l0.001,8.145l8.146,0.001 c1.775-0.005,3.212,1.438,3.213,3.213c0.002,1.775-1.441,3.214-3.215,3.215h-8.143V38.767z" display="inline" fill="&fill_color;"/>
+</g></svg> \ No newline at end of file
diff --git a/icons/load_audio_from_journal.svg b/icons/load_audio_from_journal.svg
new file mode 100644
index 0000000..e888165
--- /dev/null
+++ b/icons/load_audio_from_journal.svg
@@ -0,0 +1,199 @@
+<?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"
+ version="1.1"
+ width="55"
+ height="55"
+ viewBox="0 0 55 55"
+ id="svg2"
+ xml:space="preserve"
+ inkscape:version="0.48.3.1 r9886"
+ sodipodi:docname="load_audio_from_journal.svg"><sodipodi:namedview
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1"
+ objecttolerance="10"
+ gridtolerance="10"
+ guidetolerance="10"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:window-width="1280"
+ inkscape:window-height="741"
+ id="namedview37"
+ showgrid="false"
+ showguides="true"
+ inkscape:guide-bbox="true"
+ inkscape:zoom="4.2909091"
+ inkscape:cx="54.54149"
+ inkscape:cy="8.8579174"
+ inkscape:window-x="0"
+ inkscape:window-y="27"
+ inkscape:window-maximized="1"
+ inkscape:current-layer="svg2" /><metadata
+ id="metadata25"><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><defs
+ id="defs33"><marker
+ inkscape:stockid="TriangleOutM"
+ orient="auto"
+ refY="0.0"
+ refX="0.0"
+ id="TriangleOutM"
+ style="overflow:visible"><path
+ id="path4521"
+ d="M 5.77,0.0 L -2.88,5.0 L -2.88,-5.0 L 5.77,0.0 z "
+ style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt"
+ transform="scale(0.4)" /></marker><marker
+ inkscape:stockid="CurveOut"
+ orient="auto"
+ refY="0.0"
+ refX="0.0"
+ id="CurveOut"
+ style="overflow:visible"><path
+ id="path4563"
+ d="M -5.4129913,-5.0456926 C -2.6529913,-5.0456926 -0.41299131,-2.8056926 -0.41299131,-0.045692580 C -0.41299131,2.7143074 -2.6529913,4.9543074 -5.4129913,4.9543074"
+ style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt"
+ transform="scale(0.6)" /></marker><marker
+ inkscape:stockid="EmptyTriangleOutL"
+ orient="auto"
+ refY="0.0"
+ refX="0.0"
+ id="EmptyTriangleOutL"
+ style="overflow:visible"><path
+ id="path4536"
+ d="M 5.77,0.0 L -2.88,5.0 L -2.88,-5.0 L 5.77,0.0 z "
+ style="fill-rule:evenodd;fill:#FFFFFF;stroke:#000000;stroke-width:1.0pt"
+ transform="scale(0.8) translate(-6,0)" /></marker><marker
+ inkscape:stockid="Arrow1Lend"
+ orient="auto"
+ refY="0.0"
+ refX="0.0"
+ id="Arrow1Lend"
+ style="overflow:visible;"><path
+ id="path4379"
+ d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
+ style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt;"
+ transform="scale(0.8) rotate(180) translate(12.5,0)" /></marker>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</defs><g
+ transform="matrix(0.55205508,0,0,0.55205508,44.618464,18.235971)"
+ id="g4382"
+ style="fill:none;fill-opacity:1;stroke:#ffffff;stroke-opacity:1"><g
+ transform="translate(-80.093659,12.220029)"
+ id="g4308"
+ style="fill:none;stroke:#ffffff;stroke-opacity:1;fill-opacity:1">
+ <g
+ id="g4310"
+ style="fill:none;stroke:#ffffff;stroke-opacity:1;fill-opacity:1">
+ <path
+ d="m 6.736,49.002 h 24.52 c 2.225,0 3.439,-1.447 3.439,-3.441 v -27.28 c 0,-1.73 -1.732,-3.441 -3.439,-3.441 h -4.389"
+ id="path4312"
+ style="fill:none;stroke:#ffffff;stroke-width:3.50000000000000000;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;fill-opacity:1" />
+ </g>
+ </g><g
+ transform="translate(-80.093659,12.220029)"
+ id="g4314"
+ style="fill:none;stroke:#ffffff;stroke-opacity:1;fill-opacity:1">
+ <g
+ id="g4316"
+ style="fill:none;stroke:#ffffff;stroke-opacity:1;fill-opacity:1">
+ <path
+ d="m 26.867,38.592 c 0,1.836 -1.345,3.201 -3.441,4.047 L 6.736,49.002 V 14.84 l 16.69,-8.599 c 2.228,-0.394 3.441,0.84 3.441,2.834 v 29.517 z"
+ id="path4318"
+ style="fill:none;stroke:#ffffff;stroke-width:3.50000000000000000;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;fill-opacity:1" />
+ </g>
+ </g><path
+ d="m -70.669659,54.827029 c 0,0 -1.351,-0.543 -2.702,-0.543 -1.351,0 -2.703,0.543 -2.703,0.543"
+ id="path4320"
+ style="fill:none;stroke:#ffffff;stroke-width:2.25000000000000000;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;fill-opacity:1" /><path
+ d="m -70.669659,44.226029 c 0,0 -1.239,-0.543 -2.815,-0.543 -1.577,0 -2.59,0.543 -2.59,0.543"
+ id="path4322"
+ style="fill:none;stroke:#ffffff;stroke-width:2.25000000000000000;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;fill-opacity:1" /><path
+ d="m -70.669659,33.898029 c 0,0 -1.125,-0.544 -2.927,-0.544 -1.802,0 -2.478,0.544 -2.478,0.544"
+ id="path4324"
+ style="fill:none;stroke:#ffffff;stroke-width:2.25000000000000000;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;fill-opacity:1" /><line
+ style="fill:none;stroke:#ffffff;stroke-width:2.25000000000000000;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;fill-opacity:1"
+ x1="-66.884659"
+ x2="-66.884659"
+ y1="58.753029"
+ y2="23.725029"
+ id="line4326" /></g><g
+ transform="matrix(0,-1,-1,0,47.3632,89.979302)"
+ id="g4770"
+ style="stroke:#ffffff;stroke-opacity:1;fill:none;fill-opacity:1"><g
+ transform="translate(34.0803,-1006.42)"
+ id="g4772"
+ style="stroke:#ffffff;stroke-opacity:1;fill:none;fill-opacity:1"><polyline
+ transform="matrix(-0.469241,0.469241,-0.469241,-0.469241,66.2906,1019.03)"
+ style="fill:none;stroke:#ffffff;stroke-width:3.50000000000000000;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;fill-opacity:1"
+ points="51.562,15.306 41.17,16.188 42.053,5.794"
+ id="polyline4774" /><path
+ inkscape:connector-curvature="0"
+ d="m 39.363241,1033.1291 -0.05636,9.9115 -8.750608,0.067"
+ id="path4776"
+ style="fill:none;stroke:#ffffff;stroke-width:2.50000000000000000;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;fill-opacity:1" /></g></g><g
+ id="g1"
+ transform="matrix(0.35349397,0,0,0.35349397,25.666663,2.8824671)"
+ style="stroke:#ffffff;stroke-opacity:1;fill:none;fill-opacity:1"><polygon
+ style="fill:none;stroke:#ffffff;stroke-width:5;stroke-linejoin:round;stroke-opacity:1;fill-opacity:1"
+ points="21.989,47.699 39.389,62.75 39.389,13.769 39.389,13.769 22.235,28.606 6,28.606 6,47.699 "
+ id="polygon1" /><path
+ style="fill:none;stroke:#ffffff;stroke-width:5;stroke-linecap:round;stroke-opacity:1;fill-opacity:1"
+ d="m 48.128,49.03 c 1.929,-3.096 3.062,-6.739 3.062,-10.653 0,-3.978 -1.164,-7.674 -3.147,-10.8"
+ id="path1"
+ inkscape:connector-curvature="0" />
+<path
+ style="fill:none;stroke:#ffffff;stroke-width:5;stroke-linecap:round;stroke-opacity:1;fill-opacity:1"
+ d="m 55.082,20.537 c 3.695,4.986 5.884,11.157 5.884,17.84 0,6.621 -2.151,12.738 -5.788,17.699"
+ id="path2"
+ inkscape:connector-curvature="0" />
+<path
+ style="fill:none;stroke:#ffffff;stroke-width:5;stroke-linecap:round;stroke-opacity:1;fill-opacity:1"
+ d="m 61.71,62.611 c 5.267,-6.666 8.418,-15.08 8.418,-24.233 0,-9.217 -3.192,-17.682 -8.519,-24.368"
+ id="path3843"
+ inkscape:connector-curvature="0" />
+</g></svg> \ No newline at end of file
diff --git a/icons/load_image_from_journal.svg b/icons/load_image_from_journal.svg
new file mode 100644
index 0000000..03980b5
--- /dev/null
+++ b/icons/load_image_from_journal.svg
@@ -0,0 +1,150 @@
+<?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"
+ version="1.1"
+ width="55"
+ height="55"
+ viewBox="0 0 55 55"
+ id="svg2"
+ xml:space="preserve"
+ inkscape:version="0.48.3.1 r9886"
+ sodipodi:docname="load_image_from_journal.svg"><sodipodi:namedview
+ borderopacity="1"
+ objecttolerance="10"
+ gridtolerance="10"
+ guidetolerance="10"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:window-width="1280"
+ inkscape:window-height="741"
+ id="namedview37"
+ showgrid="false"
+ showguides="true"
+ inkscape:guide-bbox="true"
+ inkscape:zoom="3.0341309"
+ inkscape:cx="-53.638292"
+ inkscape:cy="-8.8774393"
+ inkscape:window-x="0"
+ inkscape:window-y="27"
+ inkscape:window-maximized="1"
+ inkscape:current-layer="svg2" /><metadata
+ id="metadata25"><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><defs
+ id="defs33"><marker
+ inkscape:stockid="TriangleOutM"
+ orient="auto"
+ refY="0.0"
+ refX="0.0"
+ id="TriangleOutM"
+ style="overflow:visible"><path
+ id="path4521"
+ d="M 5.77,0.0 L -2.88,5.0 L -2.88,-5.0 L 5.77,0.0 z "
+ style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt"
+ transform="scale(0.4)" /></marker><marker
+ inkscape:stockid="CurveOut"
+ orient="auto"
+ refY="0.0"
+ refX="0.0"
+ id="CurveOut"
+ style="overflow:visible"><path
+ id="path4563"
+ d="M -5.4129913,-5.0456926 C -2.6529913,-5.0456926 -0.41299131,-2.8056926 -0.41299131,-0.045692580 C -0.41299131,2.7143074 -2.6529913,4.9543074 -5.4129913,4.9543074"
+ style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt"
+ transform="scale(0.6)" /></marker><marker
+ inkscape:stockid="EmptyTriangleOutL"
+ orient="auto"
+ refY="0.0"
+ refX="0.0"
+ id="EmptyTriangleOutL"
+ style="overflow:visible"><path
+ id="path4536"
+ d="M 5.77,0.0 L -2.88,5.0 L -2.88,-5.0 L 5.77,0.0 z "
+ style="fill-rule:evenodd;fill:#FFFFFF;stroke:#000000;stroke-width:1.0pt"
+ transform="scale(0.8) translate(-6,0)" /></marker><marker
+ inkscape:stockid="Arrow1Lend"
+ orient="auto"
+ refY="0.0"
+ refX="0.0"
+ id="Arrow1Lend"
+ style="overflow:visible;"><path
+ id="path4379"
+ d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
+ style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt;"
+ transform="scale(0.8) rotate(180) translate(12.5,0)" /></marker>
+</defs><g
+ transform="matrix(0.55205508,0,0,0.55205508,44.618464,18.235971)"
+ id="g4382"
+ style="fill:none;fill-opacity:1;stroke:#ffffff;stroke-opacity:1"><g
+ transform="translate(-80.093659,12.220029)"
+ id="g4308"
+ style="fill:none;stroke:#ffffff;stroke-opacity:1;fill-opacity:1">
+ <g
+ id="g4310"
+ style="fill:none;stroke:#ffffff;stroke-opacity:1;fill-opacity:1">
+ <path
+ d="m 6.736,49.002 h 24.52 c 2.225,0 3.439,-1.447 3.439,-3.441 v -27.28 c 0,-1.73 -1.732,-3.441 -3.439,-3.441 h -4.389"
+ id="path4312"
+ style="fill:none;stroke:#ffffff;stroke-width:3.50000000000000000;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;fill-opacity:1" />
+ </g>
+ </g><g
+ transform="translate(-80.093659,12.220029)"
+ id="g4314"
+ style="fill:none;stroke:#ffffff;stroke-opacity:1;fill-opacity:1">
+ <g
+ id="g4316"
+ style="fill:none;stroke:#ffffff;stroke-opacity:1;fill-opacity:1">
+ <path
+ d="m 26.867,38.592 c 0,1.836 -1.345,3.201 -3.441,4.047 L 6.736,49.002 V 14.84 l 16.69,-8.599 c 2.228,-0.394 3.441,0.84 3.441,2.834 v 29.517 z"
+ id="path4318"
+ style="fill:none;stroke:#ffffff;stroke-width:3.50000000000000000;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;fill-opacity:1" />
+ </g>
+ </g><path
+ d="m -70.669659,54.827029 c 0,0 -1.351,-0.543 -2.702,-0.543 -1.351,0 -2.703,0.543 -2.703,0.543"
+ id="path4320"
+ style="fill:none;stroke:#ffffff;stroke-width:2.25000000000000000;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;fill-opacity:1" /><path
+ d="m -70.669659,44.226029 c 0,0 -1.239,-0.543 -2.815,-0.543 -1.577,0 -2.59,0.543 -2.59,0.543"
+ id="path4322"
+ style="fill:none;stroke:#ffffff;stroke-width:2.25000000000000000;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;fill-opacity:1" /><path
+ d="m -70.669659,33.898029 c 0,0 -1.125,-0.544 -2.927,-0.544 -1.802,0 -2.478,0.544 -2.478,0.544"
+ id="path4324"
+ style="fill:none;stroke:#ffffff;stroke-width:2.25000000000000000;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;fill-opacity:1" /><line
+ style="fill:none;stroke:#ffffff;stroke-width:2.25000000000000000;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;fill-opacity:1"
+ x1="-66.884659"
+ x2="-66.884659"
+ y1="58.753029"
+ y2="23.725029"
+ id="line4326" /></g><rect
+ width="21.046265"
+ height="14.414704"
+ ry="0"
+ x="27.580683"
+ y="7.1740475"
+ id="rect2997"
+ style="fill:none;fill-opacity:1;stroke:#ffffff;stroke-width:1.42189753000000008;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /><path
+ inkscape:connector-curvature="0"
+ d="m 38.10334,12.128166 c -2.254656,0 -4.132982,2.248494 -4.132982,2.248494 0,0 1.878326,2.259395 4.132982,2.257973 2.254655,-0.0019 4.133929,-2.260817 4.133929,-2.260817 0,0 -1.8788,-2.247071 -4.133929,-2.24565 z m 0,3.834384 c -0.873046,0 -1.580677,-0.708105 -1.580677,-1.58115 0,-0.871623 0.707631,-1.58115 1.580677,-1.58115 0.871623,0 1.579728,0.709527 1.579728,1.58115 4.74e-4,0.873045 -0.707631,1.58115 -1.579728,1.58115 z"
+ id="path3156"
+ style="fill:#ffffff;stroke:#ffffff;stroke-width:0.71094877000000001;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline;fill-opacity:1" /><g
+ transform="matrix(0,-1,-1,0,45.385698,88.99055)"
+ id="g4770"
+ style="fill:none;stroke:#ffffff;stroke-opacity:1"><g
+ transform="translate(34.0803,-1006.42)"
+ id="g4772"
+ style="fill:none;stroke:#ffffff;stroke-opacity:1"><polyline
+ transform="matrix(-0.469241,0.469241,-0.469241,-0.469241,66.2906,1019.03)"
+ style="fill:none;stroke:#ffffff;stroke-width:3.50000000000000000;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
+ points="51.562,15.306 41.17,16.188 42.053,5.794"
+ id="polyline4774" /><path
+ inkscape:connector-curvature="0"
+ d="m 39.363241,1033.1291 -0.05636,9.9115 -8.750608,0.067"
+ id="path4776"
+ style="fill:none;stroke:#ffffff;stroke-width:2.50000000000000000;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /></g></g></svg> \ No newline at end of file
diff --git a/page.py b/page.py
index 77e140c..86e294e 100644
--- a/page.py
+++ b/page.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-#Copyright (c) 2012 Walter Bender
-
+# Copyright (c) 2012 Walter Bender
+# Copyright (c) 2013 Aneesh Dogra <lionaneesh@gmail.com>
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or