[gnome-themes-standard/wip/jimmac/updated-gtk2: 48/106] Reverted to focus using an assets for now.



commit ac8bbf2a05b72ce15d97cc10f7d2e1bab32c1f72
Author: Juraj Fiala <doctorjellyface riseup net>
Date:   Tue Feb 9 11:56:54 2016 +0100

    Reverted to focus using an assets for now.

 themes/Adwaita/gtk-2.0/assets.svg       |   18 ++++++++++++++----
 themes/Adwaita/gtk-2.0/assets.txt       |    1 +
 themes/Adwaita/gtk-2.0/assets/focus.png |  Bin 0 -> 167 bytes
 themes/Adwaita/gtk-2.0/main.rc          |   11 +++++++++++
 4 files changed, 26 insertions(+), 4 deletions(-)
---
diff --git a/themes/Adwaita/gtk-2.0/assets.svg b/themes/Adwaita/gtk-2.0/assets.svg
index f61e9bf..1a73abb 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="11.313708"
-     inkscape:cx="138.26137"
-     inkscape:cy="421.51787"
+     inkscape:zoom="45.254832"
+     inkscape:cx="211.70163"
+     inkscape:cy="459.50679"
      inkscape:current-layer="layer1"
      inkscape:document-units="px"
      showgrid="false"
@@ -1614,7 +1614,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>
@@ -5587,5 +5587,15 @@
            
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="focus"
+       inkscape:label="#g4994">
+      <path
+         sodipodi:nodetypes="cccccccc"
+         inkscape:connector-curvature="0"
+         id="rect4988"
+         d="m 212,20.5 2,0 m 0.5,0.5 0,2 m -0.5,0.5 -2,0 m -0.5,-0.5 0,-2"
+         
style="opacity:1;fill:none;fill-opacity:1;stroke:#2e3436;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.3"
 />
+    </g>
   </g>
 </svg>
diff --git a/themes/Adwaita/gtk-2.0/assets.txt b/themes/Adwaita/gtk-2.0/assets.txt
index 508e792..42439c8 100644
--- a/themes/Adwaita/gtk-2.0/assets.txt
+++ b/themes/Adwaita/gtk-2.0/assets.txt
@@ -72,6 +72,7 @@ frame
 frame-inline
 frame-notebook
 line
+focus
 separator-treeview
 menu-border
 menubar-item-active
diff --git a/themes/Adwaita/gtk-2.0/assets/focus.png b/themes/Adwaita/gtk-2.0/assets/focus.png
new file mode 100644
index 0000000..5318351
Binary files /dev/null and b/themes/Adwaita/gtk-2.0/assets/focus.png differ
diff --git a/themes/Adwaita/gtk-2.0/main.rc b/themes/Adwaita/gtk-2.0/main.rc
index 688ccaa..59435a8 100644
--- a/themes/Adwaita/gtk-2.0/main.rc
+++ b/themes/Adwaita/gtk-2.0/main.rc
@@ -553,6 +553,17 @@ style "default" {
       stretch  = TRUE
     }
 
+    #########
+    # Focus #
+    #########
+
+    image {
+      function = FOCUS
+      file = "assets/focus.png"
+      border = {1, 1, 1, 1}
+      stretch = TRUE
+    }
+
     ###########
     # Handles #
     ###########


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