[Xfce4-commits] [panel-plugins/xfce4-notes-plugin] 02/02: gtkrc: theme GtkNotebook
noreply at xfce.org
noreply at xfce.org
Sat Apr 4 15:21:27 CEST 2015
This is an automated email from the git hooks/post-receive script.
mmassonnet pushed a commit to branch master
in repository panel-plugins/xfce4-notes-plugin.
commit 7fc656034e9730a75695b6d7fafd6db8766d76e8
Author: Mike Massonnet <mmassonnet at gmail.com>
Date: Sat Apr 4 15:18:29 2015 +0200
gtkrc: theme GtkNotebook
Use pixmap engine to theme the tabs and the notebook in order to keep a
common theming between different engines.
---
data/gtk-2.0/notes.gtkrc | 84 ++++++++++++++++++++++++++++++-
data/gtk-2.0/tabs/notebook.png | Bin 0 -> 2769 bytes
data/gtk-2.0/tabs/tab-bottom-active.png | Bin 0 -> 294 bytes
data/gtk-2.0/tabs/tab-bottom.png | Bin 0 -> 218 bytes
data/gtk-2.0/tabs/tab-left-active.png | Bin 0 -> 172 bytes
data/gtk-2.0/tabs/tab-left.png | Bin 0 -> 217 bytes
data/gtk-2.0/tabs/tab-right-active.png | Bin 0 -> 244 bytes
data/gtk-2.0/tabs/tab-right.png | Bin 0 -> 230 bytes
data/gtk-2.0/tabs/tab-top-active.png | Bin 0 -> 241 bytes
data/gtk-2.0/tabs/tab-top.png | Bin 0 -> 327 bytes
10 files changed, 82 insertions(+), 2 deletions(-)
diff --git a/data/gtk-2.0/notes.gtkrc b/data/gtk-2.0/notes.gtkrc
index c4c845a..b3a29a2 100644
--- a/data/gtk-2.0/notes.gtkrc
+++ b/data/gtk-2.0/notes.gtkrc
@@ -41,12 +41,92 @@ fg[NORMAL] = @notes_bg_color
}
style "notes-notebook" = "notes-default" {
-xthickness = 3
-ythickness = 3
+xthickness = 0
+ythickness = 1
bg[NORMAL] = @notes_fg_color
fg[NORMAL] = @notes_bg_color
bg[ACTIVE] = shade(1.166, at notes_bg_color)
fg[ACTIVE] = @notes_fg_color
+
+ engine "pixmap" {
+ image {
+ function = EXTENSION
+ state = ACTIVE
+ file = "tabs/tab-bottom.png"
+ border = { 3,3,3,5 }
+ stretch = TRUE
+ gap_side = TOP
+ }
+ image {
+ function = EXTENSION
+ state = ACTIVE
+ file = "tabs/tab-top.png"
+ border = { 3,3,5,3 }
+ stretch = TRUE
+ gap_side = BOTTOM
+ }
+ image {
+ function = EXTENSION
+ state = ACTIVE
+ file = "tabs/tab-left.png"
+ border = { 3,3,3,3 }
+ stretch = TRUE
+ gap_side = RIGHT
+ }
+ image {
+ function = EXTENSION
+ state = ACTIVE
+ file = "tabs/tab-right.png"
+ border = { 3,3,3,3 }
+ stretch = TRUE
+ gap_side = LEFT
+ }
+
+ image {
+ function = EXTENSION
+ state = NORMAL
+ file = "tabs/tab-bottom-active.png"
+ border = { 3,3,3,5 }
+ stretch = TRUE
+ gap_side = TOP
+ }
+ image {
+ function = EXTENSION
+ state = NORMAL
+ file = "tabs/tab-top-active.png"
+ border = { 3,3,5,3 }
+ stretch = TRUE
+ gap_side = BOTTOM
+ }
+ image {
+ function = EXTENSION
+ state = NORMAL
+ file = "tabs/tab-left-active.png"
+ border = { 3,3,3,3 }
+ stretch = TRUE
+ gap_side = RIGHT
+ }
+ image {
+ function = EXTENSION
+ state = NORMAL
+ file = "tabs/tab-right-active.png"
+ border = { 3,3,3,3 }
+ stretch = TRUE
+ gap_side = LEFT
+ }
+
+ image {
+ function = BOX_GAP
+ file = "tabs/notebook.png"
+ border = { 4, 4, 4, 4 }
+ stretch = TRUE
+ }
+ image {
+ function = BOX
+ file = "tabs/notebook.png"
+ border = { 4, 4, 4, 4 }
+ stretch = TRUE
+ }
}
style "notes-scrollbar" = "notes-default" {
diff --git a/data/gtk-2.0/tabs/notebook.png b/data/gtk-2.0/tabs/notebook.png
new file mode 100644
index 0000000..8f6ff08
Binary files /dev/null and b/data/gtk-2.0/tabs/notebook.png differ
diff --git a/data/gtk-2.0/tabs/tab-bottom-active.png b/data/gtk-2.0/tabs/tab-bottom-active.png
new file mode 100644
index 0000000..7f8990f
Binary files /dev/null and b/data/gtk-2.0/tabs/tab-bottom-active.png differ
diff --git a/data/gtk-2.0/tabs/tab-bottom.png b/data/gtk-2.0/tabs/tab-bottom.png
new file mode 100644
index 0000000..4729e8e
Binary files /dev/null and b/data/gtk-2.0/tabs/tab-bottom.png differ
diff --git a/data/gtk-2.0/tabs/tab-left-active.png b/data/gtk-2.0/tabs/tab-left-active.png
new file mode 100644
index 0000000..f14e4c9
Binary files /dev/null and b/data/gtk-2.0/tabs/tab-left-active.png differ
diff --git a/data/gtk-2.0/tabs/tab-left.png b/data/gtk-2.0/tabs/tab-left.png
new file mode 100644
index 0000000..909780a
Binary files /dev/null and b/data/gtk-2.0/tabs/tab-left.png differ
diff --git a/data/gtk-2.0/tabs/tab-right-active.png b/data/gtk-2.0/tabs/tab-right-active.png
new file mode 100644
index 0000000..79ea381
Binary files /dev/null and b/data/gtk-2.0/tabs/tab-right-active.png differ
diff --git a/data/gtk-2.0/tabs/tab-right.png b/data/gtk-2.0/tabs/tab-right.png
new file mode 100644
index 0000000..107bcd6
Binary files /dev/null and b/data/gtk-2.0/tabs/tab-right.png differ
diff --git a/data/gtk-2.0/tabs/tab-top-active.png b/data/gtk-2.0/tabs/tab-top-active.png
new file mode 100644
index 0000000..b4e3fe1
Binary files /dev/null and b/data/gtk-2.0/tabs/tab-top-active.png differ
diff --git a/data/gtk-2.0/tabs/tab-top.png b/data/gtk-2.0/tabs/tab-top.png
new file mode 100644
index 0000000..d18d2a0
Binary files /dev/null and b/data/gtk-2.0/tabs/tab-top.png differ
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list