[gnome-themes-standard/wip/jimmac/updated-gtk2: 101/106] Fixed menu arrows.



commit 1a070c5afc1e6862227151d381ed1fdc70222223
Author: Juraj Fiala <doctorjellyface riseup net>
Date:   Tue Mar 1 21:05:02 2016 +0100

    Fixed menu arrows.

 themes/Adwaita/gtk-2.0/assets.svg                  |   58 +++-----------------
 themes/Adwaita/gtk-2.0/assets.txt                  |    2 -
 .../Adwaita/gtk-2.0/assets/menu-pan-down-hover.png |  Bin 181 -> 0 bytes
 .../Adwaita/gtk-2.0/assets/menu-pan-left-hover.png |  Bin 198 -> 197 bytes
 .../gtk-2.0/assets/menu-pan-left-insensitive.png   |  Bin 207 -> 204 bytes
 themes/Adwaita/gtk-2.0/assets/menu-pan-left.png    |  Bin 207 -> 205 bytes
 .../gtk-2.0/assets/menu-pan-right-hover.png        |  Bin 196 -> 197 bytes
 .../gtk-2.0/assets/menu-pan-right-insensitive.png  |  Bin 211 -> 207 bytes
 themes/Adwaita/gtk-2.0/assets/menu-pan-right.png   |  Bin 216 -> 215 bytes
 .../Adwaita/gtk-2.0/assets/menu-pan-up-hover.png   |  Bin 177 -> 0 bytes
 themes/Adwaita/gtk-2.0/main.rc                     |   30 ++++++++++
 11 files changed, 39 insertions(+), 51 deletions(-)
---
diff --git a/themes/Adwaita/gtk-2.0/assets.svg b/themes/Adwaita/gtk-2.0/assets.svg
index 814196a..b4d3f83 100644
--- a/themes/Adwaita/gtk-2.0/assets.svg
+++ b/themes/Adwaita/gtk-2.0/assets.svg
@@ -615,9 +615,9 @@
      borderopacity="1"
      inkscape:pageopacity="1"
      inkscape:pageshadow="2"
-     inkscape:zoom="15.999999"
-     inkscape:cx="186.14904"
-     inkscape:cy="467.58965"
+     inkscape:zoom="3.9999998"
+     inkscape:cx="622.29564"
+     inkscape:cy="324.23273"
      inkscape:current-layer="layer1"
      inkscape:document-units="px"
      showgrid="false"
@@ -1226,7 +1226,7 @@
          sodipodi:nodetypes="cccc"
          inkscape:connector-curvature="0"
          id="path6400"
-         d="m 116.0002,760 -5,-5 5,-5 z"
+         d="m 111.0002,760 -5,-5 5,-5 z"
          style="fill:#8b8e8f;fill-opacity:1;stroke:none" />
       <rect
          transform="scale(-1,1)"
@@ -1244,7 +1244,7 @@
        inkscape:label="pan-end">
       <path
          style="fill:#8b8e8f;fill-opacity:1;stroke:none"
-         d="m 116.0002,760 -5,-5 5,-5 z"
+         d="m 111.0002,760 -5,-5 5,-5 z"
          id="path6412"
          inkscape:connector-curvature="0"
          sodipodi:nodetypes="cccc" />
@@ -1392,26 +1392,6 @@
          sodipodi:nodetypes="ccccccccc" />
     </g>
     <g
-       inkscape:label="pan-down"
-       id="menu-pan-down-hover"
-       transform="matrix(0,-1,1,0,-149,304.0002)"
-       style="display:inline">
-      <path
-         sodipodi:nodetypes="cccc"
-         inkscape:connector-curvature="0"
-         id="path6330"
-         d="m 110.00021,760 -5,-5 5,-5 z"
-         style="fill:#ffffff;fill-opacity:1;stroke:none" />
-      <rect
-         transform="scale(-1,1)"
-         
style="color:#bebebe;display:inline;overflow:visible;visibility:visible;fill:none;stroke:none;stroke-width:1;marker:none;enable-background:new"
-         id="rect6332"
-         y="747"
-         x="-116.0002"
-         height="16"
-         width="16" />
-    </g>
-    <g
        style="display:inline"
        transform="matrix(0,-1,1,0,-167,304.0002)"
        id="menu-pan-down"
@@ -1438,7 +1418,7 @@
        style="display:inline">
       <path
          style="fill:#ffffff;fill-opacity:1;stroke:none"
-         d="m 116.0002,760 -5,-5 5,-5 z"
+         d="m 111.0002,760 -5,-5 5,-5 z"
          id="path6342"
          inkscape:connector-curvature="0"
          sodipodi:nodetypes="cccc" />
@@ -1460,7 +1440,7 @@
          sodipodi:nodetypes="cccc"
          inkscape:connector-curvature="0"
          id="path6348"
-         d="m 116.0002,760 -5,-5 5,-5 z"
+         d="m 111.0002,760 -5,-5 5,-5 z"
          style="fill:#ffffff;fill-opacity:1;stroke:none" />
       <rect
          transform="scale(-1,1)"
@@ -1472,26 +1452,6 @@
          width="16" />
     </g>
     <g
-       transform="matrix(0,1,1,0,-149,67.999802)"
-       id="menu-pan-up-hover"
-       inkscape:label="pan-up"
-       style="display:inline">
-      <path
-         style="fill:#ffffff;fill-opacity:1;stroke:none"
-         d="m 110.00019,760 -5,-5 5,-5 z"
-         id="path6354"
-         inkscape:connector-curvature="0"
-         sodipodi:nodetypes="cccc" />
-      <rect
-         width="16"
-         height="16"
-         x="-116.0002"
-         y="747"
-         id="rect6356"
-         
style="color:#bebebe;display:inline;overflow:visible;visibility:visible;fill:none;stroke:none;stroke-width:1;marker:none;enable-background:new"
-         transform="scale(-1,1)" />
-    </g>
-    <g
        style="display:inline"
        inkscape:label="pan-start"
        id="menu-pan-left"
