[gnome-builder/wip/jimmac/three-finger-swipes] shortcuts: swipes with 3 not 2 fingers



commit 2eaa31fc913429617f4ddaefc3ea988628288891
Author: Jakub Steiner <jimmac gmail com>
Date:   Wed Feb 13 22:33:06 2019 +0100

    shortcuts: swipes with 3 not 2 fingers
    
    - updated the graphic & reference in the ui

 ...eft.svg => gesture-three-finger-swipe-left.svg} | 34 ++++++++++------
 ...ht.svg => gesture-three-finger-swipe-right.svg} | 45 ++++++++++++++--------
 src/libide/gui/ide-shortcuts-window.ui             |  4 +-
 3 files changed, 53 insertions(+), 30 deletions(-)
---
diff --git a/data/icons/hicolor/scalable/actions/gesture-two-finger-swipe-left.svg 
b/data/icons/hicolor/scalable/actions/gesture-three-finger-swipe-left.svg
similarity index 88%
rename from data/icons/hicolor/scalable/actions/gesture-two-finger-swipe-left.svg
rename to data/icons/hicolor/scalable/actions/gesture-three-finger-swipe-left.svg
index d93af46a1..673ccbef5 100644
--- a/data/icons/hicolor/scalable/actions/gesture-two-finger-swipe-left.svg
+++ b/data/icons/hicolor/scalable/actions/gesture-three-finger-swipe-left.svg
@@ -14,8 +14,8 @@
    viewBox="0 0 80.000001 54"
    id="svg6660"
    version="1.1"
-   inkscape:version="0.91 r13725"
-   sodipodi:docname="two-finger-swipe-left.svg"
+   inkscape:version="0.92.4 5da689c313, 2019-01-14"
+   sodipodi:docname="gesture-two-finger-swipe-left.svg"
    inkscape:export-filename="/home/aday/Scratch/two-finger-swipe-left.png"
    inkscape:export-xdpi="90"
    inkscape:export-ydpi="90">
@@ -29,8 +29,8 @@
      inkscape:pageopacity="0.0"
      inkscape:pageshadow="2"
      inkscape:zoom="1"
-     inkscape:cx="-26.486277"
-     inkscape:cy="27.97415"
+     inkscape:cx="47.816886"
+     inkscape:cy="30.773396"
      inkscape:document-units="px"
      inkscape:current-layer="layer1"
      showgrid="false"
@@ -53,7 +53,7 @@
         <dc:format>image/svg+xml</dc:format>
         <dc:type
            rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
-        <dc:title></dc:title>
+        <dc:title />
       </cc:Work>
     </rdf:RDF>
   </metadata>
@@ -96,12 +96,12 @@
            ry="4.1854858"
            rx="3.999995" />
         <rect
-           rx="3.999995"
+           rx="3.9999847"
            ry="4.1854858"
-           y="460"
+           y="452.31021"
            x="-261"
-           height="36.000011"
-           width="7.99999"
+           height="43.689785"
+           width="7.9999695"
            id="rect6623"
            
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:#4a90d9;stroke-width:0;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
 />
         <rect
@@ -138,8 +138,8 @@
            sodipodi:rx="7.4999938"
            sodipodi:ry="7.5000024"
            sodipodi:start="3.4953343"
-           sodipodi:end="1.8407347"
-           d="m -273.03562,448.40192 a 7.4999938,7.5000024 0 0 1 9.43617,-4.50737 7.4999938,7.5000024 0 0 1 
4.76917,9.30661 7.4999938,7.5000024 0 0 1 -9.16976,5.02725"
+           sodipodi:end="6.0213859"
+           d="m -273.03562,448.40192 a 7.4999938,7.5000024 0 0 1 7.38028,-4.894 7.4999938,7.5000024 0 0 1 
6.89978,5.55094"
            sodipodi:open="true" />
         <path
            d="m -268.10552,458.34925 a 7.4999938,7.5000024 0 0 1 -9.38146,4.80209 7.4999938,7.5000024 0 0 1 
-4.92078,-9.31976 7.4999938,7.5000024 0 0 1 9.25653,-5.03869"
@@ -167,6 +167,18 @@
            height="4.99999"
            x="283"
            y="-458" />
+        <path
+           sodipodi:open="true"
+           d="m -258.66038,449.14725 a 7.4999938,7.5000024 0 0 1 8.17716,3.07767 7.4999938,7.5000024 0 0 1 
-0.28587,8.73249 7.4999938,7.5000024 0 0 1 -8.36094,2.53626 7.4999938,7.5000024 0 0 1 -5.0892,-7.10198"
+           sodipodi:end="3.1415927"
+           sodipodi:start="4.4505896"
+           sodipodi:ry="7.5000024"
+           sodipodi:rx="7.4999938"
+           sodipodi:cy="456.39169"
+           sodipodi:cx="-256.71924"
+           sodipodi:type="arc"
+           id="path828"
+           
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:none;stroke:#000000;stroke-width:3;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
 />
       </g>
     </g>
   </g>
