[gnome-themes-standard/wip/jimmac/updated-gtk2: 36/106] Fixed arrows in treeview headers.



commit 47b9ff329902c8bb466825ef9e4664d7914c46ce
Author: Juraj Fiala <doctorjellyface riseup net>
Date:   Fri Jan 8 11:22:18 2016 +0100

    Fixed arrows in treeview headers.

 themes/Adwaita/gtk-2.0/assets.svg                  |  126 +++++++++++++++++++-
 themes/Adwaita/gtk-2.0/assets.txt                  |    6 +
 .../gtk-2.0/assets/pan-treeview-down-active.png    |  Bin 0 -> 208 bytes
 .../gtk-2.0/assets/pan-treeview-down-hover.png     |  Bin 0 -> 208 bytes
 .../Adwaita/gtk-2.0/assets/pan-treeview-down.png   |  Bin 0 -> 200 bytes
 .../gtk-2.0/assets/pan-treeview-up-active.png      |  Bin 0 -> 200 bytes
 .../gtk-2.0/assets/pan-treeview-up-hover.png       |  Bin 0 -> 201 bytes
 themes/Adwaita/gtk-2.0/assets/pan-treeview-up.png  |  Bin 0 -> 197 bytes
 themes/Adwaita/gtk-2.0/main.rc                     |   58 +++++++++-
 9 files changed, 186 insertions(+), 4 deletions(-)
---
diff --git a/themes/Adwaita/gtk-2.0/assets.svg b/themes/Adwaita/gtk-2.0/assets.svg
index 836a0a4..096011d 100644
--- a/themes/Adwaita/gtk-2.0/assets.svg
+++ b/themes/Adwaita/gtk-2.0/assets.svg
@@ -1586,9 +1586,9 @@
      borderopacity="1"
      inkscape:pageopacity="1"
      inkscape:pageshadow="2"
-     inkscape:zoom="45.254834"
-     inkscape:cx="213.75757"
-     inkscape:cy="463.96555"
+     inkscape:zoom="8"
+     inkscape:cx="537.27639"
+     inkscape:cy="451.06152"
      inkscape:current-layer="layer1"
      inkscape:document-units="px"
      showgrid="false"
@@ -5289,5 +5289,125 @@
        inkscape:connector-curvature="0"
        sodipodi:nodetypes="cccc"
        inkscape:label="#rect4963" />
+    <g
+       transform="matrix(0,1,1,0,-191,-92.000198)"
+       id="pan-treeview-up-active"
+       inkscape:label="pan-up"
+       style="display:inline">
+      <path
+         style="fill:#2e3436;fill-opacity:1;stroke:none"
+         d="m 110.00019,760 -5,-5 5,-5 z"
+         id="path5020"
+         inkscape:connector-curvature="0"
+         sodipodi:nodetypes="cccc" />
+      <rect
+         width="16"
+         height="16"
+         x="-116.0002"
+         y="747"
+         id="rect5022"
+         
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
+       inkscape:label="pan-down"
+       id="pan-treeview-down-active"
+       transform="matrix(0,-1,1,0,-191,144.0002)"
+       style="display:inline">
+      <path
+         sodipodi:nodetypes="cccc"
+         inkscape:connector-curvature="0"
+         id="path5026"
+         d="m 110.00021,760 -5,-5 5,-5 z"
+         style="fill:#2e3436;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="rect5028"
+         y="747"
+         x="-116.0002"
+         height="16"
+         width="16" />
+    </g>
+    <g
+       style="display:inline"
+       transform="matrix(0,-1,1,0,-209,144.0002)"
+       id="pan-treeview-down-hover"
+       inkscape:label="pan-down">
+      <path
+         style="fill:#636769;fill-opacity:1;stroke:none"
+         d="m 110.00021,760 -5,-5 5,-5 z"
+         id="path5032"
+         inkscape:connector-curvature="0"
+         sodipodi:nodetypes="cccc" />
+      <rect
+         width="16"
+         height="16"
+         x="-116.0002"
+         y="747"
+         id="rect5034"
+         
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
+       inkscape:label="pan-down"
+       id="pan-treeview-down"
+       transform="matrix(0,-1,1,0,-227,144.0002)"
+       style="display:inline">
+      <path
+         sodipodi:nodetypes="cccc"
+         inkscape:connector-curvature="0"
+         id="path5038"
+         d="m 110.00021,760 -5,-5 5,-5 z"
+         style="fill:#979a9b;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="rect5040"
+         y="747"
+         x="-116.0002"
+         height="16"
+         width="16" />
+    </g>
+    <g
+       style="display:inline"
+       inkscape:label="pan-up"
+       id="pan-treeview-up-hover"
+       transform="matrix(0,1,1,0,-209,-92.000198)">
+      <path
+         sodipodi:nodetypes="cccc"
+         inkscape:connector-curvature="0"
+         id="path5044"
+         d="m 110.00019,760 -5,-5 5,-5 z"
+         style="fill:#636769;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="rect5046"
+         y="747"
+         x="-116.0002"
+         height="16"
+         width="16" />
+    </g>
+    <g
+       transform="matrix(0,1,1,0,-227,-92.000198)"
+       id="pan-treeview-up"
+       inkscape:label="pan-up"
+       style="display:inline">
+      <path
+         style="fill:#979a9b;fill-opacity:1;stroke:none"
+         d="m 110.00019,760 -5,-5 5,-5 z"
+         id="path5050"
+         inkscape:connector-curvature="0"
+         sodipodi:nodetypes="cccc" />
+      <rect
+         width="16"
+         height="16"
+         x="-116.0002"
+         y="747"
+         id="rect5052"
+         
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>
 </svg>
