gcompris r3681 - in branches/gcomprixogoo: boards/skins/gartoon src/gcompris



Author: bcoudoin
Date: Sat Jan 17 18:29:28 2009
New Revision: 3681
URL: http://svn.gnome.org/viewvc/gcompris?rev=3681&view=rev

Log:
integrated file.png and directory.png in skin.svg


Removed:
   branches/gcomprixogoo/boards/skins/gartoon/directory.png
   branches/gcomprixogoo/boards/skins/gartoon/file.png
Modified:
   branches/gcomprixogoo/boards/skins/gartoon/skin.svg
   branches/gcomprixogoo/src/gcompris/file_selector.c

Modified: branches/gcomprixogoo/boards/skins/gartoon/skin.svg
==============================================================================
--- branches/gcomprixogoo/boards/skins/gartoon/skin.svg	(original)
+++ branches/gcomprixogoo/boards/skins/gartoon/skin.svg	Sat Jan 17 18:29:28 2009
@@ -1591,6 +1591,588 @@
        y1="7.0243196"
        x2="24.030643"
        y2="34.826122" />
+    <inkscape:perspective
+       id="perspective4233"
+       inkscape:persp3d-origin="300 : 400 : 1"
+       inkscape:vp_z="700 : 600 : 1"
+       inkscape:vp_y="0 : 1000 : 0"
+       inkscape:vp_x="-50 : 600 : 1"
+       sodipodi:type="inkscape:persp3d" />
+    <linearGradient
+       id="linearGradient3877">
+      <stop
+         style="stop-color:#fed51b;stop-opacity:1"
+         offset="0"
+         id="stop3879" />
+      <stop
+         style="stop-color:#ffffda;stop-opacity:1"
+         offset="1"
+         id="stop3881" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient3871">
+      <stop
+         id="stop3873"
+         offset="0"
+         style="stop-color:#d0ac44;stop-opacity:1" />
+      <stop
+         id="stop3875"
+         offset="1"
+         style="stop-color:#aa7d19;stop-opacity:1" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient4240">
+      <stop
+         style="stop-color:#eeeeed;stop-opacity:1;"
+         offset="0"
+         id="stop4242" />
+      <stop
+         style="stop-color:#a6a6a6;stop-opacity:1;"
+         offset="1"
+         id="stop4244" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient4454">
+      <stop
+         style="stop-color:#d5d4d0;stop-opacity:1;"
+         offset="0"
+         id="stop4456" />
+      <stop
+         id="stop4464"
+         offset="0.24538536"
+         style="stop-color:#f1f1f1;stop-opacity:1;" />
+      <stop
+         id="stop4462"
+         offset="0.49077073"
+         style="stop-color:#ffffff;stop-opacity:1;" />
+      <stop
+         style="stop-color:#f0f0f0;stop-opacity:1;"
+         offset="0.74538535"
+         id="stop4466" />
+      <stop
+         style="stop-color:#d4d4d4;stop-opacity:1;"
+         offset="1"
+         id="stop4458" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient3883">
+      <stop
+         style="stop-color:#ffffda;stop-opacity:0.60000002"
+         offset="0"
+         id="stop3885" />
+      <stop
+         style="stop-color:#c5a100;stop-opacity:0.71428573"
+         offset="1"
+         id="stop3887" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient3889">
+      <stop
+         style="stop-color:#e1b73f;stop-opacity:0.58431375;"
+         offset="0"
+         id="stop3891" />
+      <stop
+         style="stop-color:#aa7d19;stop-opacity:1"
+         offset="1"
+         id="stop3893" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient3468">
+      <stop
+         id="stop3470"
+         offset="0"
+         style="stop-color:#d8d8d8;stop-opacity:1;" />
+      <stop
+         style="stop-color:#f0f0f0;stop-opacity:1;"
+         offset="0.22455101"
+         id="stop3476" />
+      <stop
+         id="stop3478"
+         offset="0.46812087"
+         style="stop-color:#ffffff;stop-opacity:1;" />
+      <stop
+         style="stop-color:#f3f3f3;stop-opacity:1;"
+         offset="0.76308393"
+         id="stop3480" />
+      <stop
+         id="stop3472"
+         offset="1"
+         style="stop-color:#d6d6d6;stop-opacity:1;" />
+    </linearGradient>
+    <inkscape:perspective
+       id="perspective3197"
+       inkscape:persp3d-origin="43.341232 : 40.091487 : 1"
+       inkscape:vp_z="86.682465 : 60.13723 : 1"
+       inkscape:vp_y="0 : 1000 : 0"
+       inkscape:vp_x="0 : 60.13723 : 1"
+       sodipodi:type="inkscape:persp3d" />
+    <inkscape:perspective
+       id="perspective3962"
+       inkscape:persp3d-origin="300 : 400 : 1"
+       inkscape:vp_z="700 : 600 : 1"
+       inkscape:vp_y="0 : 1000 : 0"
+       inkscape:vp_x="-50 : 600 : 1"
+       sodipodi:type="inkscape:persp3d" />
+    <linearGradient
+       id="linearGradient4028">
+      <stop
+         style="stop-color:#fed51b;stop-opacity:1"
+         offset="0"
+         id="stop4030" />
+      <stop
+         style="stop-color:#ffffda;stop-opacity:1"
+         offset="1"
+         id="stop4032" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient4021">
+      <stop
+         id="stop4023"
+         offset="0"
+         style="stop-color:#d0ac44;stop-opacity:1" />
+      <stop
+         id="stop4025"
+         offset="1"
+         style="stop-color:#aa7d19;stop-opacity:1" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient3976">
+      <stop
+         style="stop-color:#eeeeed;stop-opacity:1;"
+         offset="0"
+         id="stop3978" />
+      <stop
+         style="stop-color:#a6a6a6;stop-opacity:1;"
+         offset="1"
+         id="stop3980" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient3963">
+      <stop
+         style="stop-color:#d5d4d0;stop-opacity:1;"
+         offset="0"
+         id="stop3965" />
+      <stop
+         id="stop3967"
+         offset="0.24538536"
+         style="stop-color:#f1f1f1;stop-opacity:1;" />
+      <stop
+         id="stop3969"
+         offset="0.49077073"
+         style="stop-color:#ffffff;stop-opacity:1;" />
+      <stop
+         style="stop-color:#f0f0f0;stop-opacity:1;"
+         offset="0.74538535"
+         id="stop3971" />
+      <stop
+         style="stop-color:#d4d4d4;stop-opacity:1;"
+         offset="1"
+         id="stop3973" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient6968">
+      <stop
+         id="stop6970"
+         offset="0"
+         style="stop-color:#d29d9e;stop-opacity:1;" />
+      <stop
+         style="stop-color:#bc7575;stop-opacity:0.50588238;"
+         offset="0.24538536"
+         id="stop6972" />
+      <stop
+         style="stop-color:#b56b6a;stop-opacity:0.34901962;"
+         offset="0.49077073"
+         id="stop6974" />
+      <stop
+         id="stop6976"
+         offset="0.74538535"
+         style="stop-color:#ad7673;stop-opacity:0.27843139;" />
+      <stop
+         id="stop6978"
+         offset="1"
+         style="stop-color:#9c7f7f;stop-opacity:0.07058824;" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient826">
+      <stop
+         id="stop827"
+         offset="0.00000000"
+         style="stop-color:#000000;stop-opacity:0.95294118;" />
+      <stop
+         id="stop830"
+         offset="0.36585677"
+         style="stop-color:#000000;stop-opacity:0.76078433;" />
+      <stop
+         id="stop847"
+         offset="0.47107276"
+         style="stop-color:#000000;stop-opacity:0.52941179;" />
+      <stop
+         id="stop828"
+         offset="1.0000000"
+         style="stop-color:#ffffff;stop-opacity:0.00000000;" />
+    </linearGradient>
+    <linearGradient
+       y2="28.120695"
+       x2="130.70354"
+       y1="170.27164"
+       x1="27.318817"
+       gradientTransform="scale(1.0211162,0.9793205)"
+       gradientUnits="userSpaceOnUse"
+       id="linearGradient12549"
+       xlink:href="#linearGradient1222"
+       inkscape:collect="always" />
+    <linearGradient
+       id="linearGradient1222">
+      <stop
+         id="stop1223"
+         offset="0.00000000"
+         style="stop-color:#000000;stop-opacity:0.32231405;" />
+      <stop
+         id="stop1224"
+         offset="1.0000000"
+         style="stop-color:#000000;stop-opacity:0.00000000;" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient1218">
+      <stop
+         id="stop1219"
+         offset="0.00000000"
+         style="stop-color:#000000;stop-opacity:1.0000000;" />
+      <stop
+         id="stop1321"
+         offset="0.073255815"
+         style="stop-color:#323232;stop-opacity:1.0000000;" />
+      <stop
+         id="stop1320"
+         offset="0.65260679"
+         style="stop-color:#000000;stop-opacity:1.0000000;" />
+      <stop
+         id="stop1220"
+         offset="1"
+         style="stop-color:#fff;stop-opacity:1;" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient1323">
+      <stop
+         id="stop1324"
+         offset="0.00000000"
+         style="stop-color:#000000;stop-opacity:0.77685952;" />
+      <stop
+         id="stop1325"
+         offset="1.0000000"
+         style="stop-color:#000000;stop-opacity:0.00000000;" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient1273">
+      <stop
+         id="stop1274"
+         offset="0.00000000"
+         style="stop-color:#ffffff;stop-opacity:1.0000000;" />
+      <stop
+         id="stop1275"
+         offset="1.0000000"
+         style="stop-color:#ffffff;stop-opacity:0.00000000;" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient6792">
+      <stop
+         id="stop6794"
+         offset="0"
+         style="stop-color:#9db8d2;stop-opacity:1" />
+      <stop
+         style="stop-color:#7592bc;stop-opacity:0.50588238"
+         offset="0.24538536"
+         id="stop6796" />
+      <stop
+         style="stop-color:#6a87b5;stop-opacity:0.34901962"
+         offset="0.49077073"
+         id="stop6798" />
+      <stop
+         id="stop6800"
+         offset="0.74538535"
+         style="stop-color:#7389ad;stop-opacity:0.27843139" />
+      <stop
+         id="stop6802"
+         offset="1"
+         style="stop-color:#7f8e9c;stop-opacity:0.07058824" />
+    </linearGradient>
+    <linearGradient
+       y2="28.120695"
+       x2="130.70354"
+       y1="170.27164"
+       x1="27.318817"
+       gradientTransform="scale(1.0211162,0.9793205)"
+       gradientUnits="userSpaceOnUse"
+       id="linearGradient12583"
+       xlink:href="#linearGradient1222"
+       inkscape:collect="always" />
+    <linearGradient
+       id="linearGradient6880">
+      <stop
+         style="stop-color:#9dd2a5;stop-opacity:1;"
+         offset="0"
+         id="stop6882" />
+      <stop
+         id="stop6884"
+         offset="0.24538536"
+         style="stop-color:#75bc7d;stop-opacity:0.50588238;" />
+      <stop
+         id="stop6886"
+         offset="0.49077073"
+         style="stop-color:#6ab573;stop-opacity:0.34901962;" />
+      <stop
+         style="stop-color:#73ad79;stop-opacity:0.27843139;"
+         offset="0.74538535"
+         id="stop6888" />
+      <stop
+         style="stop-color:#7f9c85;stop-opacity:0.07058824;"
+         offset="1"
+         id="stop6890" />
+    </linearGradient>
+    <linearGradient
+       y2="28.120695"
+       x2="130.70354"
+       y1="170.27164"
+       x1="27.318817"
+       gradientTransform="scale(1.0211162,0.9793205)"
+       gradientUnits="userSpaceOnUse"
+       id="linearGradient12617"
+       xlink:href="#linearGradient1222"
+       inkscape:collect="always" />
+    <linearGradient
+       id="linearGradient3870">
+      <stop
+         style="stop-color:#ffffda;stop-opacity:0.60000002"
+         offset="0"
+         id="stop3872" />
+      <stop
+         style="stop-color:#c5a100;stop-opacity:0.71428573"
+         offset="1"
+         id="stop3874" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient3863">
+      <stop
+         style="stop-color:#e1b73f;stop-opacity:0.58431375;"
+         offset="0"
+         id="stop3865" />
+      <stop
+         style="stop-color:#aa7d19;stop-opacity:1"
+         offset="1"
+         id="stop3867" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient3850">
+      <stop
+         id="stop3852"
+         offset="0"
+         style="stop-color:#d8d8d8;stop-opacity:1;" />
+      <stop
+         style="stop-color:#f0f0f0;stop-opacity:1;"
+         offset="0.22455101"
+         id="stop3854" />
+      <stop
+         id="stop3856"
+         offset="0.46812087"
+         style="stop-color:#ffffff;stop-opacity:1;" />
+      <stop
+         style="stop-color:#f3f3f3;stop-opacity:1;"
+         offset="0.76308393"
+         id="stop3858" />
+      <stop
+         id="stop3860"
+         offset="1"
+         style="stop-color:#d6d6d6;stop-opacity:1;" />
+    </linearGradient>
+    <linearGradient
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="scale(0.874042,1.14411)"
+       y2="526.23271"
+       x2="514.90333"
+       y1="548.239"
+       x1="568.79626"
+       id="linearGradient1932"
+       xlink:href="#linearGradient580"
+       inkscape:collect="always" />
+    <linearGradient
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="scale(0.877703,1.139338)"
+       y2="527.86278"
+       x2="424.89935"
+       y1="598.20805"
+       x1="616.72021"
+       id="linearGradient1930"
+       xlink:href="#linearGradient584"
+       inkscape:collect="always" />
+    <linearGradient
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="scale(0.877703,1.139338)"
+       y2="514.20895"
+       x2="535.56183"
+       y1="589.92759"
+       x1="592.42822"
+       id="linearGradient1928"
+       xlink:href="#linearGradient617"
+       inkscape:collect="always" />
+    <linearGradient
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="scale(1.051982,0.950586)"
+       y2="715.20287"
+       x2="377.78208"
+       y1="630.57763"
+       x1="468.37797"
+       id="linearGradient1926"
+       xlink:href="#linearGradient590"
+       inkscape:collect="always" />
+    <linearGradient
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="scale(1.087711,0.919362)"
+       y2="668.37204"
+       x2="379.80055"
+       y1="705.14549"
+       x1="474.28765"
+       id="linearGradient1924"
+       xlink:href="#linearGradient584"
+       inkscape:collect="always" />
+    <linearGradient
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="scale(1.087711,0.919362)"
+       y2="666.48075"
+       x2="416.47751"
+       y1="740.69786"
+       x1="472.21622"
+       id="linearGradient1922"
+       xlink:href="#linearGradient574"
+       inkscape:collect="always" />
+    <linearGradient
+       xlink:href="#linearGradient594"
+       id="linearGradient593" />
+    <linearGradient
+       xlink:href="#linearGradient590"
+       id="linearGradient589"
+       y2="1"
+       x2="-0.145349"
+       y1="0.14193501"
+       x1="0.773256" />
+    <linearGradient
+       xlink:href="#linearGradient584"
+       id="linearGradient587"
+       y2="0.206452"
+       x2="-0.658333"
+       y1="0.787099"
+       x1="0.92500299" />
+    <linearGradient
+       xlink:href="#linearGradient580"
+       id="linearGradient579"
+       y2="0.203125"
+       x2="0.051020399"
+       y1="0.390625"
+       x1="0.51020402" />
+    <linearGradient
+       xlink:href="#linearGradient574"
+       id="linearGradient577"
+       y2="0.093749993"
+       x2="0.25510201"
+       y1="0.71875"
+       x1="0.724491" />
+    <linearGradient
+       xlink:href="#linearGradient584"
+       id="linearGradient620"
+       y2="0.109677"
+       x2="-0.053763442"
+       y1="0.41935501"
+       x1="0.74193501" />
+    <linearGradient
+       xlink:href="#linearGradient617"
+       id="linearGradient616"
+       y2="0.093749993"
+       x2="0.25510201"
+       y1="0.71875"
+       x1="0.724491" />
+    <linearGradient
+       id="linearGradient613">
+      <stop
+         id="stop614"
+         offset="0"
+         style="stop-color:#000000;stop-opacity:1.0000;" />
+      <stop
+         id="stop615"
+         offset="1"
+         style="stop-color:#ffffff;stop-opacity:1.0000;" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient617">
+      <stop
+         id="stop618"
+         offset="0"
+         style="stop-color:#000fff;stop-opacity:0.8431;" />
+      <stop
+         id="stop619"
+         offset="1"
+         style="stop-color:#00879d;stop-opacity:0.6235;" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient574">
+      <stop
+         id="stop575"
+         offset="0"
+         style="stop-color:#d7ffff;stop-opacity:1.0000;" />
+      <stop
+         id="stop576"
+         offset="1"
+         style="stop-color:#d2ffff;stop-opacity:0.6235;" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient580">
+      <stop
+         id="stop581"
+         offset="0"
+         style="stop-color:#ffffff;stop-opacity:0;" />
+      <stop
+         id="stop582"
+         offset="1"
+         style="stop-color:#ffffff;stop-opacity:1.0000;" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient584">
+      <stop
+         id="stop585"
+         offset="0"
+         style="stop-color:#1e0fff;stop-opacity:1.0000;" />
+      <stop
+         id="stop586"
+         offset="1"
+         style="stop-color:#42cfff;stop-opacity:1.0000;" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient590">
+      <stop
+         id="stop591"
+         offset="0"
+         style="stop-color:#6687aa;stop-opacity:1.0000;" />
+      <stop
+         id="stop592"
+         offset="1"
+         style="stop-color:#ffffff;stop-opacity:1.0000;" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient594">
+      <stop
+         id="stop595"
+         offset="0"
+         style="stop-color:#d1d2dd;stop-opacity:0.6863;" />
+      <stop
+         id="stop596"
+         offset="1"
+         style="stop-color:#f5f5f5;stop-opacity:0.7804;" />
+    </linearGradient>
+    <inkscape:perspective
+       id="perspective4241"
+       inkscape:persp3d-origin="64 : 42.666667 : 1"
+       inkscape:vp_z="128 : 64 : 1"
+       inkscape:vp_y="0 : 1000 : 0"
+       inkscape:vp_x="0 : 64 : 1"
+       sodipodi:type="inkscape:persp3d" />
   </defs>
   <sodipodi:namedview
      inkscape:document-units="mm"
