+2007-06-07 Michael Monreal <infernux@web.de>
+
+ * data/icons/16x16/actions/Makefile.am:
+ * data/icons/16x16/actions/zoom.svg:
+ * data/icons/22x22/actions/Makefile.am:
+ * data/icons/22x22/actions/zoom.svg:
+ * data/icons/24x24/actions/Makefile.am:
+ * shell/ev-stock-icons.c:
+ * shell/ev-stock-icons.h:
+ * shell/ev-window.c:
+
+ Zoom icon artwork. See bug #444795.
+
2007-06-05 Bastien Nocera <hadess@hadess.net>
* shell/ev-metadata-manager.c: Remove extraneous function
icons_DATA = \
view-page-continuous.png \
view-page-facing.png \
+ zoom.png \
zoom-fit-page.png \
zoom-fit-width.png
noinst_DATA = \
view-page-continuous.xcf \
view-page-facing.xcf \
+ zoom.svg \
zoom-fit-page.svg \
zoom-fit-width.svg
--- /dev/null
+<?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://web.resource.org/cc/"
+ 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"
+ width="16"
+ height="16"
+ id="svg4639"
+ sodipodi:version="0.32"
+ inkscape:version="0.45+devel"
+ sodipodi:docbase="/home/luca/Desktop/16x16/actions"
+ sodipodi:docname="zoom.svg"
+ version="1.0"
+ inkscape:output_extension="org.inkscape.output.svg.inkscape"
+ inkscape:export-filename="/home/nx/Desktop/zoom.png"
+ inkscape:export-xdpi="90"
+ inkscape:export-ydpi="90">
+ <defs
+ id="defs4641">
+ <linearGradient
+ inkscape:collect="always"
+ id="linearGradient2889">
+ <stop
+ style="stop-color:#888a85;stop-opacity:1;"
+ offset="0"
+ id="stop2891" />
+ <stop
+ style="stop-color:#555753;stop-opacity:1"
+ offset="1"
+ id="stop2893" />
+ </linearGradient>
+ <linearGradient
+ inkscape:collect="always"
+ id="linearGradient2881">
+ <stop
+ style="stop-color:white;stop-opacity:1"
+ offset="0"
+ id="stop2883" />
+ <stop
+ style="stop-color:#eeeeec;stop-opacity:1"
+ offset="1"
+ id="stop2885" />
+ </linearGradient>
+ <linearGradient
+ inkscape:collect="always"
+ id="linearGradient2853">
+ <stop
+ style="stop-color:white;stop-opacity:1;"
+ offset="0"
+ id="stop2855" />
+ <stop
+ style="stop-color:white;stop-opacity:0;"
+ offset="1"
+ id="stop2857" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient5631">
+ <stop
+ style="stop-color:white;stop-opacity:1;"
+ offset="0"
+ id="stop5633" />
+ <stop
+ style="stop-color:#729fcf;stop-opacity:1;"
+ offset="1"
+ id="stop5635" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient8163">
+ <stop
+ style="stop-color:#bad0e8;stop-opacity:1;"
+ offset="0"
+ id="stop8165" />
+ <stop
+ style="stop-color:#7fa9d5;stop-opacity:1"
+ offset="1"
+ id="stop8167" />
+ </linearGradient>
+ <radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient8163"
+ id="radialGradient4666"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.941673,0,0,0.792865,0.946634,3.041907)"
+ cx="5.9125323"
+ cy="9.0931339"
+ fx="5.9125323"
+ fy="9.0931339"
+ r="6.6046906" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient5631"
+ id="linearGradient5637"
+ x1="7.5"
+ y1="8.8833847"
+ x2="7.5"
+ y2="-0.79768431"
+ gradientUnits="userSpaceOnUse" />
+ <radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient2853"
+ id="radialGradient2861"
+ cx="4.9147677"
+ cy="5.1328478"
+ fx="4.9147677"
+ fy="5.1328478"
+ r="5"
+ gradientTransform="matrix(1.925041,0,1.17341e-7,1.382998,-4.336128,-1.661216)"
+ gradientUnits="userSpaceOnUse" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient2881"
+ id="linearGradient2887"
+ x1="2.8480079"
+ y1="1.379131"
+ x2="7.0234137"
+ y2="10.952174"
+ gradientUnits="userSpaceOnUse" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient2889"
+ id="linearGradient2895"
+ x1="7.4401245"
+ y1="0.79882336"
+ x2="10.728523"
+ y2="13.712273"
+ gradientUnits="userSpaceOnUse" />
+ </defs>
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="16"
+ inkscape:cx="21.524656"
+ inkscape:cy="11.367931"
+ inkscape:current-layer="layer8"
+ showgrid="false"
+ inkscape:grid-bbox="true"
+ inkscape:document-units="px"
+ showborder="false"
+ inkscape:grid-points="true"
+ inkscape:window-width="1041"
+ inkscape:window-height="710"
+ inkscape:window-x="26"
+ inkscape:window-y="25" />
+ <metadata
+ id="metadata4644">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:creator>
+ <cc:Agent>
+ <dc:title>Lapo Calamandrei</dc:title>
+ </cc:Agent>
+ </dc:creator>
+ <dc:contributor>
+ <cc:Agent>
+ <dc:title>Andreas Nillson</dc:title>
+ </cc:Agent>
+ </dc:contributor>
+ <dc:title>Zoom</dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ id="layer1"
+ inkscape:label="magnifying lens"
+ inkscape:groupmode="layer"
+ style="display:inline">
+ <rect
+ y="-0.1077"
+ x="9.9999997e-05"
+ height="16"
+ width="16"
+ id="rect4613"
+ style="fill:white;fill-opacity:0;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
+ <rect
+ transform="matrix(0.707107,-0.707107,0.707107,0.707107,0,0)"
+ y="14.201591"
+ x="-0.97432232"
+ height="3.0000219"
+ width="1.9875129"
+ id="rect4615"
+ style="fill:#525655;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
+ <rect
+ transform="matrix(0.708405,-0.705806,0.708405,0.705806,0,0)"
+ ry="1.4539403"
+ rx="1.3503115"
+ y="16.878378"
+ x="-1.4629019"
+ height="4.4376249"
+ width="2.8660307"
+ id="rect4617"
+ style="fill:#d3d7cf;fill-opacity:1;stroke:#2e3436;stroke-width:1.00001717;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
+ <path
+ id="path4619"
+ d="M 11.128133,11.108613 L 14.215547,14.196027"
+ style="fill:none;fill-rule:evenodd;stroke:#525655;stroke-width:1.0000006px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
+ <path
+ transform="matrix(1.088272,0,0,1.200299,-8.933437e-2,0.259922)"
+ d="M 12.487086 5.6153316 A 5.9727769 5.415318 0 1 1 0.54153204,5.6153316 A 5.9727769 5.415318 0 1 1 12.487086 5.6153316 z"
+ sodipodi:ry="5.415318"
+ sodipodi:rx="5.9727769"
+ sodipodi:cy="5.6153316"
+ sodipodi:cx="6.5143089"
+ id="path4621"
+ style="fill:white;fill-opacity:0;stroke:url(#linearGradient2895);stroke-width:0.96245235;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+ sodipodi:type="arc" />
+ <path
+ transform="matrix(0.920843,0,0,1.015635,1.001354,1.29686)"
+ d="M 12.487086 5.6153316 A 5.9727769 5.415318 0 1 1 0.54153204,5.6153316 A 5.9727769 5.415318 0 1 1 12.487086 5.6153316 z"
+ sodipodi:ry="5.415318"
+ sodipodi:rx="5.9727769"
+ sodipodi:cy="5.6153316"
+ sodipodi:cx="6.5143089"
+ id="path4623"
+ style="opacity:1;fill:url(#radialGradient4666);fill-opacity:1;stroke:url(#linearGradient2887);stroke-width:1.03404319;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+ sodipodi:type="arc" />
+ <rect
+ style="opacity:1;fill:#999;fill-opacity:1;stroke:none;stroke-width:1.20000005;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+ id="rect1928"
+ width="1"
+ height="1"
+ x="12"
+ y="12" />
+ <path
+ style="opacity:0.5;fill:url(#radialGradient2861);fill-opacity:1;stroke:none;stroke-width:1.03404319;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;display:inline"
+ d="M 7,2 C 4.2399952,2 2.0000001,4.2399964 2,7 C 3,10.521525 8,3.5447287 12,7 C 12,4.2399964 9.7600047,2 7,2 z "
+ id="path2847" />
+ </g>
+ <g
+ inkscape:groupmode="layer"
+ id="layer8"
+ inkscape:label="pagewidth"
+ style="display:inline" />
+</svg>
icons_DATA = \
view-page-continuous.png \
view-page-facing.png \
+ zoom.png \
zoom-fit-page.png \
zoom-fit-width.png
noinst_DATA = \
view-page-continuous.xcf \
view-page-facing.xcf \
+ zoom.svg \
zoom-fit-page.svg \
zoom-fit-width.svg
--- /dev/null
+<?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://web.resource.org/cc/"
+ 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"
+ width="22"
+ height="22"
+ id="svg7360"
+ sodipodi:version="0.32"
+ inkscape:version="0.45+devel"
+ version="1.0"
+ sodipodi:docbase="/home/luca/Desktop/22x22/actions"
+ sodipodi:docname="zoom-fit-page.svg"
+ inkscape:export-filename="/home/andreas/project/misc icons/22x22/actions/zoom-fit-width.png"
+ inkscape:export-xdpi="90"
+ inkscape:export-ydpi="90"
+ inkscape:output_extension="org.inkscape.output.svg.inkscape">
+ <defs
+ id="defs7362">
+ <linearGradient
+ inkscape:collect="always"
+ id="linearGradient5398">
+ <stop
+ style="stop-color:#729fcf;stop-opacity:1;"
+ offset="0"
+ id="stop5400" />
+ <stop
+ style="stop-color:#729fcf;stop-opacity:0;"
+ offset="1"
+ id="stop5402" />
+ </linearGradient>
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient5398"
+ id="linearGradient7413"
+ gradientUnits="userSpaceOnUse"
+ x1="-1.650571"
+ y1="229.18515"
+ x2="6.1053252"
+ y2="250.19063" />
+ <linearGradient
+ inkscape:collect="always"
+ id="linearGradient7659">
+ <stop
+ style="stop-color:#555753;stop-opacity:1;"
+ offset="0"
+ id="stop7661" />
+ <stop
+ style="stop-color:#555753;stop-opacity:0;"
+ offset="1"
+ id="stop7663" />
+ </linearGradient>
+ <radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient7659"
+ id="radialGradient7411"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.973425,0,0,0.24,0.401944,173.945)"
+ cx="15.125"
+ cy="229.39583"
+ fx="15.125"
+ fy="229.39583"
+ r="9.375" />
+ <linearGradient
+ inkscape:collect="always"
+ id="linearGradient5388">
+ <stop
+ style="stop-color:#bcd2e9;stop-opacity:1"
+ offset="0"
+ id="stop5390" />
+ <stop
+ style="stop-color:#93b6db;stop-opacity:1"
+ offset="1"
+ id="stop5392" />
+ </linearGradient>
+ <radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient5388"
+ id="radialGradient7409"
+ gradientUnits="userSpaceOnUse"
+ cx="2.96875"
+ cy="240.416"
+ fx="2.96875"
+ fy="240.416"
+ r="8.96875" />
+ <linearGradient
+ inkscape:collect="always"
+ id="linearGradient7629">
+ <stop
+ style="stop-color:#555753;stop-opacity:1"
+ offset="0"
+ id="stop7631" />
+ <stop
+ style="stop-color:#babdb6;stop-opacity:1"
+ offset="1"
+ id="stop7633" />
+ </linearGradient>
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient7629"
+ id="linearGradient7407"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="translate(235.4321,-644.2117)"
+ x1="-164.73708"
+ y1="182.09869"
+ x2="-162.92517"
+ y2="182.10544" />
+ </defs>
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="31.672167"
+ inkscape:cx="14.098689"
+ inkscape:cy="13.127552"
+ inkscape:current-layer="draw_zoom"
+ showgrid="false"
+ inkscape:grid-bbox="true"
+ inkscape:document-units="px"
+ width="22px"
+ height="22px"
+ inkscape:window-width="1270"
+ inkscape:window-height="922"
+ inkscape:window-x="0"
+ inkscape:window-y="25" />
+ <metadata
+ id="metadata7365">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ id="layer1"
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer">
+ <g
+ id="g7387"
+ transform="translate(-1,-1)">
+ <g
+ inkscape:label="#g18331"
+ transform="translate(295.0516,397.0022)"
+ id="draw_zoom">
+ <rect
+ transform="matrix(0.707107,-0.707107,0.707107,0.707107,0,0)"
+ ry="1.4928225"
+ rx="1.4928225"
+ y="-467.01642"
+ x="70.877777"
+ height="9.0625086"
+ width="2.5000021"
+ id="rect18273"
+ style="fill:url(#linearGradient7407);fill-opacity:1;fill-rule:nonzero;stroke:#555753;stroke-width:1.00000107;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
+ <path
+ transform="matrix(1.003826,0,0,1,-288.0306,-622.4396)"
+ d="M 11.4375 235.40625 A 8.46875 8.46875 0 1 1 -5.5,235.40625 A 8.46875 8.46875 0 1 1 11.4375 235.40625 z"
+ sodipodi:ry="8.46875"
+ sodipodi:rx="8.46875"
+ sodipodi:cy="235.40625"
+ sodipodi:cx="2.96875"
+ id="path18275"
+ style="fill:url(#radialGradient7409);fill-opacity:1;fill-rule:nonzero;stroke:#888a85;stroke-width:0.99809253;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+ sodipodi:type="arc" />
+ <path
+ sodipodi:nodetypes="czccc"
+ id="path18277"
+ d="M -292.15418,-386.77986 C -292.15418,-386.77986 -288.74097,-385.87708 -284.98838,-385.87708 C -281.2922,-385.87708 -277.82258,-387.68264 -277.82258,-387.68264 C -277.82258,-387.68264 -278.8839,-394.00208 -284.98838,-394.00208 C -291.88279,-393.88923 -292.15418,-386.77986 -292.15418,-386.77986 z "
+ style="opacity:0.2857143;fill:white;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
+ <path
+ transform="matrix(0.885609,0,0,0.885612,-287.6784,-595.4806)"
+ d="M 11.4375 235.40625 A 8.46875 8.46875 0 1 1 -5.5,235.40625 A 8.46875 8.46875 0 1 1 11.4375 235.40625 z"
+ sodipodi:ry="8.46875"
+ sodipodi:rx="8.46875"
+ sodipodi:cy="235.40625"
+ sodipodi:cx="2.96875"
+ id="path18279"
+ style="opacity:0.8;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:white;stroke-width:1.12916505;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+ sodipodi:type="arc" />
+ <path
+ transform="matrix(1.119412,0,0,1.555533,-300.897,-733.5249)"
+ d="M 24.875 228.875 A 9.375 2.25 0 1 1 6.125,228.875 A 9.375 2.25 0 1 1 24.875 228.875 z"
+ sodipodi:ry="2.25"
+ sodipodi:rx="9.375"
+ sodipodi:cy="228.875"
+ sodipodi:cx="15.5"
+ id="path18281"
+ style="opacity:0.2;fill:url(#radialGradient7411);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+ sodipodi:type="arc" />
+ <path
+ sodipodi:type="arc"
+ style="opacity:0.6;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:url(#linearGradient7413);stroke-width:1.2950778;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+ id="path5396"
+ sodipodi:cx="2.96875"
+ sodipodi:cy="235.40625"
+ sodipodi:rx="8.46875"
+ sodipodi:ry="8.46875"
+ d="M 11.4375 235.40625 A 8.46875 8.46875 0 1 1 -5.5,235.40625 A 8.46875 8.46875 0 1 1 11.4375 235.40625 z"
+ transform="matrix(0.770704,0,0,0.773608,-287.3127,-569.1141)" />
+ </g>
+ </g>
+ </g>
+</svg>
icons_DATA = \
view-page-continuous.png \
view-page-facing.png \
+ zoom.png \
zoom-fit-page.png \
zoom-fit-width.png
/* Evince stock icons */
static const EvStockIcon stock_icons [] = {
+ { EV_STOCK_ZOOM, "zoom" },
{ EV_STOCK_ZOOM_PAGE, "zoom-fit-page" },
{ EV_STOCK_ZOOM_WIDTH, "zoom-fit-width" },
{ EV_STOCK_VIEW_DUAL, "view-page-facing" },
G_BEGIN_DECLS
/* Evince stock icons */
+#define EV_STOCK_ZOOM "zoom"
#define EV_STOCK_ZOOM_PAGE "zoom-fit-page"
#define EV_STOCK_ZOOM_WIDTH "zoom-fit-width"
#define EV_STOCK_VIEW_DUAL "view-page-facing"
action = g_object_new (EPHY_TYPE_ZOOM_ACTION,
"name", ZOOM_CONTROL_ACTION,
"label", _("Zoom"),
- "stock_id", GTK_STOCK_ZOOM_IN,
+ "stock_id", EV_STOCK_ZOOM,
"tooltip", _("Adjust the zoom level"),
"zoom", 1.0,
NULL);