Ticket #4152: cursor-insertion.patch

File cursor-insertion.patch, 2.4 KB (added by erikos, 12 years ago)

Adopt to new style class

  • gtk3/theme/assets/Makefile.am

    diff --git a/gtk3/theme/assets/Makefile.am b/gtk3/theme/assets/Makefile.am
    index 52f78e1..c098cc5 100644
    a b assets = \ 
    99        checkbox-unchecked-selected.svg \
    1010        checkbox-checked.svg            \
    1111        checkbox-checked-selected.svg   \
    12         cursor-handle-insert.svg        \
     12        cursor-handle-insertion.svg     \
    1313        cursor-handle-bottom.svg        \
    1414        cursor-handle-top.svg
    1515
  • deleted file gtk3/theme/assets/cursor-handle-insert.svg

    diff --git a/gtk3/theme/assets/cursor-handle-insert.svg b/gtk3/theme/assets/cursor-handle-insert.svg
    deleted file mode 100644
    index 1bcc86a..0000000
    + -  
    1 <?xml version="1.0" encoding="UTF-8"?>
    2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
    3 <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="110" height="110" viewBox="0, 0, 110, 110">
    4   <g id="Layer 1">
    5     <g>
    6       <path d="M37,19 L55,1 L73,19 L73,60 L37,60 z" fill="#000000"/>
    7       <path d="M42,21 L55,8 L68,21 L68,55 L42,55 z" fill="#FFFFFF"/>
    8     </g>
    9   </g>
    10   <defs/>
    11 </svg>
  • new file gtk3/theme/assets/cursor-handle-insertion.svg

    diff --git a/gtk3/theme/assets/cursor-handle-insertion.svg b/gtk3/theme/assets/cursor-handle-insertion.svg
    new file mode 100644
    index 0000000..1bcc86a
    - +  
     1<?xml version="1.0" encoding="UTF-8"?>
     2<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
     3<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="110" height="110" viewBox="0, 0, 110, 110">
     4  <g id="Layer 1">
     5    <g>
     6      <path d="M37,19 L55,1 L73,19 L73,60 L37,60 z" fill="#000000"/>
     7      <path d="M42,21 L55,8 L68,21 L68,55 L42,55 z" fill="#FFFFFF"/>
     8    </g>
     9  </g>
     10  <defs/>
     11</svg>
  • gtk3/theme/gtk-widgets.css.em

    diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
    index 9bd6d01..1bda7a2 100644
    a b SugarCanvasIcon:active { 
    805805    background-image: url("assets/cursor-handle-top.svg");
    806806}
    807807
    808 .cursor-handle.insert-cursor {
    809     background-image: url("assets/cursor-handle-insert.svg");
     808.cursor-handle.insertion-cursor {
     809    background-image: url("assets/cursor-handle-insertion.svg");
    810810}
    811811
    812812/* Application specific properties */