[gnome-themes-standard] Improve entries
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] Improve entries
- Date: Fri, 17 Aug 2012 15:10:26 +0000 (UTC)
commit 5503fa883ea00f5536510d2d62761aa73a18f13d
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sun Jul 8 20:57:51 2012 -0400
Improve entries
Separate the background and the border in two different assets, and use
the "entry_bg" flat box to draw the fill.
themes/Adwaita/gtk-2.0/Entry/entry-active.png | Bin 3139 -> 0 bytes
themes/Adwaita/gtk-2.0/Entry/entry-bg-disabled.png | Bin 0 -> 126 bytes
themes/Adwaita/gtk-2.0/Entry/entry-bg.png | Bin 0 -> 150 bytes
.../Adwaita/gtk-2.0/Entry/entry-border-active.png | Bin 0 -> 532 bytes
.../gtk-2.0/Entry/entry-border-disabled.png | Bin 0 -> 402 bytes
themes/Adwaita/gtk-2.0/Entry/entry-border.png | Bin 0 -> 406 bytes
themes/Adwaita/gtk-2.0/Entry/entry.png | Bin 3039 -> 0 bytes
themes/Adwaita/gtk-2.0/Makefile.am | 7 +++-
themes/Adwaita/gtk-2.0/gtkrc | 39 +++++++++++++++++---
9 files changed, 38 insertions(+), 8 deletions(-)
---
diff --git a/themes/Adwaita/gtk-2.0/Entry/entry-bg-disabled.png b/themes/Adwaita/gtk-2.0/Entry/entry-bg-disabled.png
new file mode 100644
index 0000000..3ad139b
Binary files /dev/null and b/themes/Adwaita/gtk-2.0/Entry/entry-bg-disabled.png differ
diff --git a/themes/Adwaita/gtk-2.0/Entry/entry-bg.png b/themes/Adwaita/gtk-2.0/Entry/entry-bg.png
new file mode 100644
index 0000000..f03ff72
Binary files /dev/null and b/themes/Adwaita/gtk-2.0/Entry/entry-bg.png differ
diff --git a/themes/Adwaita/gtk-2.0/Entry/entry-border-active.png b/themes/Adwaita/gtk-2.0/Entry/entry-border-active.png
new file mode 100644
index 0000000..61eb5b4
Binary files /dev/null and b/themes/Adwaita/gtk-2.0/Entry/entry-border-active.png differ
diff --git a/themes/Adwaita/gtk-2.0/Entry/entry-border-disabled.png b/themes/Adwaita/gtk-2.0/Entry/entry-border-disabled.png
new file mode 100644
index 0000000..307c567
Binary files /dev/null and b/themes/Adwaita/gtk-2.0/Entry/entry-border-disabled.png differ
diff --git a/themes/Adwaita/gtk-2.0/Entry/entry-border.png b/themes/Adwaita/gtk-2.0/Entry/entry-border.png
new file mode 100644
index 0000000..22587b4
Binary files /dev/null and b/themes/Adwaita/gtk-2.0/Entry/entry-border.png differ
diff --git a/themes/Adwaita/gtk-2.0/Makefile.am b/themes/Adwaita/gtk-2.0/Makefile.am
index 47d9261..577af90 100644
--- a/themes/Adwaita/gtk-2.0/Makefile.am
+++ b/themes/Adwaita/gtk-2.0/Makefile.am
@@ -30,8 +30,11 @@ asset_data =
Check-Radio/menuoption_prelight.png \
Check-Radio/option1.png \
Check-Radio/option2.png \
- Entry/entry.png \
- Entry/entry-active.png \
+ Entry/entry-border.png \
+ Entry/entry-border-active.png \
+ Entry/entry-border-disabled.png \
+ Entry/entry-bg.png \
+ Entry/entry-bg-disabled.png \
Expanders/minus.png \
Expanders/plus.png \
Handles/handle-h.png \
diff --git a/themes/Adwaita/gtk-2.0/gtkrc b/themes/Adwaita/gtk-2.0/gtkrc
index a57a252..aea11fa 100755
--- a/themes/Adwaita/gtk-2.0/gtkrc
+++ b/themes/Adwaita/gtk-2.0/gtkrc
@@ -842,8 +842,8 @@ style "entry"
detail = "entry"
state = NORMAL
shadow = IN
- file = "Entry/entry.png"
- border = { 2, 2, 3, 3 }
+ file = "Entry/entry-border.png"
+ border = { 4, 4, 4, 4 }
stretch = TRUE
}
image
@@ -852,8 +852,8 @@ style "entry"
detail = "entry"
state = INSENSITIVE
shadow = IN
- file = "Entry/entry.png"
- border = { 2, 2, 2, 2 }
+ file = "Entry/entry-border-disabled.png"
+ border = { 4, 4, 4, 4 }
stretch = TRUE
}
image
@@ -861,10 +861,37 @@ style "entry"
function = SHADOW
detail = "entry"
state = ACTIVE
- file = "Entry/entry-active.png"
- border = { 2, 2, 3, 3 }
+ file = "Entry/entry-border-active.png"
+ border = { 4, 4, 4, 4 }
stretch = TRUE
}
+ image
+ {
+ function = FLAT_BOX
+ detail = "entry_bg"
+ state = NORMAL
+ file = "Entry/entry-bg.png"
+ border = { 0, 0, 0, 0 }
+ stretch = TRUE
+ }
+ image
+ {
+ function = FLAT_BOX
+ detail = "entry_bg"
+ state = ACTIVE
+ file = "Entry/entry-bg.png"
+ border = { 0, 0, 0, 0 }
+ stretch = TRUE
+ }
+ image
+ {
+ function = FLAT_BOX
+ detail = "entry_bg"
+ state = INSENSITIVE
+ file = "Entry/entry-bg-disabled.png"
+ border = { 0, 0, 0, 0 }
+ stretch = TRUE
+ }
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]