@@ -1500,7 +1460,7 @@
          sodipodi:nodetypes="cccc"
          inkscape:connector-curvature="0"
          id="path6360"
-         d="m 116.0002,760 -5,-5 5,-5 z"
+         d="m 111.0002,760 -5,-5 5,-5 z"
          style="fill:#2e3436;fill-opacity:1;stroke:none" />
       <rect
          transform="scale(-1,1)"
@@ -1518,7 +1478,7 @@
        inkscape:label="pan-end">
       <path
          style="fill:#2e3436;fill-opacity:1;stroke:none"
-         d="m 116.0002,760 -5,-5 5,-5 z"
+         d="m 111.0002,760 -5,-5 5,-5 z"
          id="path6366"
          inkscape:connector-curvature="0"
          sodipodi:nodetypes="cccc" />
diff --git a/themes/Adwaita/gtk-2.0/assets.txt b/themes/Adwaita/gtk-2.0/assets.txt
index 732b4d1..577d4b8 100644
--- a/themes/Adwaita/gtk-2.0/assets.txt
+++ b/themes/Adwaita/gtk-2.0/assets.txt
@@ -23,10 +23,8 @@ menu-pan-right
 menu-pan-right-hover
 menu-pan-right-insensitive
 menu-pan-up
-menu-pan-up-hover
 menu-pan-up-insensitive
 menu-pan-down
-menu-pan-down-hover
 menu-pan-down-insensitive
 button
 button-hover
diff --git a/themes/Adwaita/gtk-2.0/assets/menu-pan-left-hover.png 
b/themes/Adwaita/gtk-2.0/assets/menu-pan-left-hover.png
index 0de8409..dd864eb 100644
Binary files a/themes/Adwaita/gtk-2.0/assets/menu-pan-left-hover.png and 
b/themes/Adwaita/gtk-2.0/assets/menu-pan-left-hover.png differ
diff --git a/themes/Adwaita/gtk-2.0/assets/menu-pan-left-insensitive.png 
b/themes/Adwaita/gtk-2.0/assets/menu-pan-left-insensitive.png
index 55e6339..8e19a8b 100644
Binary files a/themes/Adwaita/gtk-2.0/assets/menu-pan-left-insensitive.png and 
b/themes/Adwaita/gtk-2.0/assets/menu-pan-left-insensitive.png differ
diff --git a/themes/Adwaita/gtk-2.0/assets/menu-pan-left.png b/themes/Adwaita/gtk-2.0/assets/menu-pan-left.png
index 69d1d56..e9b5d25 100644
Binary files a/themes/Adwaita/gtk-2.0/assets/menu-pan-left.png and 
b/themes/Adwaita/gtk-2.0/assets/menu-pan-left.png differ
diff --git a/themes/Adwaita/gtk-2.0/assets/menu-pan-right-hover.png 
b/themes/Adwaita/gtk-2.0/assets/menu-pan-right-hover.png
index 6ad96d7..8f7777b 100644
Binary files a/themes/Adwaita/gtk-2.0/assets/menu-pan-right-hover.png and 
b/themes/Adwaita/gtk-2.0/assets/menu-pan-right-hover.png differ
diff --git a/themes/Adwaita/gtk-2.0/assets/menu-pan-right-insensitive.png 
b/themes/Adwaita/gtk-2.0/assets/menu-pan-right-insensitive.png
index c931860..58e8137 100644
Binary files a/themes/Adwaita/gtk-2.0/assets/menu-pan-right-insensitive.png and 
b/themes/Adwaita/gtk-2.0/assets/menu-pan-right-insensitive.png differ
diff --git a/themes/Adwaita/gtk-2.0/assets/menu-pan-right.png 
b/themes/Adwaita/gtk-2.0/assets/menu-pan-right.png
index 9ba9df3..6b9f23d 100644
Binary files a/themes/Adwaita/gtk-2.0/assets/menu-pan-right.png and 
b/themes/Adwaita/gtk-2.0/assets/menu-pan-right.png differ
diff --git a/themes/Adwaita/gtk-2.0/main.rc b/themes/Adwaita/gtk-2.0/main.rc
index 617b1d2..1c49fb9 100644
--- a/themes/Adwaita/gtk-2.0/main.rc
+++ b/themes/Adwaita/gtk-2.0/main.rc
@@ -461,6 +461,36 @@ style "default" {
       arrow_direction = RIGHT
     }
 
+    image {
+      function        = ARROW
+      state           = INSENSITIVE
+      detail          = "menu_scroll_arrow_up"
+      overlay_file    = "assets/menu-pan-up-insensitive.png"
+      overlay_stretch = FALSE
+    }
+
+    image {
+      function        = ARROW
+      detail          = "menu_scroll_arrow_up"
+      overlay_file    = "assets/menu-pan-up.png"
+      overlay_stretch = FALSE
+    }
+
+    image {
+      function        = ARROW
+      state           = INSENSITIVE
+      detail          = "menu_scroll_arrow_down"
+      overlay_file    = "assets/menu-pan-down-insensitive.png"
+      overlay_stretch = FALSE
+    }
+
+    image {
+      function        = ARROW
+      detail          = "menu_scroll_arrow_down"
+      overlay_file    = "assets/menu-pan-down.png"
+      overlay_stretch = FALSE
+    }
+
     # Regular arrows
 
     image {


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