diff options
Diffstat (limited to 'activity')
-rw-r--r-- | activity/Backup_icon.svg | 102 | ||||
-rw-r--r-- | activity/Restore_icon.svg | 30 | ||||
-rw-r--r-- | activity/activity.info | 12 | ||||
-rw-r--r-- | activity/mimetypes.xml | 7 |
4 files changed, 43 insertions, 108 deletions
diff --git a/activity/Backup_icon.svg b/activity/Backup_icon.svg deleted file mode 100644 index e72ef90..0000000 --- a/activity/Backup_icon.svg +++ /dev/null @@ -1,102 +0,0 @@ -<?xml version="1.0" ?><!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd' [ - <!ENTITY stroke_color "#666666"> - <!ENTITY fill_color "#FFFFFF"> -]> -<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="Icon" - width="44.365" - height="42.918" - viewBox="0 0 44.365 42.918" - overflow="visible" - enable-background="new 0 0 44.365 42.918" - xml:space="preserve" - sodipodi:version="0.32" - inkscape:version="0.46" - sodipodi:docname="stock-open.svg" - inkscape:output_extension="org.inkscape.output.svg.inkscape"><metadata - id="metadata26"><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><defs - id="defs24"><inkscape:perspective - sodipodi:type="inkscape:persp3d" - inkscape:vp_x="0 : 21.459 : 1" - inkscape:vp_y="0 : 1000 : 0" - inkscape:vp_z="44.365002 : 21.459 : 1" - inkscape:persp3d-origin="22.182501 : 14.306 : 1" - id="perspective28" /></defs><sodipodi:namedview - inkscape:window-height="975" - inkscape:window-width="1680" - inkscape:pageshadow="2" - inkscape:pageopacity="0.0" - guidetolerance="10.0" - gridtolerance="10.0" - objecttolerance="10.0" - borderopacity="1.0" - bordercolor="#666666" - pagecolor="#ffffff" - id="base" - showgrid="false" - inkscape:zoom="13.563637" - inkscape:cx="22.182502" - inkscape:cy="28.758498" - inkscape:window-x="0" - inkscape:window-y="25" - inkscape:current-layer="Icon" /> - - - -<g - id="g2414" - transform="translate(9.0634189,-3.9384509)"><g - transform="translate(2.6055351e-2,5.183866e-2)" - id="g2405"><g - id="g3" - transform="matrix(0.736868,0,0,0.7153409,0,12.146464)"> - <g - id="g5"> - <path - d="M 1.75,41.168 L 23.673,41.168 C 25.663,41.168 26.749,39.873 26.749,38.09 L 26.749,13.699 C 26.749,12.152 25.2,10.622 23.673,10.622 L 19.75,10.622" - id="path7" - style="fill:none;stroke:&stroke_color;;stroke-width:3.5;stroke-linejoin:round" /> - </g> -</g><g - id="g9" - transform="matrix(0.6976744,0,0,0.7277711,0,11.605042)"> - <g - id="g11"> - <path - d="M 19.75,31.859 C 19.75,33.502 18.548,34.723 16.673,35.478 L 1.75,41.168 L 1.75,10.623 L 16.673,2.935 C 18.664,2.583 19.75,3.686 19.75,5.469 L 19.75,31.859 z" - id="path13" - style="fill:none;stroke:&stroke_color;;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round" /> - </g> -</g><line - x1="5.5922894" - y1="39.528976" - x2="5.5922894" - y2="17.763372" - id="line15" - style="fill:none;stroke:&stroke_color;;stroke-width:2.70127702;stroke-linecap:round;stroke-linejoin:round" /></g><g - transform="matrix(0.5891883,0,0,0.6267357,6.6476984e-2,7.8435405)" - id="g17"> - - <line - style="fill:none;stroke:&stroke_color;;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round" - id="line19" - y2="11.828" - x2="32.536999" - y1="1.75" - x1="42.615002" /> - <polyline - style="fill:none;stroke:&stroke_color;;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round" - id="polyline21" - points="33.322,2.539 42.615,1.75 41.826,11.043 " /> -</g></g> -</svg> diff --git a/activity/Restore_icon.svg b/activity/Restore_icon.svg new file mode 100644 index 0000000..b6eb3a3 --- /dev/null +++ b/activity/Restore_icon.svg @@ -0,0 +1,30 @@ +<?xml version="1.0" ?><!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd' [ + <!ENTITY stroke_color "#010101"> + <!ENTITY fill_color "#FFFFFF"> +]> +<svg enable-background="new 0 0 55 55" height="55px" id="Layer_1" version="1.1" viewBox="0 0 55 55" width="55px" x="0px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" y="0px"> +<g display="block" id="document-save"> + <g> + <g> + <g> + <path d="M6.736,49.002 h24.52c2.225,0,3.439-1.447,3.439-3.441V18.281c0-1.73-1.732-3.441-3.439-3.441h-4.389" fill="&fill_color;" stroke="&stroke_color;" stroke-linecap="round" stroke-linejoin="round" stroke-width="3.5"/> + </g> + </g> + <g> + <g> + <path d="M26.867,38.592 c0,1.836-1.345,3.201-3.441,4.047l-16.69,6.363V14.84l16.69-8.599c2.228-0.394,3.441,0.84,3.441,2.834V38.592z" fill="&fill_color;" stroke="&stroke_color;" stroke-linecap="round" stroke-linejoin="round" stroke-width="3.5"/> + </g> + </g> + <path d="M9.424,42.607 c0,0-1.351-0.543-2.702-0.543s-2.703,0.543-2.703,0.543" fill="none" stroke="&stroke_color;" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.25"/> + <path d="M9.424,32.006 c0,0-1.239-0.543-2.815-0.543c-1.577,0-2.59,0.543-2.59,0.543" fill="none" stroke="&stroke_color;" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.25"/> + <path d="M9.424,21.678 c0,0-1.125-0.544-2.927-0.544c-1.802,0-2.478,0.544-2.478,0.544" fill="none" stroke="&stroke_color;" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.25"/> + + <line fill="none" stroke="&stroke_color;" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.25" x1="13.209" x2="13.209" y1="46.533" y2="11.505"/> + + <g> + <line fill="none" stroke="&stroke_color;" stroke-linecap="round" stroke-linejoin="round" stroke-width="3.5" x1="41.17" x2="52.441" y1="16.188" y2="4.917"/> + <polyline fill="none" points=" 51.562,15.306 41.17,16.188 42.053,5.794 " stroke="&stroke_color;" stroke-linecap="round" stroke-linejoin="round" stroke-width="3.5"/> + </g> + </g> +</g> +</svg> diff --git a/activity/activity.info b/activity/activity.info index 21e76f1..2b6f2e3 100644 --- a/activity/activity.info +++ b/activity/activity.info @@ -1,9 +1,9 @@ [Activity] -name = Backup -activity_version = 2 -bundle_id = org.sugarlabs.Backup -exec = sugar-activity backup.BackupActivity -icon = Backup_icon -mime_types = +name = Restore +activity_version = 1 +bundle_id = org.sugarlabs.Restore +exec = sugar-activity restore.RestoreActivity +icon = Restore_icon +mime_types = application/vnd.sugar-multi-journal-entry license = GPLv3 diff --git a/activity/mimetypes.xml b/activity/mimetypes.xml new file mode 100644 index 0000000..c9e1bc5 --- /dev/null +++ b/activity/mimetypes.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> +<mime-type type="application/vnd.sugar-multi-journal-entry"> +<comment xml:lang="en">Multi-entry Sugar Journal Entry Bundle</comment> +<glob pattern="*.xmj"/> +</mime-type> +</mime-info> |