summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2012-07-08 19:40:43 -0400
committerCosimo Cecchi <cosimoc@gnome.org>2012-08-17 17:05:44 +0200
commitbed168a765cabeb8efacd6b9c941b354122cd999 (patch)
tree51fff7720e53331f58294890a3f6aad383529ca6
parent50862a7479c100109a61b26399fd3f7d56ec01a6 (diff)
downloadgnome-themes-standard-bed168a765cabeb8efacd6b9c941b354122cd999.tar.gz
Add RTL spinbuttons
-rw-r--r--themes/Adwaita/gtk-2.0/Makefile.am4
-rw-r--r--themes/Adwaita/gtk-2.0/Spin/down-background-disable-rtl.pngbin0 -> 337 bytes
-rw-r--r--themes/Adwaita/gtk-2.0/Spin/down-background-rtl.pngbin0 -> 302 bytes
-rw-r--r--themes/Adwaita/gtk-2.0/Spin/up-background-disable-rtl.pngbin0 -> 314 bytes
-rw-r--r--themes/Adwaita/gtk-2.0/Spin/up-background-rtl.pngbin0 -> 286 bytes
-rwxr-xr-xthemes/Adwaita/gtk-2.0/gtkrc112
6 files changed, 114 insertions, 2 deletions
diff --git a/themes/Adwaita/gtk-2.0/Makefile.am b/themes/Adwaita/gtk-2.0/Makefile.am
index 30b7cf75..47d9261e 100644
--- a/themes/Adwaita/gtk-2.0/Makefile.am
+++ b/themes/Adwaita/gtk-2.0/Makefile.am
@@ -76,6 +76,10 @@ asset_data =
Spin/up-background.png \
Spin/down-background-disable.png \
Spin/up-background-disable.png \
+ Spin/down-background-rtl.png \
+ Spin/up-background-rtl.png \
+ Spin/down-background-disable-rtl.png \
+ Spin/up-background-disable-rtl.png \
Tabs/notebook-gap-horiz.png \
Tabs/notebook-gap-vert.png \
Tabs/notebook.png \
diff --git a/themes/Adwaita/gtk-2.0/Spin/down-background-disable-rtl.png b/themes/Adwaita/gtk-2.0/Spin/down-background-disable-rtl.png
new file mode 100644
index 00000000..d0051cb8
--- /dev/null
+++ b/themes/Adwaita/gtk-2.0/Spin/down-background-disable-rtl.png
Binary files differ
diff --git a/themes/Adwaita/gtk-2.0/Spin/down-background-rtl.png b/themes/Adwaita/gtk-2.0/Spin/down-background-rtl.png
new file mode 100644
index 00000000..9fff5f46
--- /dev/null
+++ b/themes/Adwaita/gtk-2.0/Spin/down-background-rtl.png
Binary files differ
diff --git a/themes/Adwaita/gtk-2.0/Spin/up-background-disable-rtl.png b/themes/Adwaita/gtk-2.0/Spin/up-background-disable-rtl.png
new file mode 100644
index 00000000..19c0e485
--- /dev/null
+++ b/themes/Adwaita/gtk-2.0/Spin/up-background-disable-rtl.png
Binary files differ
diff --git a/themes/Adwaita/gtk-2.0/Spin/up-background-rtl.png b/themes/Adwaita/gtk-2.0/Spin/up-background-rtl.png
new file mode 100644
index 00000000..3064d029
--- /dev/null
+++ b/themes/Adwaita/gtk-2.0/Spin/up-background-rtl.png
Binary files differ
diff --git a/themes/Adwaita/gtk-2.0/gtkrc b/themes/Adwaita/gtk-2.0/gtkrc
index 0a8f7a0c..a57a2522 100755
--- a/themes/Adwaita/gtk-2.0/gtkrc
+++ b/themes/Adwaita/gtk-2.0/gtkrc
@@ -883,7 +883,7 @@ engine "pixmap"
function = ARROW
}
- # Spin-Up
+ # Spin-Up LTR
image
{
function = BOX
@@ -894,6 +894,7 @@ engine "pixmap"
stretch = TRUE
overlay_file = "Spin/arrow-up.png"
overlay_stretch = FALSE
+ direction = LTR
}
image
{
@@ -905,6 +906,7 @@ engine "pixmap"
stretch = TRUE
overlay_file = "Spin/arrow-up-prelight.png"
overlay_stretch = FALSE
+ direction = LTR
}
image
{
@@ -916,6 +918,7 @@ engine "pixmap"
stretch = TRUE
overlay_file = "Spin/arrow-up-disable.png"
overlay_stretch = FALSE
+ direction = LTR
}
image
{
@@ -927,9 +930,60 @@ engine "pixmap"
stretch = TRUE
overlay_file = "Spin/arrow-up-prelight.png"
overlay_stretch = FALSE
+ direction = LTR
}
- # Spin-Down
+ # Spin-Up RTL
+ image
+ {
+ function = BOX
+ state = NORMAL
+ detail = "spinbutton_up"
+ file = "Spin/up-background-rtl.png"
+ border = { 5, 5, 5, 5 }
+ stretch = TRUE
+ overlay_file = "Spin/arrow-up.png"
+ overlay_stretch = FALSE
+ direction = RTL
+ }
+ image
+ {
+ function = BOX
+ state = PRELIGHT
+ detail = "spinbutton_up"
+ file = "Spin/up-background-rtl.png"
+ border = { 5, 5, 5, 5 }
+ stretch = TRUE
+ overlay_file = "Spin/arrow-up-prelight.png"
+ overlay_stretch = FALSE
+ direction = RTL
+ }
+ image
+ {
+ function = BOX
+ state = INSENSITIVE
+ detail = "spinbutton_up"
+ file = "Spin/up-background-disable-rtl.png"
+ border = { 5, 5, 5, 5 }
+ stretch = TRUE
+ overlay_file = "Spin/arrow-up-disable.png"
+ overlay_stretch = FALSE
+ direction = RTL
+ }
+ image
+ {
+ function = BOX
+ state = ACTIVE
+ detail = "spinbutton_up"
+ file = "Spin/up-background-rtl.png"
+ border = { 5, 5, 5, 5 }
+ stretch = TRUE
+ overlay_file = "Spin/arrow-up-prelight.png"
+ overlay_stretch = FALSE
+ direction = RTL
+ }
+
+ # Spin-Down LTR
image
{
function = BOX
@@ -940,6 +994,7 @@ engine "pixmap"
stretch = TRUE
overlay_file = "Spin/arrow-down.png"
overlay_stretch = FALSE
+ direction = LTR
}
image
{
@@ -951,6 +1006,7 @@ engine "pixmap"
stretch = TRUE
overlay_file = "Spin/arrow-down-prelight.png"
overlay_stretch = FALSE
+ direction = LTR
}
image
{
@@ -962,6 +1018,7 @@ engine "pixmap"
stretch = TRUE
overlay_file = "Spin/arrow-down-disable.png"
overlay_stretch = FALSE
+ direction = LTR
}
image
{
@@ -973,6 +1030,57 @@ engine "pixmap"
stretch = TRUE
overlay_file = "Spin/arrow-down-prelight.png"
overlay_stretch = FALSE
+ direction = LTR
+ }
+
+ # Spin-Down RTL
+ image
+ {
+ function = BOX
+ state = NORMAL
+ detail = "spinbutton_down"
+ file = "Spin/down-background-rtl.png"
+ border = { 5, 5, 5, 5 }
+ stretch = TRUE
+ overlay_file = "Spin/arrow-down.png"
+ overlay_stretch = FALSE
+ direction = RTL
+ }
+ image
+ {
+ function = BOX
+ state = PRELIGHT
+ detail = "spinbutton_down"
+ file = "Spin/down-background-rtl.png"
+ border = { 5, 5, 5, 5 }
+ stretch = TRUE
+ overlay_file = "Spin/arrow-down-prelight.png"
+ overlay_stretch = FALSE
+ direction = RTL
+ }
+ image
+ {
+ function = BOX
+ state = INSENSITIVE
+ detail = "spinbutton_down"
+ file = "Spin/down-background-disable-rtl.png"
+ border = { 5, 5, 5, 5 }
+ stretch = TRUE
+ overlay_file = "Spin/arrow-down-disable.png"
+ overlay_stretch = FALSE
+ direction = RTL
+ }
+ image
+ {
+ function = BOX
+ state = ACTIVE
+ detail = "spinbutton_down"
+ file = "Spin/down-background-rtl.png"
+ border = { 5, 5, 5, 5 }
+ stretch = TRUE
+ overlay_file = "Spin/arrow-down-prelight.png"
+ overlay_stretch = FALSE
+ direction = RTL
}
}
}