@@ -1599,9 +2181,9 @@
      borderopacity="1.0"
      inkscape:pageopacity="0.0"
      inkscape:pageshadow="2"
-     inkscape:zoom="0.54542505"
-     inkscape:cx="374.37273"
-     inkscape:cy="547.27354"
+     inkscape:zoom="1.542695"
+     inkscape:cx="597.53923"
+     inkscape:cy="318.57928"
      inkscape:current-layer="layer1"
      id="namedview6255"
      inkscape:window-width="1280"
@@ -2847,5 +3429,90 @@
            style="opacity:0.8;fill:url(#linearGradient4799);stroke:none" />
       </g>
     </g>
+    <g
+       transform="matrix(0.4362563,0,0,0.4347315,361.84171,83.071922)"
+       id="FILE"
+       inkscape:label="#FILE">
+      <g
+         id="g2774">
+        <path
+           style="fill:#eeeeee;fill-opacity:1;fill-rule:nonzero;stroke:#333333;stroke-width:3.51475525;stroke-linecap:butt;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;enable-background:accumulate"
+           d="M 201.29393,277.81602 L 201.29393,361.15494 C 201.29393,364.45818 198.63464,367.11747 195.3314,367.11747 L 124.40866,367.11746 C 121.10542,367.11747 118.44613,364.45818 118.44613,361.15494 L 118.44613,256.96755 C 118.44613,253.66431 121.10542,251.00502 124.40866,251.00502 L 124.40866,251.00502 L 175.91894,251.00502"
+           id="path2601" />
+        <path
+           style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#333333;stroke-width:3.51475525;stroke-linecap:butt;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;enable-background:accumulate"
+           d="M 200.66629,278.44365 L 181.25384,278.44365 C 177.95059,278.44365 175.2913,275.78436 175.2913,272.48112 L 175.2913,251.63266"
+           id="rect2583" />
+        <path
+           style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#333333;stroke-width:3.55898809;stroke-linecap:butt;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;enable-background:accumulate"
+           d="M 174.47857,250.37988 L 201.59172,279.08919"
+           id="path2603"
+           sodipodi:nodetypes="cc" />
+      </g>
+    </g>
+    <g
+       id="FOLDER"
+       transform="matrix(0.4198801,0,0,0.4198801,406.1498,121.83512)">
+      <g
+         transform="matrix(0.808772,0,0,0.808772,-1.387465,-1.618687)"
+         id="g1909">
+        <path
+           d="M 487.0393,710.4615 C 464.2628,698.6033 441.035,686.9239 421.2698,675.7201 L 429.4245,667.4137 L 421.6256,658.1642 L 472.9779,603.7141 C 497.7307,614.9235 522.7014,628.5612 548.0083,640.1931 L 487.0393,710.4615 z"
+           transform="matrix(1.130927,0,0,1.130927,-462.9989,-645.2557)"
+           style="font-size:12px;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#ffffff;stroke-width:2.424371;stroke-linejoin:bevel;stroke-opacity:1"
+           id="path993" />
+        <path
+           d="M 417.5,662.3621 L 488.75,686.1121 L 518.75,614.8621 L 453.75,594.8621 L 417.5,662.3621 z"
+           transform="matrix(1.130927,0,0,1.130927,-462.9989,-645.2557)"
+           style="font-size:12px;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke-width:2.5;stroke-linejoin:bevel"
+           id="path992" />
+        <path
+           d="M 413.75,654.8621 L 485,678.6121 L 515,607.3621 L 450,587.3621 L 413.75,654.8621 z"
+           transform="matrix(1.130927,0,0,1.130927,-462.9989,-645.2557)"
+           style="font-size:12px;fill:#ffffff;fill-rule:evenodd;stroke:#ffffff;stroke-width:2.5;stroke-linejoin:bevel;stroke-opacity:1"
+           id="path991" />
+        <path
+           d="M 488.0365,709.0731 C 471.3234,688.9022 457.492,671.0365 444.8131,648.5603 L 464.4077,628.3894 L 464.984,611.6764 L 499.5627,574.7925 C 512.6257,598.6134 528.5705,620.7053 547.3966,641.0683 L 488.0365,709.0731 z"
+           transform="matrix(1.130927,0,0,1.130927,-462.9989,-645.2557)"
+           style="font-size:12px;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#ffffff;stroke-width:3.75;stroke-linejoin:bevel;stroke-opacity:1"
+           id="path990" />
+        <path
+           d="M 487.0393,710.4615 C 464.2628,698.6033 441.035,686.9239 421.2698,675.7201 L 429.4245,667.4137 L 421.6256,658.1642 L 472.9779,603.7141 C 497.7307,614.9235 522.7014,628.5612 548.0083,640.1931 L 487.0393,710.4615 z"
+           transform="matrix(1.130927,0,0,1.130927,-462.9989,-645.2557)"
+           style="font-size:12px;fill:url(#linearGradient1922);fill-rule:evenodd;stroke:url(#linearGradient1924);stroke-width:2.424371;stroke-linejoin:bevel"
+           id="path608" />
+        <path
+           d="M 417.5,662.3621 L 488.75,686.1121 L 518.75,614.8621 L 453.75,594.8621 L 417.5,662.3621 z"
+           transform="matrix(1.130927,0,0,1.130927,-462.9989,-645.2557)"
+           style="font-size:12px;fill-opacity:0.15750002;fill-rule:evenodd;stroke-width:2.5;stroke-linejoin:bevel"
+           id="path609" />
+        <path
+           d="M 413.75,654.8621 L 485,678.6121 L 515,607.3621 L 450,587.3621 L 413.75,654.8621 z"
+           transform="matrix(1.130927,0,0,1.130927,-462.9989,-645.2557)"
+           style="font-size:12px;fill:#ffffff;fill-rule:evenodd;stroke:url(#linearGradient1926);stroke-width:2.5;stroke-linejoin:bevel"
+           id="path610" />
+        <path
+           d="M 488.0365,709.0731 C 471.3234,688.9022 457.492,671.0365 444.8131,648.5603 L 464.4077,628.3894 L 464.984,611.6764 L 499.5627,574.7925 C 512.6257,598.6134 528.5705,620.7053 547.3966,641.0683 L 488.0365,709.0731 z"
+           transform="matrix(1.130927,0,0,1.130927,-462.9989,-645.2557)"
+           style="font-size:12px;fill:url(#linearGradient1928);fill-rule:evenodd;stroke:url(#linearGradient1930);stroke-width:3.75;stroke-linejoin:bevel"
+           id="path611" />
+        <path
+           d="M 488.0365,709.0731 C 471.3234,688.9022 457.492,671.0365 444.8131,648.5603 L 464.4077,628.3894 L 464.984,611.6764 L 499.5627,574.7925 C 512.6257,598.6134 528.5705,620.7053 547.3966,641.0683 L 488.0365,709.0731 z"
+           transform="matrix(1.130927,0,0,1.130927,-462.9989,-645.2557)"
+           style="font-size:12px;fill:url(#linearGradient1932);fill-rule:evenodd;stroke-width:2.5;stroke-linejoin:bevel"
+           id="path613" />
+        <path
+           d="M 451.7519,641.5156 C 493.3748,654.3135 515.9802,645.5822 531.4095,625.0099 L 512.3921,598.4574 L 499.1158,576.5695 L 466.1046,612.0925 L 465.7458,627.5217 L 451.7519,641.5156 z"
+           transform="matrix(1.130927,0,0,1.130927,-462.9989,-645.2557)"
+           style="font-size:12px;fill:#ffffff;fill-opacity:0.25979997;fill-rule:evenodd"
+           id="path614" />
+        <path
+           d="M 321.4302,193.0425 L 337.8092,211.7615 L 241.8748,321.7352 L 220.816,297.5565 L 200.5372,269.4781 L 180.2585,237.5001 L 172.4588,222.6809 L 202.80405,189.74885 L 203.58977,161.83868 L 259.0338,101.7879 L 262.9335,104.1279 L 259.8139,104.9077 L 206.60295,163.01149 L 205.9969,189.1428 L 174.7987,221.9009 L 186.4981,242.9596 L 204.437,272.5981 L 223.156,296.7766 L 321.4302,193.0425 z"
+           style="font-size:12px;fill:#ffffff;fill-rule:evenodd"
+           id="path615"
+           transform="matrix(0.673307,0,0,0.673307,-74.19154,-62.39847)"
+           sodipodi:nodetypes="ccccccccccccccccccc" />
+      </g>
+    </g>
   </g>
 </svg>

