[kune-commits] r1761 - in trunk: . img/icons/custom-iconic src/main/java/cc/kune/core/client/dnd src/main/java/cc/kune/events/client/actions src/main/java/cc/kune/gspace/client src/main/java/org/waveprotocol/wave/client/gadget/renderer
Vicente J. Ruiz Jurado
vjrj_ at ourproject.org
Mon Mar 12 15:32:38 CET 2012
Author: vjrj_
Date: 2012-03-12 15:32:37 +0100 (Mon, 12 Mar 2012)
New Revision: 1761
Added:
trunk/img/icons/custom-iconic/centralized.svg
trunk/img/icons/custom-iconic/circle.svg
trunk/img/icons/custom-iconic/karma.svg
trunk/img/icons/custom-iconic/net.svg
trunk/img/icons/custom-iconic/pc.svg
trunk/img/icons/custom-iconic/phone.svg
Modified:
trunk/TODO
trunk/src/main/java/cc/kune/core/client/dnd/FolderContainerDropController.java
trunk/src/main/java/cc/kune/core/client/dnd/FolderContentDropController.java
trunk/src/main/java/cc/kune/events/client/actions/EventsClientActions.java
trunk/src/main/java/cc/kune/gspace/client/GSpaceGinModule.java
trunk/src/main/java/org/waveprotocol/wave/client/gadget/renderer/Gadget.css
trunk/src/main/java/org/waveprotocol/wave/client/gadget/renderer/GadgetWidget.java
Log:
Gagdget width issue (default restored to fix), new icons, drop issue (some unnecessary singleton), events tutorial
Modified: trunk/TODO
===================================================================
--- trunk/TODO 2012-03-12 12:21:41 UTC (rev 1760)
+++ trunk/TODO 2012-03-12 14:32:37 UTC (rev 1761)
@@ -355,6 +355,9 @@
To determine how much memory you can spare for Java, try this: stop your Java process; run free -m; subtract the 'used' value from the "-/+ cache" row from the total memory allocated to your server and then subtract another 'just in case' margin of about 10% of your total server memory. The number you come up with is a rough indicator of the largest -Xmx setting you can use on your server.
* MID-TERM
+** hotdeploy hot swapping:
+http://ssw.jku.at/dcevm/
+
** Try to reuse welcome message to anonymous users in GWave:
Welcome to Google Wave
Added: trunk/img/icons/custom-iconic/centralized.svg
===================================================================
--- trunk/img/icons/custom-iconic/centralized.svg (rev 0)
+++ trunk/img/icons/custom-iconic/centralized.svg 2012-03-12 14:32:37 UTC (rev 1761)
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Generator: Adobe Illustrator 14.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 43363) -->
+
+<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"
+ id="Layer_1"
+ x="0px"
+ y="0px"
+ width="31.999px"
+ height="32px"
+ viewBox="0 0 31.999 32"
+ style="enable-background:new 0 0 31.999 32;"
+ xml:space="preserve"
+ inkscape:version="0.48.2 r9819"
+ sodipodi:docname="centralized.svg"><metadata
+ id="metadata21679"><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="defs21677" /><sodipodi:namedview
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1"
+ objecttolerance="10"
+ gridtolerance="10"
+ guidetolerance="10"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:window-width="1078"
+ inkscape:window-height="919"
+ id="namedview21675"
+ showgrid="true"
+ inkscape:zoom="21.90625"
+ inkscape:cx="15.9995"
+ inkscape:cy="16"
+ inkscape:window-x="-1"
+ inkscape:window-y="972"
+ inkscape:window-maximized="0"
+ inkscape:current-layer="Layer_1"><inkscape:grid
+ type="xygrid"
+ id="grid22181"
+ empspacing="5"
+ visible="true"
+ enabled="true"
+ snapvisiblegridlinesonly="true" /></sodipodi:namedview>
+
+<text
+ xml:space="preserve"
+ style="font-size:53.19288635px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#231f20;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans"
+ x="1.3101565"
+ y="30.137211"
+ id="text2566"
+ sodipodi:linespacing="125%"
+ transform="matrix(0.98912851,0.14705367,-0.14705367,0.98912851,0,0)"><tspan
+ sodipodi:role="line"
+ id="tspan2568"
+ x="1.3101565"
+ y="30.137211">¤</tspan></text>
+<text
+ xml:space="preserve"
+ style="font-size:53.19288635px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#231f20;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans"
+ x="1.3101565"
+ y="30.137211"
+ id="text2566-5"
+ sodipodi:linespacing="125%"
+ transform="matrix(0.98912851,0.14705367,-0.14705367,0.98912851,0,0)"><tspan
+ sodipodi:role="line"
+ id="tspan2568-7"
+ x="1.3101565"
+ y="30.137211">¤</tspan></text>
+</svg>
\ No newline at end of file
Added: trunk/img/icons/custom-iconic/circle.svg
===================================================================
--- trunk/img/icons/custom-iconic/circle.svg (rev 0)
+++ trunk/img/icons/custom-iconic/circle.svg 2012-03-12 14:32:37 UTC (rev 1761)
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Generator: Adobe Illustrator 14.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 43363) -->
+
+<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"
+ id="Layer_1"
+ x="0px"
+ y="0px"
+ width="31.999px"
+ height="32px"
+ viewBox="0 0 31.999 32"
+ style="enable-background:new 0 0 31.999 32;"
+ xml:space="preserve"
+ inkscape:version="0.48.2 r9819"
+ sodipodi:docname="circle.svg"><metadata
+ id="metadata21679"><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></dc:title></cc:Work></rdf:RDF></metadata><defs
+ id="defs21677" /><sodipodi:namedview
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1"
+ objecttolerance="10"
+ gridtolerance="10"
+ guidetolerance="10"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:window-width="1078"
+ inkscape:window-height="919"
+ id="namedview21675"
+ showgrid="true"
+ inkscape:zoom="8.1427765"
+ inkscape:cx="15.9995"
+ inkscape:cy="6.1753413"
+ inkscape:window-x="0"
+ inkscape:window-y="972"
+ inkscape:window-maximized="0"
+ inkscape:current-layer="Layer_1"><inkscape:grid
+ type="xygrid"
+ id="grid22181"
+ empspacing="5"
+ visible="true"
+ enabled="true"
+ snapvisiblegridlinesonly="true" /></sodipodi:namedview>
+
+<path
+ sodipodi:type="arc"
+ style="color:#000000;fill:none;stroke:#231f20;stroke-width:2.85714293;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ id="path27787"
+ sodipodi:cx="-16"
+ sodipodi:cy="17"
+ sodipodi:rx="10"
+ sodipodi:ry="10"
+ d="m -6,17 a 10,10 0 1 1 -20,0 10,10 0 1 1 20,0 z"
+ transform="matrix(1.4,0,0,1.4,38.4,-7.8)" /></svg>
\ No newline at end of file
Added: trunk/img/icons/custom-iconic/karma.svg
===================================================================
--- trunk/img/icons/custom-iconic/karma.svg (rev 0)
+++ trunk/img/icons/custom-iconic/karma.svg 2012-03-12 14:32:37 UTC (rev 1761)
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Generator: Adobe Illustrator 14.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 43363) -->
+
+<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"
+ id="Layer_1"
+ x="0px"
+ y="0px"
+ width="31.999px"
+ height="32px"
+ viewBox="0 0 31.999 32"
+ style="enable-background:new 0 0 31.999 32;"
+ xml:space="preserve"
+ inkscape:version="0.48.2 r9819"
+ sodipodi:docname="karma.svg"><metadata
+ id="metadata21679"><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></dc:title></cc:Work></rdf:RDF></metadata><defs
+ id="defs21677" /><sodipodi:namedview
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1"
+ objecttolerance="10"
+ gridtolerance="10"
+ guidetolerance="10"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:window-width="1078"
+ inkscape:window-height="919"
+ id="namedview21675"
+ showgrid="true"
+ inkscape:zoom="8.1427765"
+ inkscape:cx="15.9995"
+ inkscape:cy="6.1753413"
+ inkscape:window-x="0"
+ inkscape:window-y="972"
+ inkscape:window-maximized="0"
+ inkscape:current-layer="Layer_1"><inkscape:grid
+ type="xygrid"
+ id="grid22181"
+ empspacing="5"
+ visible="true"
+ enabled="true"
+ snapvisiblegridlinesonly="true" /></sodipodi:namedview>
+
+<path
+ sodipodi:type="star"
+ style="color:#000000;fill:none;stroke:#231f20;stroke-width:5.47349691;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ id="path6453"
+ sodipodi:sides="5"
+ sodipodi:cx="-25.544113"
+ sodipodi:cy="4.4909558"
+ sodipodi:r1="20.140924"
+ sodipodi:r2="10.070462"
+ sodipodi:arg1="0"
+ sodipodi:arg2="0.62831853"
+ inkscape:flatsided="false"
+ inkscape:rounded="0"
+ inkscape:randomized="0"
+ d="m -5.4031887,4.4909558 -11.9937493,5.9192692 -1.923287,13.235888 -9.335832,-9.577578 -13.182406,2.260959 6.223888,-11.8385382 -6.223888,-11.8385383 13.182406,2.2609596 9.335832,-9.5775791 1.923287,13.2358886 z"
+ transform="matrix(0,-0.73071483,0.73087366,0,12.717179,-1.2600879)"
+ inkscape:transform-center-y="-3.6793183" /></svg>
\ No newline at end of file
Added: trunk/img/icons/custom-iconic/net.svg
===================================================================
--- trunk/img/icons/custom-iconic/net.svg (rev 0)
+++ trunk/img/icons/custom-iconic/net.svg 2012-03-12 14:32:37 UTC (rev 1761)
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Generator: Adobe Illustrator 14.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 43363) -->
+
+<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"
+ id="Layer_1"
+ x="0px"
+ y="0px"
+ width="31.999px"
+ height="32px"
+ viewBox="0 0 31.999 32"
+ style="enable-background:new 0 0 31.999 32;"
+ xml:space="preserve"
+ inkscape:version="0.48.2 r9819"
+ sodipodi:docname="net.svg"><metadata
+ id="metadata21679"><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></dc:title></cc:Work></rdf:RDF></metadata><defs
+ id="defs21677" /><sodipodi:namedview
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1"
+ objecttolerance="10"
+ gridtolerance="10"
+ guidetolerance="10"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:window-width="1078"
+ inkscape:window-height="919"
+ id="namedview21675"
+ showgrid="false"
+ inkscape:zoom="8.1427765"
+ inkscape:cx="15.9995"
+ inkscape:cy="16"
+ inkscape:window-x="0"
+ inkscape:window-y="972"
+ inkscape:window-maximized="0"
+ inkscape:current-layer="Layer_1"><inkscape:grid
+ type="xygrid"
+ id="grid22181" /></sodipodi:namedview>
+
+<g
+ id="g23017"><path
+ transform="matrix(0.97867296,0,0,0.97867295,24.91469,3.3744077)"
+ d="m -13.152542,3.6610169 a 5.1525426,5.1525426 0 1 1 -10.305085,0 5.1525426,5.1525426 0 1 1 10.305085,0 z"
+ sodipodi:ry="5.1525426"
+ sodipodi:rx="5.1525426"
+ sodipodi:cy="3.6610169"
+ sodipodi:cx="-18.305084"
+ id="path22183"
+ style="color:#000000;fill:none;stroke:#231f20;stroke-width:4;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ sodipodi:type="arc" /><path
+ sodipodi:type="arc"
+ style="color:#000000;fill:none;stroke:#231f20;stroke-width:4;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ id="path22953"
+ sodipodi:cx="-18.305084"
+ sodipodi:cy="3.6610169"
+ sodipodi:rx="5.1525426"
+ sodipodi:ry="5.1525426"
+ d="m -13.152542,3.6610169 a 5.1525426,5.1525426 0 1 1 -10.305085,0 5.1525426,5.1525426 0 1 1 10.305085,0 z"
+ transform="matrix(0.97867296,0,0,0.97867295,24.91469,21.374408)" /><path
+ transform="matrix(0.97867296,0,0,0.97867295,42.914691,12.417062)"
+ d="m -13.152542,3.6610169 a 5.1525426,5.1525426 0 1 1 -10.305085,0 5.1525426,5.1525426 0 1 1 10.305085,0 z"
+ sodipodi:ry="5.1525426"
+ sodipodi:rx="5.1525426"
+ sodipodi:cy="3.6610169"
+ sodipodi:cx="-18.305084"
+ id="path22955"
+ style="color:#000000;fill:none;stroke:#231f20;stroke-width:4;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ sodipodi:type="arc" /><path
+ inkscape:connector-curvature="0"
+ id="path22957"
+ d="m 11.354105,22.975667 9.324457,-4.610602"
+ style="fill:none;stroke:#231f20;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /><path
+ style="fill:#231f20;stroke:#231f20;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;fill-opacity:1"
+ d="m 11.354105,8.365065 9.324457,4.610602"
+ id="path22959"
+ inkscape:connector-curvature="0" /></g></svg>
\ No newline at end of file
Added: trunk/img/icons/custom-iconic/pc.svg
===================================================================
--- trunk/img/icons/custom-iconic/pc.svg (rev 0)
+++ trunk/img/icons/custom-iconic/pc.svg 2012-03-12 14:32:37 UTC (rev 1761)
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Generator: Adobe Illustrator 14.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 43363) -->
+
+<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"
+ id="Layer_1"
+ x="0px"
+ y="0px"
+ width="32px"
+ height="32.023px"
+ viewBox="0 0 32 32.023"
+ style="enable-background:new 0 0 32 32.023;"
+ xml:space="preserve"
+ inkscape:version="0.48.2 r9819"
+ sodipodi:docname="pc.svg"
+ inkscape:export-filename="/tmp/picture-black.png"
+ inkscape:export-xdpi="45"
+ inkscape:export-ydpi="45"><metadata
+ id="metadata9"><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></dc:title></cc:Work></rdf:RDF></metadata><defs
+ id="defs7" /><sodipodi:namedview
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1"
+ objecttolerance="10"
+ gridtolerance="10"
+ guidetolerance="10"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:window-width="1078"
+ inkscape:window-height="919"
+ id="namedview5"
+ showgrid="true"
+ inkscape:zoom="7.5017731"
+ inkscape:cx="29.78413"
+ inkscape:cy="8.5910247"
+ inkscape:window-x="-3"
+ inkscape:window-y="967"
+ inkscape:window-maximized="0"
+ inkscape:current-layer="Layer_1"><inkscape:grid
+ type="xygrid"
+ id="grid3005" /></sodipodi:namedview>
+
+<rect
+ style="color:#000000;fill:none;stroke:#231f20;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ id="rect21037"
+ width="21.469467"
+ height="18"
+ x="8.5305338"
+ y="2.0229988" /><path
+ style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#231f20;fill-opacity:1;stroke:none;stroke-width:4;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans"
+ d="m 7.8125002,18.03125 c -0.9831677,0.09266 -0.8125005,-0.0083 -1.8125006,1.99175 -1,2 -5.00000016,8.48055 -5.9999996,10.00825 -5.9466538e-7,0.99175 0.95283106,1.999895 2,2 l 21.46875,0 c 1.047169,-1.05e-4 2.07838,-0.437556 2.531251,-1.00825 0.452871,-0.570694 5.149219,-9.120263 5.717618,-10 0.568398,-0.879738 -1.2017,-2.991645 -2.248869,-2.99175 l -21.4687498,0 c -0.062454,-0.0029 -0.1250458,-0.0029 -0.1875,0 z M 8.9999997,22.023 27,22.023 l -3.535949,6 -17.9553387,5e-5 z"
+ id="rect21039"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="czccczzcccccccc" /></svg>
\ No newline at end of file
Added: trunk/img/icons/custom-iconic/phone.svg
===================================================================
--- trunk/img/icons/custom-iconic/phone.svg (rev 0)
+++ trunk/img/icons/custom-iconic/phone.svg 2012-03-12 14:32:37 UTC (rev 1761)
@@ -0,0 +1,106 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Generator: Adobe Illustrator 14.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 43363) -->
+
+<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"
+ id="Layer_1"
+ x="0px"
+ y="0px"
+ width="32px"
+ height="32.023px"
+ viewBox="0 0 32 32.023"
+ style="enable-background:new 0 0 32 32.023;"
+ xml:space="preserve"
+ inkscape:version="0.48.2 r9819"
+ sodipodi:docname="phone.svg"
+ inkscape:export-filename="/tmp/picture-black.png"
+ inkscape:export-xdpi="45"
+ inkscape:export-ydpi="45"><metadata
+ id="metadata9"><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></dc:title></cc:Work></rdf:RDF></metadata><defs
+ id="defs7" /><sodipodi:namedview
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1"
+ objecttolerance="10"
+ gridtolerance="10"
+ guidetolerance="10"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:window-width="1078"
+ inkscape:window-height="919"
+ id="namedview5"
+ showgrid="true"
+ inkscape:zoom="7.9029245"
+ inkscape:cx="51.801977"
+ inkscape:cy="20.451133"
+ inkscape:window-x="0"
+ inkscape:window-y="972"
+ inkscape:window-maximized="0"
+ inkscape:current-layer="Layer_1"><inkscape:grid
+ type="xygrid"
+ id="grid3005" /></sodipodi:namedview>
+
+<g
+ id="g20908"><path
+ sodipodi:nodetypes="ccccccccccccccc"
+ inkscape:connector-curvature="0"
+ id="rect19965"
+ d="M 6.8125,0.03125 C 5.8293323,0.12391073 4.9957419,1.0437346 5,2.03125 l 0,28 c 1.047e-4,1.047169 0.9528311,1.999895 2,2 l 18,0 c 1.047169,-1.05e-4 1.999895,-0.952831 2,-2 l 0,-28 c -1.05e-4,-1.04716894 -0.952831,-1.9998953 -2,-2 l -18,0 c -0.062454,-0.0029305 -0.1250458,-0.0029305 -0.1875,0 z m 2.1875,4 14,0 0,19.99175 -14.0000003,0 z"
+ style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#231f20;fill-opacity:1;stroke:none;stroke-width:4;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans" /><rect
+ x="11"
+ y="12.023"
+ style="fill:#231f20"
+ width="4"
+ height="4"
+ id="rect20837" /><rect
+ id="rect20890"
+ height="4"
+ width="4"
+ style="fill:#231f20"
+ y="6.0229988"
+ x="11" /><rect
+ id="rect20892"
+ height="4"
+ width="4"
+ style="fill:#231f20"
+ y="6.0229993"
+ x="17" /><rect
+ id="rect20894"
+ height="4"
+ width="4"
+ style="fill:#231f20"
+ y="12.023001"
+ x="17" /><rect
+ id="rect20896"
+ height="4"
+ width="4"
+ style="fill:#231f20"
+ y="18.023003"
+ x="11" /><rect
+ x="17"
+ y="18.023003"
+ style="fill:#231f20"
+ width="4"
+ height="4"
+ id="rect20898" /><rect
+ x="11"
+ y="26.023003"
+ style="fill:#ffffff"
+ width="4"
+ height="4"
+ id="rect20904" /><rect
+ id="rect20906"
+ height="4"
+ width="4"
+ style="fill:#ffffff"
+ y="26.023003"
+ x="17" /></g></svg>
\ No newline at end of file
Modified: trunk/src/main/java/cc/kune/core/client/dnd/FolderContainerDropController.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/dnd/FolderContainerDropController.java 2012-03-12 12:21:41 UTC (rev 1760)
+++ trunk/src/main/java/cc/kune/core/client/dnd/FolderContainerDropController.java 2012-03-12 14:32:37 UTC (rev 1761)
@@ -36,6 +36,11 @@
import com.google.gwt.user.client.ui.Widget;
import com.google.inject.Inject;
+/**
+ * The Class FolderContainerDropController is responsable of the drop process to
+ * folders. Must not be a @singleton, and should exist one drop controller per
+ * item
+ */
public class FolderContainerDropController extends AbstractDropController {
private final ContentCache contentCache;
Modified: trunk/src/main/java/cc/kune/core/client/dnd/FolderContentDropController.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/dnd/FolderContentDropController.java 2012-03-12 12:21:41 UTC (rev 1760)
+++ trunk/src/main/java/cc/kune/core/client/dnd/FolderContentDropController.java 2012-03-12 14:32:37 UTC (rev 1761)
@@ -31,6 +31,11 @@
import com.google.gwt.user.client.ui.Widget;
import com.google.inject.Inject;
+/**
+ * The Class FolderContentDropController is responsible of the drop process to
+ * contents (for instance of user, to add then as participants). Must not be a
+ * @singleton, and should exist one drop controller per item
+ */
public class FolderContentDropController extends AbstractDropController {
private final ContentServiceAsync contentService;
Modified: trunk/src/main/java/cc/kune/events/client/actions/EventsClientActions.java
===================================================================
--- trunk/src/main/java/cc/kune/events/client/actions/EventsClientActions.java 2012-03-12 12:21:41 UTC (rev 1760)
+++ trunk/src/main/java/cc/kune/events/client/actions/EventsClientActions.java 2012-03-12 14:32:37 UTC (rev 1761)
@@ -37,6 +37,7 @@
import cc.kune.gspace.client.actions.CopyContentMenuItem;
import cc.kune.gspace.client.actions.ParticipateInContentBtn;
import cc.kune.gspace.client.actions.RefreshContentMenuItem;
+import cc.kune.gspace.client.actions.TutorialContainerBtn;
import cc.kune.gspace.client.actions.WriteToParticipantsMenuItem;
import com.google.inject.Inject;
@@ -68,7 +69,7 @@
final Provider<EventAddMenuItem> eventAddMenuItem,
final Provider<EventOpenMenuItem> eventOpenMenuItem, final Provider<CalendarGoPrevBtn> calPrevBtn,
final Provider<EventRemoveMenuItem> eventRemoveMenuItem,
- final Provider<CopyContentMenuItem> copyContent,
+ final Provider<CopyContentMenuItem> copyContent, final Provider<TutorialContainerBtn> tutorialBtn,
final Provider<WriteToParticipantsMenuItem> writeToParticipants,
final Provider<ExportCalendarMenuItem> export, final Provider<CalendarGoNextBtn> calNextBtn,
final CalendarOnOverMenu onOverMenu, final Provider<CalendarGoTodayBtn> goToday,
@@ -91,6 +92,7 @@
actionsRegistry.addAction(ActionGroups.TOOLBAR, addAdminMembersMenuItem, contents);
actionsRegistry.addAction(ActionGroups.TOOLBAR, addCollabMembersMenuItem, contents);
actionsRegistry.addAction(ActionGroups.TOOLBAR, addPublicMenuItem, contents);
+ actionsRegistry.addAction(ActionGroups.TOOLBAR, tutorialBtn, containers);
actionsRegistry.addAction(ActionGroups.TOOLBAR, copyContent, contents);
actionsRegistry.addAction(ActionGroups.TOOLBAR, writeToParticipants, contents);
// On over calendar menu
Modified: trunk/src/main/java/cc/kune/gspace/client/GSpaceGinModule.java
===================================================================
--- trunk/src/main/java/cc/kune/gspace/client/GSpaceGinModule.java 2012-03-12 12:21:41 UTC (rev 1760)
+++ trunk/src/main/java/cc/kune/gspace/client/GSpaceGinModule.java 2012-03-12 14:32:37 UTC (rev 1761)
@@ -20,8 +20,6 @@
package cc.kune.gspace.client;
import cc.kune.core.client.ExtendedGinModule;
-import cc.kune.core.client.dnd.FolderContainerDropController;
-import cc.kune.core.client.dnd.FolderContentDropController;
import cc.kune.core.client.sitebar.search.SitebarSearchPanel;
import cc.kune.core.client.sitebar.search.SitebarSearchPresenter;
import cc.kune.core.client.sn.AdminsGroupSNDropController;
@@ -143,8 +141,6 @@
s(PathToolbarUtils.class);
s(FolderViewerUtils.class);
s(ContentDropController.class);
- s(FolderContainerDropController.class);
- s(FolderContentDropController.class);
s(AdminsGroupSNDropController.class);
s(CollabsGroupSNDropController.class);
s(AllMembersGroupSNDropController.class);
Modified: trunk/src/main/java/org/waveprotocol/wave/client/gadget/renderer/Gadget.css
===================================================================
--- trunk/src/main/java/org/waveprotocol/wave/client/gadget/renderer/Gadget.css 2012-03-12 12:21:41 UTC (rev 1760)
+++ trunk/src/main/java/org/waveprotocol/wave/client/gadget/renderer/Gadget.css 2012-03-12 14:32:37 UTC (rev 1761)
@@ -15,7 +15,7 @@
.inline {
display: inline-block;
vertical-align: bottom;
- width: 100%;
+/* width: 100%; */
}
.title {
Modified: trunk/src/main/java/org/waveprotocol/wave/client/gadget/renderer/GadgetWidget.java
===================================================================
--- trunk/src/main/java/org/waveprotocol/wave/client/gadget/renderer/GadgetWidget.java 2012-03-12 12:21:41 UTC (rev 1760)
+++ trunk/src/main/java/org/waveprotocol/wave/client/gadget/renderer/GadgetWidget.java 2012-03-12 14:32:37 UTC (rev 1761)
@@ -83,7 +83,7 @@
private static final String GADGET_RELAY_PATH = "gadgets/files/container/rpc_relay.html";
private static final int DEFAULT_HEIGHT_PX = 100;
- private static final int DEFAULT_WIDTH_PX = -1;
+ private static final int DEFAULT_WIDTH_PX = 600;
/**
* Helper class to analyze element changes in the gadget state and prefs.
@@ -366,7 +366,7 @@
}
private static native boolean gadgetLibraryLoaded() /*-{
- return ($wnd.gadgets && $wnd.gadgets.rpc) ? true : false;
+ return ($wnd.gadgets && $wnd.gadgets.rpc) ? true : false;
}-*/;
/**
@@ -626,8 +626,6 @@
ui.setIframeWidth(width + "px");
ui.makeInline();
scheduleGadgetAttributeUpdate(LAST_KNOWN_WIDTH_ATTRIBUTE, Long.toString(width));
- } else {
- ui.setIframeWidth("100%");
}
if (!hasAttribute(LAST_KNOWN_HEIGHT_ATTRIBUTE) && (height != 0)) {
ui.setIframeHeight(height);
@@ -1345,9 +1343,7 @@
log("Set IFrame width ", width);
try {
int widthValue = parseSizeString(width);
- if (widthValue <= 0) {
- ui.setIframeWidth("100%");
- } else {
+ if (widthValue > 0) {
ui.setIframeWidth(widthValue + "px");
}
ui.makeInline();
More information about the kune-commits
mailing list