[gtk-css-engine] [moblesse] Small spin-button arrows PNGs, the SVGs don't scale down nicely.
- From: Robert Staudinger <robsta src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtk-css-engine] [moblesse] Small spin-button arrows PNGs, the SVGs don't scale down nicely.
- Date: Tue, 23 Jun 2009 04:03:47 -0400 (EDT)
commit 88bf71514c9693f81b27d6f8017fbccfe81b6900
Author: Robert Staudinger <robsta gnome org>
Date: Tue Jun 23 10:03:28 2009 +0200
[moblesse] Small spin-button arrows PNGs, the SVGs don't scale down nicely.
themes/moblesse/gtk-2.0/Makefile.am | 2 ++
themes/moblesse/gtk-2.0/arrow-down-small.png | Bin 0 -> 168 bytes
themes/moblesse/gtk-2.0/arrow-up-small.png | Bin 0 -> 165 bytes
themes/moblesse/gtk-2.0/gtkrc.css | 19 +++++++++++++++++++
4 files changed, 21 insertions(+), 0 deletions(-)
---
diff --git a/themes/moblesse/gtk-2.0/Makefile.am b/themes/moblesse/gtk-2.0/Makefile.am
index 6894d4d..19b8a17 100644
--- a/themes/moblesse/gtk-2.0/Makefile.am
+++ b/themes/moblesse/gtk-2.0/Makefile.am
@@ -3,6 +3,8 @@ themedir = $(datadir)/themes/moblesse/gtk-2.0
dist_theme_DATA = \
gtkrc \
gtkrc.css \
+ arrow-down-small.png \
+ arrow-up-small.png \
arrow-down.svg \
arrow-left.svg \
arrow-right.svg \
diff --git a/themes/moblesse/gtk-2.0/arrow-down-small.png b/themes/moblesse/gtk-2.0/arrow-down-small.png
new file mode 100644
index 0000000..41ae5e9
Binary files /dev/null and b/themes/moblesse/gtk-2.0/arrow-down-small.png differ
diff --git a/themes/moblesse/gtk-2.0/arrow-up-small.png b/themes/moblesse/gtk-2.0/arrow-up-small.png
new file mode 100644
index 0000000..3342b95
Binary files /dev/null and b/themes/moblesse/gtk-2.0/arrow-up-small.png differ
diff --git a/themes/moblesse/gtk-2.0/gtkrc.css b/themes/moblesse/gtk-2.0/gtkrc.css
index e746fe2..3ffd430 100644
--- a/themes/moblesse/gtk-2.0/gtkrc.css
+++ b/themes/moblesse/gtk-2.0/gtkrc.css
@@ -4,6 +4,11 @@
*/
* {
+ /* FIXME: those need to be exported to gtkrc.
+ xthickness: 1;
+ ythickness: 1;
+ */
+
background-color: gtk-color(bg_color);
border-color: gtk-color(fg_color);
border-radius: 3px;
@@ -121,6 +126,20 @@ GtkProgressBar > box.bar {
background: gtk-color(selected_bg_color);
}
+GtkSpinButton > arrow[orientation=up] {
+ background-position: center;
+ background-repeat: no-repeat;
+ background-size: 100%;
+ background-image: url(arrow-up-small.png);
+}
+
+GtkSpinButton > arrow[orientation=down] {
+ background-position: center;
+ background-repeat: no-repeat;
+ background-size: 100%;
+ background-image: url(arrow-down-small.png);
+}
+
GtkTreeView {
background: gtk-color(base_color);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]