Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2014-07-10 16:16:26 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2014-07-10 16:16:26 (GMT)
commit66c19d7e0ceef9dc9537ac5c8b40a61a9cc0dd1d (patch)
treeb4a3c85153d182e4cb3b52f6e0f5bf7ffe4274e8
parent735871567090053d3c132e4396b8fec880ec70a6 (diff)
New caledar icon
Designed by Dan Marshall
-rw-r--r--finance.py2
-rw-r--r--icons/calendar.svg46
-rw-r--r--icons/write-date.svg10
3 files changed, 47 insertions, 11 deletions
diff --git a/finance.py b/finance.py
index d5abd41..9cb4e40 100644
--- a/finance.py
+++ b/finance.py
@@ -278,7 +278,7 @@ class Finance(Activity):
period_options = {DAY: _('Day'), WEEK: _('Week'), MONTH: _('Month'),
YEAR: _('Year'), FOREVER: _('Forever')}
- periodcombo = FilterToolItem('write-date', MONTH, period_options,
+ periodcombo = FilterToolItem('calendar', MONTH, period_options,
_('Select period'))
periodcombo.connect('changed', self.__period_changed_cb)
diff --git a/icons/calendar.svg b/icons/calendar.svg
new file mode 100644
index 0000000..e90929b
--- /dev/null
+++ b/icons/calendar.svg
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 16.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="40px" height="40px" viewBox="0 0 40 40" enable-background="new 0 0 40 40" xml:space="preserve">
+<g>
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M7.57,5.451c0,0.772-0.003,1.419,0,2.066
+ c0.007,1.761,1.398,3.17,3.132,3.176c1.73,0.007,3.124-1.387,3.15-3.159c0.01-0.667,0.001-1.334,0.001-2.043
+ c4.133,0,8.19,0,12.371,0c0,0.677-0.003,1.364,0,2.05c0.011,1.747,1.422,3.158,3.149,3.151c1.702-0.006,3.099-1.381,3.133-3.098
+ c0.013-0.672,0.002-1.345,0.002-2.107c1.36-0.024,2.71-0.261,3.975,0.318c1.459,0.667,2.162,1.911,2.165,3.472
+ c0.026,8.21,0.022,16.42,0.007,24.632c-0.004,2.221-1.622,3.803-3.853,3.806c-9.842,0.007-19.685,0.006-29.527-0.002
+ c-2.222-0.001-3.848-1.595-3.851-3.806c-0.014-8.21-0.013-16.42-0.001-24.63c0.003-2.232,1.587-3.79,3.826-3.825
+ C5.995,5.44,6.74,5.451,7.57,5.451z M36.24,15.391c-10.86,0-21.595,0-32.401,0c0,0.312,0,0.566,0,0.82
+ c0,5.386-0.001,10.774,0,16.162c0.001,1.319,0.374,1.682,1.725,1.682c9.687,0.001,19.374,0.001,29.06,0
+ c1.221-0.003,1.615-0.397,1.616-1.623c0-5.413,0-10.827,0-16.24C36.24,15.938,36.24,15.685,36.24,15.391z"/>
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M27.538,5.393c0-0.595-0.021-1.19,0.005-1.784
+ c0.047-1.081,0.797-1.855,1.787-1.877c0.979-0.023,1.81,0.733,1.854,1.803c0.049,1.265,0.047,2.535-0.005,3.8
+ c-0.04,1.019-0.865,1.773-1.811,1.772c-0.908,0-1.746-0.79-1.817-1.774c-0.047-0.644-0.01-1.293-0.01-1.939
+ C27.54,5.393,27.539,5.393,27.538,5.393z"/>
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M8.885,5.41c0-0.621-0.027-1.244,0.007-1.862
+ c0.057-1.036,0.804-1.784,1.767-1.817c0.977-0.034,1.826,0.727,1.869,1.787c0.05,1.266,0.051,2.536-0.002,3.802
+ c-0.045,1.059-0.906,1.825-1.876,1.787C9.708,9.069,8.95,8.3,8.89,7.272C8.854,6.653,8.884,6.031,8.885,5.41z"/>
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M28.798,31.45c0-1.218,0-2.353,0-3.552c1.601,0,3.188,0,4.832,0
+ c0,1.155,0,2.327,0,3.552C32.039,31.45,30.453,31.45,28.798,31.45z"/>
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M26.188,27.877c0,1.199,0,2.354,0,3.564c-1.596,0-3.184,0-4.822,0
+ c0-1.176,0-2.349,0-3.564C22.961,27.877,24.528,27.877,26.188,27.877z"/>
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M18.713,31.482c-1.631,0-3.181,0-4.795,0c0-1.187,0-2.36,0-3.592
+ c1.57,0,3.157,0,4.795,0C18.713,29.067,18.713,30.241,18.713,31.482z"/>
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M11.239,31.468c-1.615,0-3.183,0-4.798,0c0-1.206,0-2.379,0-3.593
+ c1.599,0,3.168,0,4.798,0C11.239,29.043,11.239,30.217,11.239,31.468z"/>
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M28.82,26.47c0-1.222,0-2.376,0-3.569c1.608,0,3.177,0,4.808,0
+ c0,1.171,0,2.344,0,3.569C32.047,26.47,30.462,26.47,28.82,26.47z"/>
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M21.349,26.459c0-1.188,0-2.343,0-3.547c1.613,0,3.2,0,4.832,0
+ c0,1.172,0,2.327,0,3.547C24.607,26.459,23.021,26.459,21.349,26.459z"/>
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M18.732,22.925c0,1.188,0,2.343,0,3.549c-1.614,0-3.201,0-4.833,0
+ c0-1.174,0-2.328,0-3.549C15.471,22.925,17.059,22.925,18.732,22.925z"/>
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M6.443,22.878c1.631,0,3.181,0,4.794,0c0,1.187,0,2.359,0,3.59
+ c-1.57,0-3.157,0-4.794,0C6.443,25.291,6.443,24.118,6.443,22.878z"/>
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M28.815,21.506c0-1.196,0-2.352,0-3.563c1.595,0,3.182,0,4.821,0
+ c0,1.174,0,2.347,0,3.563C32.044,21.506,30.477,21.506,28.815,21.506z"/>
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M21.355,21.505c0-1.193,0-2.347,0-3.561c1.59,0,3.177,0,4.817,0
+ c0,1.169,0,2.342,0,3.561C24.569,21.505,22.982,21.505,21.355,21.505z"/>
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M13.896,21.504c0-1.189,0-2.343,0-3.559c1.585,0,3.172,0,4.814,0
+ c0,1.165,0,2.337,0,3.559C17.109,21.504,15.522,21.504,13.896,21.504z"/>
+</g>
+</svg>
diff --git a/icons/write-date.svg b/icons/write-date.svg
deleted file mode 100644
index 8aee71c..0000000
--- a/icons/write-date.svg
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"
-[
- <!ENTITY fill_color "#FFFFFF">
- <!ENTITY stroke_color "#000000">
-]>
-<svg contentScriptType="text/ecmascript" width="55px" xmlns:xlink="http://www.w3.org/1999/xlink" baseProfile="full" zoomAndPan="magnify" contentStyleType="text/css" height="55px" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg" version="1.1">
- <rect x="16" y="9" width="33" height="36" fill="none" stroke="&stroke_color;" stroke-width="3.5"/>
- <rect x="13" y="9" transform="matrix(1.0 0.0 -0.3 1.0 5 0.0)" fill="&fill_color;" width="32" height="31" stroke="&stroke_color;" stroke-width="3.5"/>
- <text x="18" stroke="&stroke_color;" font-size="18" y="30.0" transform="matrix(1.0 0.0 -0.3 1.0 5 0.0)" font-family="'Courier New', 'Courier', 'MS Courier New', 'Prestige', monospace" font-weight="800" xml:space="preserve">26</text>
-</svg>