[gnome-themes-standard] spinbuttons: use arrows instead of +/-
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] spinbuttons: use arrows instead of +/-
- Date: Fri, 17 Aug 2012 15:10:56 +0000 (UTC)
commit e27b796509acc760c84914a81a1196cae732f131
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Jul 9 10:10:29 2012 -0400
spinbuttons: use arrows instead of +/-
Also tweak the background assets.
themes/Adwaita/gtk-2.0/Arrows/arrow-up.png | Bin 501 -> 295 bytes
themes/Adwaita/gtk-2.0/Makefile.am | 6 --
themes/Adwaita/gtk-2.0/Spin/arrow-down-disable.png | Bin 190 -> 0 bytes
.../Adwaita/gtk-2.0/Spin/arrow-down-prelight.png | Bin 190 -> 0 bytes
themes/Adwaita/gtk-2.0/Spin/arrow-down.png | Bin 189 -> 0 bytes
themes/Adwaita/gtk-2.0/Spin/arrow-up-disable.png | Bin 299 -> 0 bytes
themes/Adwaita/gtk-2.0/Spin/arrow-up-prelight.png | Bin 221 -> 0 bytes
themes/Adwaita/gtk-2.0/Spin/arrow-up.png | Bin 290 -> 0 bytes
.../gtk-2.0/Spin/down-background-disable-rtl.png | Bin 337 -> 240 bytes
.../gtk-2.0/Spin/down-background-disable.png | Bin 318 -> 260 bytes
.../Adwaita/gtk-2.0/Spin/down-background-rtl.png | Bin 302 -> 246 bytes
themes/Adwaita/gtk-2.0/Spin/down-background.png | Bin 302 -> 244 bytes
.../gtk-2.0/Spin/up-background-disable-rtl.png | Bin 314 -> 245 bytes
.../Adwaita/gtk-2.0/Spin/up-background-disable.png | Bin 305 -> 249 bytes
themes/Adwaita/gtk-2.0/Spin/up-background-rtl.png | Bin 286 -> 257 bytes
themes/Adwaita/gtk-2.0/Spin/up-background.png | Bin 290 -> 262 bytes
themes/Adwaita/gtk-2.0/gtkrc | 64 ++++++++++----------
17 files changed, 33 insertions(+), 37 deletions(-)
---
diff --git a/themes/Adwaita/gtk-2.0/Arrows/arrow-up.png b/themes/Adwaita/gtk-2.0/Arrows/arrow-up.png
index 5d213a1..ad87231 100644
Binary files a/themes/Adwaita/gtk-2.0/Arrows/arrow-up.png and b/themes/Adwaita/gtk-2.0/Arrows/arrow-up.png differ
diff --git a/themes/Adwaita/gtk-2.0/Makefile.am b/themes/Adwaita/gtk-2.0/Makefile.am
index 14813b1..60e30e6 100644
--- a/themes/Adwaita/gtk-2.0/Makefile.am
+++ b/themes/Adwaita/gtk-2.0/Makefile.am
@@ -75,12 +75,6 @@ asset_data =
Scrollbars/trough-scrollbar-horiz.png \
Scrollbars/trough-scrollbar-vert.png \
Shadows/frame.png \
- Spin/arrow-down-disable.png \
- Spin/arrow-down.png \
- Spin/arrow-down-prelight.png \
- Spin/arrow-up-disable.png \
- Spin/arrow-up.png \
- Spin/arrow-up-prelight.png \
Spin/down-background.png \
Spin/up-background.png \
Spin/down-background-disable.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
index d0051cb..a970f7a 100644
Binary files a/themes/Adwaita/gtk-2.0/Spin/down-background-disable-rtl.png and b/themes/Adwaita/gtk-2.0/Spin/down-background-disable-rtl.png differ
diff --git a/themes/Adwaita/gtk-2.0/Spin/down-background-disable.png b/themes/Adwaita/gtk-2.0/Spin/down-background-disable.png
index 0d28100..4685082 100644
Binary files a/themes/Adwaita/gtk-2.0/Spin/down-background-disable.png and b/themes/Adwaita/gtk-2.0/Spin/down-background-disable.png 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
index 9fff5f4..cf77957 100644
Binary files a/themes/Adwaita/gtk-2.0/Spin/down-background-rtl.png and b/themes/Adwaita/gtk-2.0/Spin/down-background-rtl.png differ
diff --git a/themes/Adwaita/gtk-2.0/Spin/down-background.png b/themes/Adwaita/gtk-2.0/Spin/down-background.png
index cc14e13..0a0eb97 100644
Binary files a/themes/Adwaita/gtk-2.0/Spin/down-background.png and b/themes/Adwaita/gtk-2.0/Spin/down-background.png 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
index 19c0e48..4ec96cd 100644
Binary files a/themes/Adwaita/gtk-2.0/Spin/up-background-disable-rtl.png and b/themes/Adwaita/gtk-2.0/Spin/up-background-disable-rtl.png differ
diff --git a/themes/Adwaita/gtk-2.0/Spin/up-background-disable.png b/themes/Adwaita/gtk-2.0/Spin/up-background-disable.png
index 563960a..49fb54c 100644
Binary files a/themes/Adwaita/gtk-2.0/Spin/up-background-disable.png and b/themes/Adwaita/gtk-2.0/Spin/up-background-disable.png 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
index 3064d02..5447f58 100644
Binary files a/themes/Adwaita/gtk-2.0/Spin/up-background-rtl.png and b/themes/Adwaita/gtk-2.0/Spin/up-background-rtl.png differ
diff --git a/themes/Adwaita/gtk-2.0/Spin/up-background.png b/themes/Adwaita/gtk-2.0/Spin/up-background.png
index 448cd64..8858003 100644
Binary files a/themes/Adwaita/gtk-2.0/Spin/up-background.png and b/themes/Adwaita/gtk-2.0/Spin/up-background.png differ
diff --git a/themes/Adwaita/gtk-2.0/gtkrc b/themes/Adwaita/gtk-2.0/gtkrc
index c39a6b6..ce26e15 100755
--- a/themes/Adwaita/gtk-2.0/gtkrc
+++ b/themes/Adwaita/gtk-2.0/gtkrc
@@ -1061,10 +1061,12 @@ style "combobox_entry_button"
style "spinbutton" = "default"
{
xthickness = 3
- ythickness = 3
+ ythickness = 4
GtkWidget::interior_focus = 1
- base[ACTIVE] = @base_color
+ base[NORMAL] = shade(1.05, @bg_color)
+ base[ACTIVE] = shade(1.05, @bg_color)
+ base[INSENSITIVE] = shade(1.02, @bg_color)
engine "pixmap"
{
@@ -1080,9 +1082,9 @@ engine "pixmap"
state = NORMAL
detail = "spinbutton_up"
file = "Spin/up-background.png"
- border = { 5, 5, 5, 5 }
+ border = { 4, 4, 4, 4 }
stretch = TRUE
- overlay_file = "Spin/arrow-up.png"
+ overlay_file = "Arrows/arrow-up.png"
overlay_stretch = FALSE
direction = LTR
}
@@ -1092,9 +1094,9 @@ engine "pixmap"
state = PRELIGHT
detail = "spinbutton_up"
file = "Spin/up-background.png"
- border = { 5, 5, 5, 5 }
+ border = { 4, 4, 4, 4 }
stretch = TRUE
- overlay_file = "Spin/arrow-up-prelight.png"
+ overlay_file = "Arrows/arrow-up-prelight.png"
overlay_stretch = FALSE
direction = LTR
}
@@ -1104,9 +1106,9 @@ engine "pixmap"
state = INSENSITIVE
detail = "spinbutton_up"
file = "Spin/up-background-disable.png"
- border = { 5, 5, 5, 5 }
+ border = { 4, 4, 4, 4 }
stretch = TRUE
- overlay_file = "Spin/arrow-up-disable.png"
+ overlay_file = "Arrows/arrow-up-insens.png"
overlay_stretch = FALSE
direction = LTR
}
@@ -1116,9 +1118,9 @@ engine "pixmap"
state = ACTIVE
detail = "spinbutton_up"
file = "Spin/up-background.png"
- border = { 5, 5, 5, 5 }
+ border = { 4, 4, 4, 4 }
stretch = TRUE
- overlay_file = "Spin/arrow-up-prelight.png"
+ overlay_file = "Arrows/arrow-up-prelight.png"
overlay_stretch = FALSE
direction = LTR
}
@@ -1130,9 +1132,9 @@ engine "pixmap"
state = NORMAL
detail = "spinbutton_up"
file = "Spin/up-background-rtl.png"
- border = { 5, 5, 5, 5 }
+ border = { 4, 4, 4, 4 }
stretch = TRUE
- overlay_file = "Spin/arrow-up.png"
+ overlay_file = "Arrows/arrow-up.png"
overlay_stretch = FALSE
direction = RTL
}
@@ -1142,9 +1144,9 @@ engine "pixmap"
state = PRELIGHT
detail = "spinbutton_up"
file = "Spin/up-background-rtl.png"
- border = { 5, 5, 5, 5 }
+ border = { 4, 4, 4, 4 }
stretch = TRUE
- overlay_file = "Spin/arrow-up-prelight.png"
+ overlay_file = "Arrows/arrow-up-prelight.png"
overlay_stretch = FALSE
direction = RTL
}
@@ -1154,9 +1156,9 @@ engine "pixmap"
state = INSENSITIVE
detail = "spinbutton_up"
file = "Spin/up-background-disable-rtl.png"
- border = { 5, 5, 5, 5 }
+ border = { 4, 4, 4, 4 }
stretch = TRUE
- overlay_file = "Spin/arrow-up-disable.png"
+ overlay_file = "Arrows/arrow-up-insens.png"
overlay_stretch = FALSE
direction = RTL
}
@@ -1166,9 +1168,9 @@ engine "pixmap"
state = ACTIVE
detail = "spinbutton_up"
file = "Spin/up-background-rtl.png"
- border = { 5, 5, 5, 5 }
+ border = { 4, 4, 4, 4 }
stretch = TRUE
- overlay_file = "Spin/arrow-up-prelight.png"
+ overlay_file = "Arrows/arrow-up-prelight.png"
overlay_stretch = FALSE
direction = RTL
}
@@ -1180,9 +1182,9 @@ engine "pixmap"
state = NORMAL
detail = "spinbutton_down"
file = "Spin/down-background.png"
- border = { 5, 5, 5, 5 }
+ border = { 4, 4, 4, 4 }
stretch = TRUE
- overlay_file = "Spin/arrow-down.png"
+ overlay_file = "Arrows/arrow-down.png"
overlay_stretch = FALSE
direction = LTR
}
@@ -1194,7 +1196,7 @@ engine "pixmap"
file = "Spin/down-background.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
- overlay_file = "Spin/arrow-down-prelight.png"
+ overlay_file = "Arrows/arrow-down-prelight.png"
overlay_stretch = FALSE
direction = LTR
}
@@ -1206,7 +1208,7 @@ engine "pixmap"
file = "Spin/down-background-disable.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
- overlay_file = "Spin/arrow-down-disable.png"
+ overlay_file = "Arrows/arrow-down-insens.png"
overlay_stretch = FALSE
direction = LTR
}
@@ -1218,7 +1220,7 @@ engine "pixmap"
file = "Spin/down-background.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
- overlay_file = "Spin/arrow-down-prelight.png"
+ overlay_file = "Arrows/arrow-down-prelight.png"
overlay_stretch = FALSE
direction = LTR
}
@@ -1230,9 +1232,9 @@ engine "pixmap"
state = NORMAL
detail = "spinbutton_down"
file = "Spin/down-background-rtl.png"
- border = { 5, 5, 5, 5 }
+ border = { 4, 4, 4, 4 }
stretch = TRUE
- overlay_file = "Spin/arrow-down.png"
+ overlay_file = "Arrows/arrow-down.png"
overlay_stretch = FALSE
direction = RTL
}
@@ -1242,9 +1244,9 @@ engine "pixmap"
state = PRELIGHT
detail = "spinbutton_down"
file = "Spin/down-background-rtl.png"
- border = { 5, 5, 5, 5 }
+ border = { 4, 4, 4, 4 }
stretch = TRUE
- overlay_file = "Spin/arrow-down-prelight.png"
+ overlay_file = "Arrows/arrow-down-prelight.png"
overlay_stretch = FALSE
direction = RTL
}
@@ -1254,9 +1256,9 @@ engine "pixmap"
state = INSENSITIVE
detail = "spinbutton_down"
file = "Spin/down-background-disable-rtl.png"
- border = { 5, 5, 5, 5 }
+ border = { 4, 4, 4, 4 }
stretch = TRUE
- overlay_file = "Spin/arrow-down-disable.png"
+ overlay_file = "Arrows/arrow-down-insens.png"
overlay_stretch = FALSE
direction = RTL
}
@@ -1266,9 +1268,9 @@ engine "pixmap"
state = ACTIVE
detail = "spinbutton_down"
file = "Spin/down-background-rtl.png"
- border = { 5, 5, 5, 5 }
+ border = { 4, 4, 4, 4 }
stretch = TRUE
- overlay_file = "Spin/arrow-down-prelight.png"
+ overlay_file = "Arrows/arrow-down-prelight.png"
overlay_stretch = FALSE
direction = RTL
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]