[gnome-themes-standard/gnome-3-6] gtk2: add assets and style arrows for all four directions



commit 182d0ca0ca374b1beb6a03bbb18730cb14c79804
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Tue Jan 15 19:33:17 2013 -0500

    gtk2: add assets and style arrows for all four directions
    
    Instead of only styling arrows pointing down.

 .../Adwaita/gtk-2.0/Arrows/arrow-left-insens.png   |  Bin 0 -> 289 bytes
 .../Adwaita/gtk-2.0/Arrows/arrow-left-prelight.png |  Bin 0 -> 282 bytes
 .../Adwaita/gtk-2.0/Arrows/arrow-right-insens.png  |  Bin 0 -> 306 bytes
 .../gtk-2.0/Arrows/arrow-right-prelight.png        |  Bin 0 -> 290 bytes
 themes/Adwaita/gtk-2.0/Makefile.am                 |    4 +
 themes/Adwaita/gtk-2.0/gtkrc                       |   86 +++++++++++++++++++-
 6 files changed, 89 insertions(+), 1 deletions(-)
---
diff --git a/themes/Adwaita/gtk-2.0/Arrows/arrow-left-insens.png 
b/themes/Adwaita/gtk-2.0/Arrows/arrow-left-insens.png
new file mode 100644
index 0000000..36a6452
Binary files /dev/null and b/themes/Adwaita/gtk-2.0/Arrows/arrow-left-insens.png differ
diff --git a/themes/Adwaita/gtk-2.0/Arrows/arrow-left-prelight.png 
b/themes/Adwaita/gtk-2.0/Arrows/arrow-left-prelight.png
new file mode 100644
index 0000000..364984e
Binary files /dev/null and b/themes/Adwaita/gtk-2.0/Arrows/arrow-left-prelight.png differ
diff --git a/themes/Adwaita/gtk-2.0/Arrows/arrow-right-insens.png 
b/themes/Adwaita/gtk-2.0/Arrows/arrow-right-insens.png
new file mode 100644
index 0000000..c726f5a
Binary files /dev/null and b/themes/Adwaita/gtk-2.0/Arrows/arrow-right-insens.png differ
diff --git a/themes/Adwaita/gtk-2.0/Arrows/arrow-right-prelight.png 
b/themes/Adwaita/gtk-2.0/Arrows/arrow-right-prelight.png
new file mode 100644
index 0000000..934076a
Binary files /dev/null and b/themes/Adwaita/gtk-2.0/Arrows/arrow-right-prelight.png differ
diff --git a/themes/Adwaita/gtk-2.0/Makefile.am b/themes/Adwaita/gtk-2.0/Makefile.am
index f3aca8e..26866f6 100644
--- a/themes/Adwaita/gtk-2.0/Makefile.am
+++ b/themes/Adwaita/gtk-2.0/Makefile.am
@@ -22,7 +22,11 @@ asset_data = \
        Arrows/arrow-down-small-insens.png \
        Arrows/arrow-down-small-prelight.png \
        Arrows/arrow-left.png \
+       Arrows/arrow-left-insens.png \
+       Arrows/arrow-left-prelight.png \
        Arrows/arrow-right.png \
+       Arrows/arrow-right-insens.png \
+       Arrows/arrow-right-prelight.png \
        Arrows/arrow-up.png \
        Arrows/arrow-up-insens.png \
        Arrows/arrow-up-prelight.png \
diff --git a/themes/Adwaita/gtk-2.0/gtkrc b/themes/Adwaita/gtk-2.0/gtkrc
index 64904ac..bbe76d5 100755
--- a/themes/Adwaita/gtk-2.0/gtkrc
+++ b/themes/Adwaita/gtk-2.0/gtkrc
@@ -253,6 +253,35 @@ style "default"
        }
        image
        {
+           function                    = ARROW
+           state                       = PRELIGHT
+           overlay_file                = "Arrows/arrow-up-prelight.png"
+           overlay_border              = { 0, 0, 0, 0 }
+           overlay_stretch             = FALSE
+           arrow_direction             = UP
+       }
+       image
+       {
+           function                    = ARROW
+           state                       = ACTIVE
+           overlay_file                = "Arrows/arrow-up-prelight.png"
+           overlay_border              = { 0, 0, 0, 0 }
+           overlay_stretch             = FALSE
+           arrow_direction             = UP
+       }
+       image
+       {
+           function                    = ARROW
+           state                       = INSENSITIVE
+           overlay_file                = "Arrows/arrow-up-insens.png"
+           overlay_border              = { 0, 0, 0, 0 }
+           overlay_stretch             = FALSE
+           arrow_direction             = UP
+       }
+
+
+       image
+       {
             function                   = ARROW
            state                       = NORMAL
            overlay_file                = "Arrows/arrow-down.png"
@@ -278,7 +307,6 @@ style "default"
            overlay_stretch             = FALSE
            arrow_direction             = DOWN
        }
-
        image
        {
            function                    = ARROW
@@ -300,11 +328,67 @@ style "default"
        image
        {
            function                    = ARROW
+           state                       = PRELIGHT
+           overlay_file                = "Arrows/arrow-left-prelight.png"
+           overlay_border              = { 0, 0, 0, 0 }
+           overlay_stretch             = FALSE
+           arrow_direction             = LEFT
+       }
+       image
+       {
+           function                    = ARROW
+           state                       = ACTIVE
+           overlay_file                = "Arrows/arrow-left-prelight.png"
+           overlay_border              = { 0, 0, 0, 0 }
+           overlay_stretch             = FALSE
+           arrow_direction             = LEFT
+       }
+       image
+       {
+           function                    = ARROW
+           state                       = INSENSITIVE
+           overlay_file                = "Arrows/arrow-left-insens.png"
+           overlay_border              = { 0, 0, 0, 0 }
+           overlay_stretch             = FALSE
+           arrow_direction             = LEFT
+       }
+
+       image
+       {
+           function                    = ARROW
            overlay_file                = "Arrows/arrow-right.png"
            overlay_border              = { 0, 0, 0, 0 }
            overlay_stretch             = FALSE
            arrow_direction             = RIGHT
        }
+       image
+       {
+           function                    = ARROW
+           state                       = PRELIGHT
+           overlay_file                = "Arrows/arrow-right-prelight.png"
+           overlay_border              = { 0, 0, 0, 0 }
+           overlay_stretch             = FALSE
+           arrow_direction             = RIGHT
+       }
+       image
+       {
+           function                    = ARROW
+           state                       = ACTIVE
+           overlay_file                = "Arrows/arrow-right-prelight.png"
+           overlay_border              = { 0, 0, 0, 0 }
+           overlay_stretch             = FALSE
+           arrow_direction             = RIGHT
+       }
+       image
+       {
+           function                    = ARROW
+           state                       = INSENSITIVE
+           overlay_file                = "Arrows/arrow-right-insens.png"
+           overlay_border              = { 0, 0, 0, 0 }
+           overlay_stretch             = FALSE
+           arrow_direction             = RIGHT
+       }
+
 
        # Option Menu Arrows
 


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