[gnome-themes-standard/wip/jimmac/updated-gtk2: 89/106] Updated handleboxes.



commit 0dbc39a2925b74fe2943d1fbfd01cd26e3a70fa0
Author: Juraj Fiala <doctorjellyface riseup net>
Date:   Sat Feb 27 08:13:25 2016 +0100

    Updated handleboxes.

 themes/Adwaita/gtk-2.0/assets.svg        |   32 +++++++++++++++++++++++++++--
 themes/Adwaita/gtk-2.0/assets.txt        |    1 +
 themes/Adwaita/gtk-2.0/assets/handle.png |  Bin 0 -> 158 bytes
 themes/Adwaita/gtk-2.0/main.rc           |   11 +++++++++-
 4 files changed, 40 insertions(+), 4 deletions(-)
---
diff --git a/themes/Adwaita/gtk-2.0/assets.svg b/themes/Adwaita/gtk-2.0/assets.svg
index 147ca3b..fc63b9c 100644
--- a/themes/Adwaita/gtk-2.0/assets.svg
+++ b/themes/Adwaita/gtk-2.0/assets.svg
@@ -604,9 +604,9 @@
      borderopacity="1"
      inkscape:pageopacity="1"
      inkscape:pageshadow="2"
-     inkscape:zoom="15.999999"
-     inkscape:cx="208.14671"
-     inkscape:cy="462.49072"
+     inkscape:zoom="11.313708"
+     inkscape:cx="233.34155"
+     inkscape:cy="439.7733"
      inkscape:current-layer="layer1"
      inkscape:document-units="px"
      showgrid="false"
@@ -4716,5 +4716,31 @@
            
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:none;stroke:#9d9d99;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker:none;enable-background:accumulate"
 />
       </g>
     </g>
+    <g
+       id="handle"
+       transform="translate(142.00001,-138.36223)"
+       inkscape:label="#g4185">
+      <rect
+         y="172.3622"
+         x="75"
+         height="3"
+         width="3"
+         id="rect3336"
+         
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:#9d9d99;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:butt;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:new"
 />
+      <rect
+         y="178.3622"
+         x="75"
+         height="3"
+         width="3"
+         id="rect3336-4"
+         
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:#9d9d99;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:butt;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:new"
 />
+      <rect
+         y="184.3622"
+         x="75"
+         height="3"
+         width="3"
+         id="rect3336-4-2"
+         
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:#9d9d99;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:butt;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:new"
 />
+    </g>
   </g>
 </svg>
diff --git a/themes/Adwaita/gtk-2.0/assets.txt b/themes/Adwaita/gtk-2.0/assets.txt
index 6a03528..afbd538 100644
--- a/themes/Adwaita/gtk-2.0/assets.txt
+++ b/themes/Adwaita/gtk-2.0/assets.txt
@@ -57,6 +57,7 @@ frame-inline
 frame-notebook
 line
 focus
+handle
 handle-horz
 handle-vert
 menu-border
diff --git a/themes/Adwaita/gtk-2.0/assets/handle.png b/themes/Adwaita/gtk-2.0/assets/handle.png
new file mode 100644
index 0000000..4156e85
Binary files /dev/null and b/themes/Adwaita/gtk-2.0/assets/handle.png differ
diff --git a/themes/Adwaita/gtk-2.0/main.rc b/themes/Adwaita/gtk-2.0/main.rc
index f182751..1aae4c6 100644
--- a/themes/Adwaita/gtk-2.0/main.rc
+++ b/themes/Adwaita/gtk-2.0/main.rc
@@ -1869,9 +1869,18 @@ style "notebook_prelight" {
 style "handlebox" {
 
   engine "pixmap" {
+
+    # We don't want any shadow effect
     image {
-      function = BOX
+      function = SHADOW
+    }
+
+    image {
+      function        = HANDLE
+      overlay_file    = "assets/handle.png"
+      overlay_stretch = FALSE
     }
+
   }
 
 }


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