Move request button into toolbar
This commit is contained in:
1 parent
ad31f3908c
commit
ec5a68e061
2 files changed
+472
-51
No files matched your search
@@ -0,0 +1,451 @@
|
||||
<?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:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
sodipodi:docname="tryton-mail-message.svg"
|
||||
sodipodi:docbase="/home/jimmac/src/cvs/tango-icon-theme/scalable/actions"
|
||||
inkscape:version="0.46"
|
||||
sodipodi:version="0.32"
|
||||
id="svg5816"
|
||||
height="48px"
|
||||
width="48px"
|
||||
inkscape:output_extension="org.inkscape.output.svg.inkscape">
|
||||
<defs
|
||||
id="defs3">
|
||||
<inkscape:perspective
|
||||
sodipodi:type="inkscape:persp3d"
|
||||
inkscape:vp_x="0 : 24 : 1"
|
||||
inkscape:vp_y="0 : 1000 : 0"
|
||||
inkscape:vp_z="48 : 24 : 1"
|
||||
inkscape:persp3d-origin="24 : 16 : 1"
|
||||
id="perspective74" />
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient5060"
|
||||
id="radialGradient5031"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(-2.774389,0,0,1.969706,112.7623,-872.8854)"
|
||||
cx="605.71429"
|
||||
cy="486.64789"
|
||||
fx="605.71429"
|
||||
fy="486.64789"
|
||||
r="117.14286" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient5060">
|
||||
<stop
|
||||
style="stop-color:black;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop5062" />
|
||||
<stop
|
||||
style="stop-color:black;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop5064" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient5060"
|
||||
id="radialGradient5029"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(2.774389,0,0,1.969706,-1891.633,-872.8854)"
|
||||
cx="605.71429"
|
||||
cy="486.64789"
|
||||
fx="605.71429"
|
||||
fy="486.64789"
|
||||
r="117.14286" />
|
||||
<linearGradient
|
||||
id="linearGradient5048">
|
||||
<stop
|
||||
style="stop-color:black;stop-opacity:0;"
|
||||
offset="0"
|
||||
id="stop5050" />
|
||||
<stop
|
||||
id="stop5056"
|
||||
offset="0.5"
|
||||
style="stop-color:black;stop-opacity:1;" />
|
||||
<stop
|
||||
style="stop-color:black;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop5052" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient5048"
|
||||
id="linearGradient5027"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(2.774389,0,0,1.969706,-1892.179,-872.8854)"
|
||||
x1="302.85715"
|
||||
y1="366.64789"
|
||||
x2="302.85715"
|
||||
y2="609.50507" />
|
||||
<linearGradient
|
||||
id="linearGradient2274">
|
||||
<stop
|
||||
style="stop-color:#000000;stop-opacity:0.12871288;"
|
||||
offset="0.0000000"
|
||||
id="stop2276" />
|
||||
<stop
|
||||
style="stop-color:#000000;stop-opacity:0.0000000;"
|
||||
offset="1.0000000"
|
||||
id="stop2278" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient9749">
|
||||
<stop
|
||||
style="stop-color:#ffffff;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop9751" />
|
||||
<stop
|
||||
style="stop-color:#ededed;stop-opacity:1.0000000;"
|
||||
offset="1.0000000"
|
||||
id="stop9753" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient2152">
|
||||
<stop
|
||||
style="stop-color:#9aa29a;stop-opacity:1.0000000;"
|
||||
offset="0.0000000"
|
||||
id="stop2154" />
|
||||
<stop
|
||||
style="stop-color:#b5beb5;stop-opacity:1.0000000;"
|
||||
offset="1.0000000"
|
||||
id="stop2156" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient2166">
|
||||
<stop
|
||||
style="stop-color:#ffffff;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop2168" />
|
||||
<stop
|
||||
style="stop-color:#dcdcdc;stop-opacity:1.0000000;"
|
||||
offset="1.0000000"
|
||||
id="stop2170" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient18913">
|
||||
<stop
|
||||
style="stop-color:#ededed;stop-opacity:1.0000000;"
|
||||
offset="0.0000000"
|
||||
id="stop18915" />
|
||||
<stop
|
||||
style="stop-color:#c8c8c8;stop-opacity:1.0000000;"
|
||||
offset="1.0000000"
|
||||
id="stop18917" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient2136">
|
||||
<stop
|
||||
style="stop-color:#989690;stop-opacity:1.0000000;"
|
||||
offset="0.0000000"
|
||||
id="stop2138" />
|
||||
<stop
|
||||
style="stop-color:#656460;stop-opacity:1.0000000;"
|
||||
offset="1.0000000"
|
||||
id="stop2140" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient15107">
|
||||
<stop
|
||||
style="stop-color:#ffffff;stop-opacity:1.0000000;"
|
||||
offset="0.0000000"
|
||||
id="stop15109" />
|
||||
<stop
|
||||
style="stop-color:#e2e2e2;stop-opacity:1.0000000;"
|
||||
offset="1.0000000"
|
||||
id="stop15111" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient10691"
|
||||
inkscape:collect="always">
|
||||
<stop
|
||||
id="stop10693"
|
||||
offset="0"
|
||||
style="stop-color:#000000;stop-opacity:1;" />
|
||||
<stop
|
||||
id="stop10695"
|
||||
offset="1"
|
||||
style="stop-color:#000000;stop-opacity:0;" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
r="7.2284161"
|
||||
fy="73.615714"
|
||||
fx="6.7027131"
|
||||
cy="73.615714"
|
||||
cx="6.7027131"
|
||||
gradientTransform="scale(1.902215,0.525703)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="radialGradient11382"
|
||||
xlink:href="#linearGradient10691"
|
||||
inkscape:collect="always" />
|
||||
<linearGradient
|
||||
y2="32.203162"
|
||||
x2="9.7619219"
|
||||
y1="37.784682"
|
||||
x1="8.7803760"
|
||||
gradientTransform="matrix(2.394900,0.000000,0.000000,0.781058,2.879512,0.343005)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="linearGradient27463"
|
||||
xlink:href="#linearGradient2274"
|
||||
inkscape:collect="always" />
|
||||
<linearGradient
|
||||
y2="24.132717"
|
||||
x2="21.111549"
|
||||
y1="13.686079"
|
||||
x1="11.233107"
|
||||
gradientTransform="matrix(1.370928,0.000000,0.000000,1.443758,2.431133,-0.140786)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="linearGradient27468"
|
||||
xlink:href="#linearGradient9749"
|
||||
inkscape:collect="always" />
|
||||
<linearGradient
|
||||
y2="52.090678"
|
||||
x2="9.8855033"
|
||||
y1="37.197018"
|
||||
x1="8.9156475"
|
||||
gradientTransform="matrix(2.454781,0.000000,0.000000,0.762004,2.879512,0.343005)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="linearGradient27471"
|
||||
xlink:href="#linearGradient2152"
|
||||
inkscape:collect="always" />
|
||||
<linearGradient
|
||||
y2="52.090678"
|
||||
x2="9.8855033"
|
||||
y1="37.197018"
|
||||
x1="8.9156475"
|
||||
gradientTransform="matrix(2.454781,0.000000,0.000000,0.762004,2.879512,0.343005)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="linearGradient27474"
|
||||
xlink:href="#linearGradient2152"
|
||||
inkscape:collect="always" />
|
||||
<linearGradient
|
||||
y2="29.568739"
|
||||
x2="15.310744"
|
||||
y1="15.148383"
|
||||
x1="10.184240"
|
||||
gradientTransform="matrix(1.819266,0.000000,0.000000,1.028193,2.879512,0.343005)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="linearGradient27477"
|
||||
xlink:href="#linearGradient2166"
|
||||
inkscape:collect="always" />
|
||||
<linearGradient
|
||||
y2="17.876846"
|
||||
x2="13.467486"
|
||||
y1="7.2310905"
|
||||
x1="5.8266134"
|
||||
gradientTransform="matrix(1.570607,0.000000,0.000000,1.190976,2.879512,0.343005)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="linearGradient27483"
|
||||
xlink:href="#linearGradient18913"
|
||||
inkscape:collect="always" />
|
||||
<linearGradient
|
||||
y2="26.022910"
|
||||
x2="18.475286"
|
||||
y1="4.7461626"
|
||||
x1="11.572842"
|
||||
gradientTransform="matrix(1.343475,0.000000,0.000000,1.417854,2.879511,0.314599)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="linearGradient27486"
|
||||
xlink:href="#linearGradient15107"
|
||||
inkscape:collect="always" />
|
||||
<linearGradient
|
||||
y2="15.257116"
|
||||
x2="30.599684"
|
||||
y1="15.257116"
|
||||
x1="2.0618774"
|
||||
gradientTransform="matrix(1.343475,0.000000,0.000000,1.417854,2.879511,0.314599)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="linearGradient27488"
|
||||
xlink:href="#linearGradient2136"
|
||||
inkscape:collect="always" />
|
||||
<linearGradient
|
||||
id="linearGradient12512">
|
||||
<stop
|
||||
id="stop12513"
|
||||
offset="0.0000000"
|
||||
style="stop-color:#ffffff;stop-opacity:1.0000000;" />
|
||||
<stop
|
||||
id="stop12517"
|
||||
offset="0.50000000"
|
||||
style="stop-color:#fff520;stop-opacity:0.89108908;" />
|
||||
<stop
|
||||
id="stop12514"
|
||||
offset="1.0000000"
|
||||
style="stop-color:#fff300;stop-opacity:0.0000000;" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient12512"
|
||||
id="radialGradient1558"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
cx="55.000000"
|
||||
cy="125.00000"
|
||||
fx="55.000000"
|
||||
fy="125.00000"
|
||||
r="14.375000" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
inkscape:window-y="19"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-height="1027"
|
||||
inkscape:window-width="1676"
|
||||
inkscape:document-units="px"
|
||||
inkscape:grid-bbox="true"
|
||||
showgrid="false"
|
||||
inkscape:current-layer="layer1"
|
||||
inkscape:cy="23.5"
|
||||
inkscape:cx="26.5"
|
||||
inkscape:zoom="12.791045"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
borderopacity="1.0"
|
||||
bordercolor="#666666"
|
||||
pagecolor="#ffffff"
|
||||
id="base"
|
||||
inkscape:showpageshadow="false" />
|
||||
<metadata
|
||||
id="metadata4">
|
||||
<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>Mail New</dc:title>
|
||||
<dc:creator>
|
||||
<cc:Agent>
|
||||
<dc:title>Jakub Steiner</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:creator>
|
||||
<dc:contributor>
|
||||
<cc:Agent>
|
||||
<dc:title>Andreas Nilsson, Steven Garrity</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:contributor>
|
||||
<cc:license
|
||||
rdf:resource="http://creativecommons.org/licenses/by-sa/2.0/" />
|
||||
<dc:subject>
|
||||
<rdf:Bag>
|
||||
<rdf:li>mail</rdf:li>
|
||||
<rdf:li>e-mail</rdf:li>
|
||||
<rdf:li>MUA</rdf:li>
|
||||
</rdf:Bag>
|
||||
</dc:subject>
|
||||
</cc:Work>
|
||||
<cc:License
|
||||
rdf:about="http://creativecommons.org/licenses/by-sa/2.0/">
|
||||
<cc:permits
|
||||
rdf:resource="http://web.resource.org/cc/Reproduction" />
|
||||
<cc:permits
|
||||
rdf:resource="http://web.resource.org/cc/Distribution" />
|
||||
<cc:requires
|
||||
rdf:resource="http://web.resource.org/cc/Notice" />
|
||||
<cc:requires
|
||||
rdf:resource="http://web.resource.org/cc/Attribution" />
|
||||
<cc:permits
|
||||
rdf:resource="http://web.resource.org/cc/DerivativeWorks" />
|
||||
<cc:requires
|
||||
rdf:resource="http://web.resource.org/cc/ShareAlike" />
|
||||
</cc:License>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:groupmode="layer"
|
||||
inkscape:label="Layer 1"
|
||||
id="layer1">
|
||||
<g
|
||||
style="display:inline"
|
||||
id="g5022"
|
||||
transform="matrix(2.312904e-2,0,0,1.485743e-2,45.32054,39.61432)">
|
||||
<rect
|
||||
y="-150.69685"
|
||||
x="-1559.2523"
|
||||
height="478.35718"
|
||||
width="1339.6335"
|
||||
id="rect4173"
|
||||
style="opacity:0.40206185;color:black;fill:url(#linearGradient5027);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible" />
|
||||
<path
|
||||
sodipodi:nodetypes="cccc"
|
||||
id="path5058"
|
||||
d="M -219.61876,-150.68038 C -219.61876,-150.68038 -219.61876,327.65041 -219.61876,327.65041 C -76.744594,328.55086 125.78146,220.48075 125.78138,88.454235 C 125.78138,-43.572302 -33.655436,-150.68036 -219.61876,-150.68038 z "
|
||||
style="opacity:0.40206185;color:black;fill:url(#radialGradient5029);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible" />
|
||||
<path
|
||||
style="opacity:0.40206185;color:black;fill:url(#radialGradient5031);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible"
|
||||
d="M -1559.2523,-150.68038 C -1559.2523,-150.68038 -1559.2523,327.65041 -1559.2523,327.65041 C -1702.1265,328.55086 -1904.6525,220.48075 -1904.6525,88.454235 C -1904.6525,-43.572302 -1745.2157,-150.68036 -1559.2523,-150.68038 z "
|
||||
id="path5018"
|
||||
sodipodi:nodetypes="cccc" />
|
||||
</g>
|
||||
<path
|
||||
style="fill:url(#linearGradient27486);fill-opacity:1.0000000;fill-rule:evenodd;stroke:url(#linearGradient27488);stroke-width:0.85660440;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4.0000000;stroke-opacity:1.0000000"
|
||||
d="M 6.3334395,16.972251 L 6.3334395,41.481799 L 43.305555,41.481799 L 43.244499,17.089859 C 43.241050,15.712272 31.395999,2.4121110 29.210877,2.4121110 L 20.659391,2.4121110 C 18.362072,2.4121110 6.3334395,15.673953 6.3334395,16.972251 z "
|
||||
id="path12723"
|
||||
sodipodi:nodetypes="ccczzzz" />
|
||||
<path
|
||||
style="fill:url(#linearGradient27483);fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:0.25000000pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"
|
||||
d="M 6.9230610,16.787103 C 6.5250222,16.356975 18.809966,3.0935378 20.667210,3.0935378 L 29.042965,3.0935378 C 30.790449,3.0935378 43.079567,16.221603 42.470079,16.978956 L 31.608858,30.475150 L 19.295373,30.156846 L 6.9230610,16.787103 z "
|
||||
id="path18153"
|
||||
sodipodi:nodetypes="czzzccz" />
|
||||
<path
|
||||
style="fill:#000000;fill-opacity:0.14619882;fill-rule:evenodd;stroke:none;stroke-width:1.0000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4.0000000;stroke-opacity:1.0000000"
|
||||
d="M 19.077530,30.017590 L 11.744526,21.271586 L 36.562951,14.335513 L 39.592221,20.551966 L 32.175956,29.992298"
|
||||
id="path2164"
|
||||
sodipodi:nodetypes="ccccc" />
|
||||
<path
|
||||
style="fill:#000000;fill-opacity:0.14619882;fill-rule:evenodd;stroke:none;stroke-width:1.0000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4.0000000;stroke-opacity:1.0000000"
|
||||
d="M 18.291767,29.836259 L 10.809167,21.026146 L 35.456637,14.132812 L 38.630714,20.403811 L 31.390193,29.810968"
|
||||
id="path2162"
|
||||
sodipodi:nodetypes="ccccc" />
|
||||
<path
|
||||
style="fill:#000000;fill-opacity:0.14619882;fill-rule:evenodd;stroke:none;stroke-width:1.0000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4.0000000;stroke-opacity:1.0000000"
|
||||
d="M 18.775313,29.957146 L 11.100386,21.296624 L 36.068405,14.232329 L 39.354114,20.824726 L 31.873739,29.931855"
|
||||
id="path2160"
|
||||
sodipodi:nodetypes="ccccc" />
|
||||
<path
|
||||
style="fill:url(#linearGradient27477);fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4.0000000;stroke-opacity:1.0000000"
|
||||
d="M 18.593984,30.440693 L 11.260975,21.694689 L 35.972554,14.801355 L 39.083369,21.188770 L 31.963198,30.174701"
|
||||
id="path15105"
|
||||
sodipodi:nodetypes="ccccc" />
|
||||
<path
|
||||
style="fill:url(#linearGradient27474);fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4.0000000;stroke-opacity:1.0000000"
|
||||
d="M 20.488434,29.064331 L 7.0924698,40.036319 L 21.001312,30.432013 L 30.019470,30.432013 L 42.438517,39.914206 L 30.575092,29.064331 L 20.488434,29.064331 z "
|
||||
id="path14245"
|
||||
sodipodi:nodetypes="ccccccc" />
|
||||
<path
|
||||
style="color:#000000;fill:url(#linearGradient27471);fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4.0000000;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000;visibility:visible;display:inline;overflow:visible"
|
||||
d="M 6.9634751,16.885144 L 18.479648,31.201334 L 19.548151,30.346532 L 6.9634751,16.885144 z "
|
||||
id="path14339"
|
||||
sodipodi:nodetypes="cccc" />
|
||||
<path
|
||||
style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:url(#linearGradient27468);stroke-width:0.85660428;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4.0000000;stroke-opacity:1.0000000"
|
||||
d="M 7.3077115,17.131415 L 7.3388644,40.342421 L 42.283659,40.342421 L 42.221353,17.257512 C 42.219329,16.508413 31.005032,3.4591863 28.837233,3.4591863 L 20.941579,3.4591863 C 18.689313,3.4591863 7.3066655,16.351067 7.3077115,17.131415 z "
|
||||
id="path15103"
|
||||
sodipodi:nodetypes="ccczzzz" />
|
||||
<path
|
||||
style="fill:#ffffff;fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4.0000000;stroke-opacity:1.0000000"
|
||||
d="M 20.957271,30.452732 L 9.0157722,38.723588 L 11.235205,38.729695 L 21.233330,31.860755 L 30.055238,30.437917 L 20.957271,30.452732 z "
|
||||
id="path17393"
|
||||
sodipodi:nodetypes="cccccc" />
|
||||
<path
|
||||
style="fill:#ffffff;fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"
|
||||
d="M 11.427536,21.670296 L 12.752479,23.080719 L 35.543311,16.196529 L 38.458445,21.878896 L 39.072496,21.166981 L 36.003081,14.789145 L 11.427536,21.670296 z "
|
||||
id="path2174"
|
||||
sodipodi:nodetypes="ccccccc" />
|
||||
<path
|
||||
style="fill:url(#linearGradient27463);fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"
|
||||
d="M 13.308098,23.636340 L 19.334450,30.090093 L 20.531174,29.064331 L 30.617831,29.107071 L 31.429893,29.833651 L 35.404721,25.089502 C 34.250740,23.679081 13.308098,23.636340 13.308098,23.636340 z "
|
||||
id="path2272"
|
||||
sodipodi:nodetypes="ccccccc" />
|
||||
<path
|
||||
sodipodi:nodetypes="cccc"
|
||||
id="path27492"
|
||||
d="M 41.812936,17.847945 L 31.861315,30.479232 L 30.792812,29.624431 L 41.812936,17.847945 z "
|
||||
style="color:#000000;fill:#b1b1b1;fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4.0000000;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000;visibility:visible;display:inline;overflow:visible" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 19 KiB |
+21
-51
@@ -270,36 +270,6 @@ class Main(object):
|
||||
self.sb_username.set_has_resize_grip(False)
|
||||
self.status_hbox.pack_start(self.sb_username, True, True)
|
||||
|
||||
if not update:
|
||||
self.sb_requests = gtk.Statusbar()
|
||||
self.sb_requests.set_size_request(130, -1)
|
||||
self.sb_requests.set_has_resize_grip(False)
|
||||
self.status_hbox.pack_start(self.sb_requests, True, True)
|
||||
|
||||
if not update:
|
||||
button_request_new = gtk.Button()
|
||||
self.button_request_new = button_request_new
|
||||
image = gtk.Image()
|
||||
image.set_from_stock('tryton-mail-message-new', gtk.ICON_SIZE_MENU)
|
||||
button_request_new.set_image(image)
|
||||
button_request_new.set_relief(gtk.RELIEF_NONE)
|
||||
button_request_new.connect('clicked', self.sig_request_new)
|
||||
button_request_new.set_sensitive(False)
|
||||
self.status_hbox.pack_start(button_request_new, False, True)
|
||||
self.tooltips.set_tip(self.button_request_new, _('Send a new request'))
|
||||
|
||||
if not update:
|
||||
button_request_search = gtk.Button()
|
||||
self.button_request_search = button_request_search
|
||||
image = gtk.Image()
|
||||
image.set_from_stock('tryton-find', gtk.ICON_SIZE_MENU)
|
||||
button_request_search.set_image(image)
|
||||
button_request_search.set_relief(gtk.RELIEF_NONE)
|
||||
button_request_search.connect('clicked', self.sig_request_open)
|
||||
button_request_search.set_sensitive(False)
|
||||
self.status_hbox.pack_start(button_request_search, False, True)
|
||||
self.tooltips.set_tip(self.button_request_search, _('Read my Requests'))
|
||||
|
||||
if not update:
|
||||
self.secure_img = gtk.Image()
|
||||
self.secure_img.set_from_stock('tryton-lock', gtk.ICON_SIZE_MENU)
|
||||
@@ -407,7 +377,7 @@ class Main(object):
|
||||
|
||||
imagemenuitem_open_request = gtk.ImageMenuItem(_('_Read my Requests'))
|
||||
image = gtk.Image()
|
||||
image.set_from_stock('tryton-find', gtk.ICON_SIZE_MENU)
|
||||
image.set_from_stock('tryton-mail-message', gtk.ICON_SIZE_MENU)
|
||||
imagemenuitem_open_request.set_image(image)
|
||||
imagemenuitem_open_request.connect('activate', self.sig_request_open)
|
||||
imagemenuitem_open_request.set_accel_path('<tryton>/User/Read my Requests')
|
||||
@@ -871,6 +841,14 @@ class Main(object):
|
||||
toolbutton_attach.connect('clicked', self._sig_child_call, 'but_attach')
|
||||
self.buttons['but_attach'] = toolbutton_attach
|
||||
|
||||
self.toolbar.insert(gtk.SeparatorToolItem(), -1)
|
||||
|
||||
toolbutton_request = gtk.ToolButton('tryton-mail-message')
|
||||
self.toolbutton_request = toolbutton_request
|
||||
self.toolbar.insert(toolbutton_request, -1)
|
||||
toolbutton_request.connect('clicked', self.sig_request_open)
|
||||
self.buttons['but_request'] = toolbutton_request
|
||||
|
||||
def set_toolbar_label(self):
|
||||
labels = {
|
||||
'but_new': _('_New'),
|
||||
@@ -885,6 +863,7 @@ class Main(object):
|
||||
'but_action': _('Action'),
|
||||
'but_print': _('Print'),
|
||||
'but_attach': _('Attachment(0)'),
|
||||
'but_request': _('Request'),
|
||||
}
|
||||
tooltips = {
|
||||
'but_new': _('Create a new record'),
|
||||
@@ -899,6 +878,7 @@ class Main(object):
|
||||
'but_action': _('Action'),
|
||||
'but_print': _('Print'),
|
||||
'but_attach': _('Add an attachment to the record'),
|
||||
'but_request': _('Read my Requests'),
|
||||
}
|
||||
for i in self.buttons:
|
||||
self.buttons[i].set_label(labels[i])
|
||||
@@ -1052,20 +1032,13 @@ class Main(object):
|
||||
ids, ids2 = res
|
||||
else:
|
||||
ids, ids2 = rpc.execute('model', 'res.request', 'request_get')
|
||||
if len(ids):
|
||||
if len(ids) == 1:
|
||||
message = _('%s request') % len(ids)
|
||||
else:
|
||||
message = _('%s requests') % len(ids)
|
||||
self.buttons['but_request'].set_label(_('Requests (%s/%s)') \
|
||||
% (len(ids), len(ids2)))
|
||||
if not ids:
|
||||
self.buttons['but_request'].set_stock_id('tryton-mail-message')
|
||||
else:
|
||||
message = _('No request')
|
||||
if len(ids2):
|
||||
if len(ids2) == 1:
|
||||
message += _(' - %s request sent') % len(ids2)
|
||||
else:
|
||||
message += _(' - %s requests sent') % len(ids2)
|
||||
sb_id = self.sb_requests.get_context_id('message')
|
||||
self.sb_requests.push(sb_id, message)
|
||||
self.buttons['but_request'].set_stock_id(
|
||||
'tryton-mail-message-new')
|
||||
return (ids, ids2)
|
||||
except:
|
||||
if exception:
|
||||
@@ -1123,11 +1096,10 @@ class Main(object):
|
||||
if not self.menuitem_shortcut.get_property('sensitive'):
|
||||
self.shortcut_set()
|
||||
self.toolbutton_menu.set_sensitive(True)
|
||||
self.toolbutton_request.set_sensitive(True)
|
||||
self.menuitem_user.set_sensitive(True)
|
||||
self.menuitem_form.set_sensitive(True)
|
||||
self.menuitem_plugins.set_sensitive(True)
|
||||
self.button_request_new.set_sensitive(True)
|
||||
self.button_request_search.set_sensitive(True)
|
||||
self.notebook.grab_focus()
|
||||
return True
|
||||
|
||||
@@ -1143,19 +1115,17 @@ class Main(object):
|
||||
res = self._win_del()
|
||||
else:
|
||||
res = False
|
||||
sb_id = self.sb_requests.get_context_id('message')
|
||||
self.sb_requests.push(sb_id, '')
|
||||
sb_id = self.sb_username.get_context_id('message')
|
||||
self.sb_username.push(sb_id, _('Not logged!'))
|
||||
sb_id = self.sb_servername.get_context_id('message')
|
||||
self.sb_servername.push(sb_id, _('Press Ctrl+O to login'))
|
||||
self.shortcut_unset()
|
||||
self.toolbutton_menu.set_sensitive(False)
|
||||
self.toolbutton_request.set_sensitive(False)
|
||||
self.toolbutton_request.set_label(_('Requests'))
|
||||
self.menuitem_user.set_sensitive(False)
|
||||
self.menuitem_form.set_sensitive(False)
|
||||
self.menuitem_plugins.set_sensitive(False)
|
||||
self.button_request_new.set_sensitive(False)
|
||||
self.button_request_search.set_sensitive(False)
|
||||
if disconnect:
|
||||
rpc.logout()
|
||||
self.refresh_ssl()
|
||||
@@ -1324,7 +1294,7 @@ class Main(object):
|
||||
if not view:
|
||||
view = self._wid_get()
|
||||
for i in self.buttons:
|
||||
if i == 'but_menu':
|
||||
if i in ('but_menu', 'but_request'):
|
||||
continue
|
||||
if self.buttons[i]:
|
||||
self.buttons[i].set_sensitive(
|
||||
|
||||
Reference in new issue
Block a user