diff --git a/data/icons/hicolor/scalable/actions/gesture-two-finger-swipe-right.svg 
b/data/icons/hicolor/scalable/actions/gesture-three-finger-swipe-right.svg
similarity index 87%
rename from data/icons/hicolor/scalable/actions/gesture-two-finger-swipe-right.svg
rename to data/icons/hicolor/scalable/actions/gesture-three-finger-swipe-right.svg
index 758656806..effbf55a4 100644
--- a/data/icons/hicolor/scalable/actions/gesture-two-finger-swipe-right.svg
+++ b/data/icons/hicolor/scalable/actions/gesture-three-finger-swipe-right.svg
@@ -14,8 +14,8 @@
    viewBox="0 0 80.000008 55.000024"
    id="svg6535"
    version="1.1"
-   inkscape:version="0.91 r13725"
-   sodipodi:docname="two-finger-swipe-right.svg">
+   inkscape:version="0.92.4 5da689c313, 2019-01-14"
+   sodipodi:docname="gesture-two-finger-swipe-right.svg">
   <defs
      id="defs6537" />
   <sodipodi:namedview
@@ -25,9 +25,9 @@
      borderopacity="1.0"
      inkscape:pageopacity="0.0"
      inkscape:pageshadow="2"
-     inkscape:zoom="2"
-     inkscape:cx="-59.169932"
-     inkscape:cy="48.63391"
+     inkscape:zoom="1"
+     inkscape:cx="16.303253"
+     inkscape:cy="36.239139"
      inkscape:document-units="px"
      inkscape:current-layer="layer1"
      showgrid="false"
@@ -50,7 +50,7 @@
         <dc:format>image/svg+xml</dc:format>
         <dc:type
            rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
-        <dc:title></dc:title>
+        <dc:title />
       </cc:Work>
     </rdf:RDF>
   </metadata>
@@ -95,10 +95,10 @@
         <rect
            
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:#4a90d9;stroke-width:0;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
            id="rect6519"
-           width="7.99999"
-           height="36.000011"
+           width="8"
+           height="43.689793"
            x="-297"
-           y="380"
+           y="372.31021"
            ry="4.1854858"
            rx="3.999995" />
         <rect
@@ -134,8 +134,8 @@
            
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:6;marker:none;enable-background:accumulate"
 />
         <path
            sodipodi:open="true"
-           d="m -309.03562,368.40192 a 7.4999938,7.5000024 0 0 1 9.43617,-4.50737 7.4999938,7.5000024 0 0 1 
4.76917,9.30661 7.4999938,7.5000024 0 0 1 -9.16976,5.02725"
-           sodipodi:end="1.8407347"
+           d="m -309.03562,368.40192 a 7.4999938,7.5000024 0 0 1 7.26612,-4.89838 7.4999938,7.5000024 0 0 1 
6.95145,5.33555"
+           sodipodi:end="5.9909207"
            sodipodi:start="3.4953343"
            sodipodi:ry="7.5000024"
            sodipodi:rx="7.4999938"
@@ -156,13 +156,24 @@
            sodipodi:start="0.31864739"
            sodipodi:end="4.9929531"
            d="m -304.10552,378.34925 a 7.4999938,7.5000024 0 0 1 -9.38146,4.80209 7.4999938,7.5000024 0 0 1 
-4.92078,-9.31976 7.4999938,7.5000024 0 0 1 9.25653,-5.03869" />
-        <rect
-           y="368"
-           x="-295"
-           height="4.99999"
-           width="41.999992"
+        <path
+           
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:#4a90d9;stroke-width:0;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
+           d="m -290.75738,368 h 37.7574 v 5 h -32.71926 z"
            id="rect6533"
-           
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:#4a90d9;stroke-width:0;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
 />
+           inkscape:connector-curvature="0"
+           sodipodi:nodetypes="ccccc" />
+        <path
+           
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:none;stroke:#000000;stroke-width:3;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
+           id="path828"
+           sodipodi:type="arc"
+           sodipodi:cx="-293.16116"
+           sodipodi:cy="376.30331"
+           sodipodi:rx="7.4999938"
+           sodipodi:ry="7.5000024"
+           sodipodi:start="4.4978732"
+           sodipodi:end="2.8797933"
+           d="m -294.75772,368.97521 a 7.4999938,7.5000024 0 0 1 8.89857,5.61625 7.4999938,7.5000024 0 0 1 
-5.47529,8.98599 7.4999938,7.5000024 0 0 1 -9.07116,-5.33299"
+           sodipodi:open="true" />
       </g>
     </g>
   </g>
diff --git a/src/libide/gui/ide-shortcuts-window.ui b/src/libide/gui/ide-shortcuts-window.ui
index 8c3191238..b5e863fd1 100644
--- a/src/libide/gui/ide-shortcuts-window.ui
+++ b/src/libide/gui/ide-shortcuts-window.ui
@@ -440,14 +440,14 @@
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">true</property>
-                <property name="shortcut-type">gesture-two-finger-swipe-right</property>
+                <property name="shortcut-type">gesture-three-finger-swipe-right</property>
                 <property name="title" translatable="yes" context="shortcut window">Switch to the next 
document</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">true</property>
-                <property name="shortcut-type">gesture-two-finger-swipe-left</property>
+                <property name="shortcut-type">gesture-three-finger-swipe-left</property>
                 <property name="title" translatable="yes" context="shortcut window">Switch to the previous 
document</property>
               </object>
             </child>


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