Modified: branches/gcomprixogoo/src/gcompris/file_selector.c
==============================================================================
--- branches/gcomprixogoo/src/gcompris/file_selector.c	(original)
+++ branches/gcomprixogoo/src/gcompris/file_selector.c	Sat Jan 17 18:29:28 2009
@@ -329,7 +329,7 @@
 
   /* Initial image position */
   guint ix  = 0.0;
-  guint iy  = 0.0;
+  guint iy  = 30.0;
 
   GtkWidget	  *w;
   GooCanvasItem *bg_item;
@@ -460,7 +460,7 @@
   while(listrunner)
     {
       /* add the file to the display */
-      GdkPixbuf *pixmap_current;
+      gchar *svg_id;
 
       gchar *allfilename = listrunner->data;
       gchar *filename    = g_path_get_basename(allfilename);
@@ -474,18 +474,18 @@
 	}
 
       if(g_file_test(allfilename, G_FILE_TEST_IS_DIR))
-	pixmap_current  = gc_pixmap_load(gc_skin_image_get("directory.png"));
+	svg_id = "#FOLDER";
       else
-	pixmap_current  = gc_pixmap_load(gc_skin_image_get("file.png"));
+	svg_id = "#FILE";
 
-      item = goo_canvas_image_new (goo_canvas_get_root_item(GOO_CANVAS(canvas)),
-				   pixmap_current,
-				   ix + (IMAGE_WIDTH + IMAGE_GAP
-					 - gdk_pixbuf_get_width(pixmap_current))/2,
-				   iy,
-				   NULL);
+      item = goo_canvas_svg_new (goo_canvas_get_root_item(GOO_CANVAS(canvas)),
+				 gc_skin_rsvg_get(),
+				 "svg-id", svg_id,
+				 NULL);
 
-      gdk_pixbuf_unref(pixmap_current);
+      SET_ITEM_LOCATION_CENTER(item,
+			       ix + (IMAGE_WIDTH + IMAGE_GAP)/2,
+			       iy);
 
       if(g_file_test(allfilename, G_FILE_TEST_IS_DIR))
 	{
@@ -511,7 +511,7 @@
 			     iy + 10,
 			     -1,
 			     GTK_ANCHOR_CENTER,
-			     "font", "Sans 7",
+			     "font", "Sans 6",
 			     "fill-color-rgba",
 			     gc_skin_get_color("gcompris/fileselectcol"),
 			     NULL);
@@ -520,9 +520,10 @@
       item = goo_canvas_text_new (goo_canvas_get_root_item(GOO_CANVAS(canvas)),
 				  file_wo_ext,
 				  ix + (IMAGE_WIDTH + IMAGE_GAP)/2,
-				  iy + IMAGE_HEIGHT - 5,
+				  iy + IMAGE_HEIGHT - 30,
 				  -1,
 				  GTK_ANCHOR_CENTER,
+				  "font", "Sans 7",
 				  "fill-color-rgba", gc_skin_get_color("gcompris/fileselectcol"),
 				  NULL);
       g_free(file_wo_ext);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]