diff --git a/themes/Adwaita/gtk-2.0/assets.txt b/themes/Adwaita/gtk-2.0/assets.txt
index 18ef3f2..1695418 100644
--- a/themes/Adwaita/gtk-2.0/assets.txt
+++ b/themes/Adwaita/gtk-2.0/assets.txt
@@ -34,6 +34,12 @@ pan-up-insensitive
 pan-down
 pan-down-hover
 pan-down-insensitive
+pan-treeview-up
+pan-treeview-up-hover
+pan-treeview-up-active
+pan-treeview-down
+pan-treeview-down-hover
+pan-treeview-down-active
 button
 button-hover
 button-active
diff --git a/themes/Adwaita/gtk-2.0/assets/pan-treeview-down-active.png 
b/themes/Adwaita/gtk-2.0/assets/pan-treeview-down-active.png
new file mode 100644
index 0000000..21ef067
Binary files /dev/null and b/themes/Adwaita/gtk-2.0/assets/pan-treeview-down-active.png differ
diff --git a/themes/Adwaita/gtk-2.0/assets/pan-treeview-down-hover.png 
b/themes/Adwaita/gtk-2.0/assets/pan-treeview-down-hover.png
new file mode 100644
index 0000000..6d1d7fd
Binary files /dev/null and b/themes/Adwaita/gtk-2.0/assets/pan-treeview-down-hover.png differ
diff --git a/themes/Adwaita/gtk-2.0/assets/pan-treeview-down.png 
b/themes/Adwaita/gtk-2.0/assets/pan-treeview-down.png
new file mode 100644
index 0000000..9b4acf0
Binary files /dev/null and b/themes/Adwaita/gtk-2.0/assets/pan-treeview-down.png differ
diff --git a/themes/Adwaita/gtk-2.0/assets/pan-treeview-up-active.png 
b/themes/Adwaita/gtk-2.0/assets/pan-treeview-up-active.png
new file mode 100644
index 0000000..36c0ee7
Binary files /dev/null and b/themes/Adwaita/gtk-2.0/assets/pan-treeview-up-active.png differ
diff --git a/themes/Adwaita/gtk-2.0/assets/pan-treeview-up-hover.png 
b/themes/Adwaita/gtk-2.0/assets/pan-treeview-up-hover.png
new file mode 100644
index 0000000..db41d65
Binary files /dev/null and b/themes/Adwaita/gtk-2.0/assets/pan-treeview-up-hover.png differ
diff --git a/themes/Adwaita/gtk-2.0/assets/pan-treeview-up.png 
b/themes/Adwaita/gtk-2.0/assets/pan-treeview-up.png
new file mode 100644
index 0000000..3839e28
Binary files /dev/null and b/themes/Adwaita/gtk-2.0/assets/pan-treeview-up.png differ
diff --git a/themes/Adwaita/gtk-2.0/main.rc b/themes/Adwaita/gtk-2.0/main.rc
index 055dd02..1b568dd 100644
--- a/themes/Adwaita/gtk-2.0/main.rc
+++ b/themes/Adwaita/gtk-2.0/main.rc
@@ -2040,8 +2040,8 @@ style "treeview_header" {
       stretch  = TRUE
     }
   }
-
 }
+
 style "treeview_header_label" {
 
   xthickness = 1
@@ -2053,6 +2053,61 @@ style "treeview_header_label" {
 
 }
 
+style "treeview_header_arrow" {
+
+  engine "pixmap" {
+
+    image {
+      function        = ARROW
+      state           = NORMAL
+      overlay_file    = "assets/pan-treeview-up.png"
+      overlay_stretch = FALSE
+      arrow_direction = UP
+    }
+
+    image {
+      function        = ARROW
+      state           = PRELIGHT
+      overlay_file    = "assets/pan-treeview-up-hover.png"
+      overlay_stretch = FALSE
+      arrow_direction = UP
+    }
+
+    image {
+      function        = ARROW
+      state           = ACTIVE
+      overlay_file    = "assets/pan-treeview-up-active.png"
+      overlay_stretch = FALSE
+      arrow_direction = UP
+    }
+
+    image {
+      function        = ARROW
+      state           = NORMAL
+      overlay_file    = "assets/pan-treeview-down.png"
+      overlay_stretch = FALSE
+      arrow_direction = DOWN
+    }
+
+    image {
+      function        = ARROW
+      state           = PRELIGHT
+      overlay_file    = "assets/pan-treeview-down-hover.png"
+      overlay_stretch = FALSE
+      arrow_direction = DOWN
+    }
+
+    image {
+      function        = ARROW
+      state           = ACTIVE
+      overlay_file    = "assets/pan-treeview-down-active.png"
+      overlay_stretch = FALSE
+      arrow_direction = DOWN
+    }
+
+  }
+
+}
 style "scrolled_window" {
 
   xthickness = 1
@@ -2254,6 +2309,7 @@ widget_class "*HandleBox"                                        style "handlebo
 widget_class "*<GtkTreeView>"                                    style "treeview"
 widget_class "*<GtkTreeView>*<GtkButton>*"                       style "treeview_header_label"
 widget_class "*<GtkTreeView>*<GtkButton>"                        style "treeview_header"
+widget_class "*<GtkTreeView>*<GtkArrow>"                         style "treeview_header_arrow"
 widget_class "*<GtkFileChooserDefault>*<GtkToolbar>"             style "inline_toolbar"
 widget_class "*<GtkFileChooserDefault>*<GtkToolbar>*<GtkButton>" style "button_nohilight"
 widget_class "*<GtkComboBoxEntry>*<GtkEntry>"                    style "combobox_entry"


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