aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lxappearance-obconf/obconf-rrbutton.patch
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <b@bpiotrowski.pl>2013-10-20 14:10:22 +0200
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2013-10-20 14:10:22 +0200
commit764a06ef74bd76a903bff24fbc09c132f04ed55e (patch)
treef9e33ea8c715e2eaaffc47ce5b07e16a748a432c /testing/lxappearance-obconf/obconf-rrbutton.patch
parentd928253fc1fb07fb221cdf1a00585d928d256652 (diff)
downloadaports-764a06ef74bd76a903bff24fbc09c132f04ed55e.tar.bz2
aports-764a06ef74bd76a903bff24fbc09c132f04ed55e.tar.xz
testing/lxappearance-obconf: new aport
Diffstat (limited to 'testing/lxappearance-obconf/obconf-rrbutton.patch')
-rw-r--r--testing/lxappearance-obconf/obconf-rrbutton.patch49
1 files changed, 49 insertions, 0 deletions
diff --git a/testing/lxappearance-obconf/obconf-rrbutton.patch b/testing/lxappearance-obconf/obconf-rrbutton.patch
new file mode 100644
index 0000000000..334a9db4aa
--- /dev/null
+++ b/testing/lxappearance-obconf/obconf-rrbutton.patch
@@ -0,0 +1,49 @@
+commit 9cffa6a9ddfc4074f3de8d0302404d70c2818d8f
+Author: Markos Chandras <hwoarang@gentoo.org>
+Date: Fri Aug 5 16:24:57 2011 +0100
+
+ Use new RrButton structure
+
+diff --git a/src/preview.c b/src/preview.c
+index a82cf15..320e7ac 100644
+--- a/src/preview.c
++++ b/src/preview.c
+@@ -327,28 +327,28 @@ static GdkPixbuf* preview_window(RrTheme *theme, const gchar *titlelayout,
+ switch (*layout) {
+ case 'D':
+ a = focus ?
+- theme->a_focused_unpressed_desk :
+- theme->a_unfocused_unpressed_desk;
++ theme->btn_desk->a_focused_unpressed :
++ theme->btn_desk->a_unfocused_unpressed;
+ break;
+ case 'S':
+ a = focus ?
+- theme->a_focused_unpressed_shade :
+- theme->a_unfocused_unpressed_shade;
++ theme->btn_shade->a_focused_unpressed :
++ theme->btn_shade->a_unfocused_unpressed;
+ break;
+ case 'I':
+ a = focus ?
+- theme->a_focused_unpressed_iconify :
+- theme->a_unfocused_unpressed_iconify;
++ theme->btn_iconify->a_focused_unpressed :
++ theme->btn_iconify->a_unfocused_unpressed;
+ break;
+ case 'M':
+ a = focus ?
+- theme->a_focused_unpressed_max :
+- theme->a_unfocused_unpressed_max;
++ theme->btn_max->a_focused_unpressed :
++ theme->btn_max->a_unfocused_unpressed;
+ break;
+ case 'C':
+ a = focus ?
+- theme->a_focused_unpressed_close :
+- theme->a_unfocused_unpressed_close;
++ theme->btn_close->a_focused_unpressed :
++ theme->btn_close->a_unfocused_unpressed;
+ break;
+ default:
+ continue;