rpms/notification-daemon-engine-slider/devel prelight-buttons.patch, NONE, 1.1 notification-daemon-engine-slider.spec, 1.1, 1.2
Matthias Clasen
mclasen at fedoraproject.org
Mon Sep 28 17:36:11 UTC 2009
Author: mclasen
Update of /cvs/pkgs/rpms/notification-daemon-engine-slider/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22480
Modified Files:
notification-daemon-engine-slider.spec
Added Files:
prelight-buttons.patch
Log Message:
make buttons prelight
prelight-buttons.patch:
theme.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
--- NEW FILE prelight-buttons.patch ---
--- notification-daemon-engine-slider-0.1.0/src/theme.c 2009-09-23 20:38:29.000000000 -0400
+++ hacked/src/theme.c 2009-09-27 21:04:05.975316431 -0400
@@ -335,8 +335,9 @@
color_reverse (&style->bg[GTK_STATE_NORMAL], &bg);
state = (GtkStateType) 0;
- while (state < (GtkStateType) G_N_ELEMENTS (widget->style->bg)) {
- gtk_widget_modify_bg (widget, state, &bg);
+ while (state < (GtkStateType) G_N_ELEMENTS (widget->style->bg)) {
+ if (state != GTK_STATE_PRELIGHT)
+ gtk_widget_modify_bg (widget, state, &bg);
state++;
}
@@ -352,7 +353,8 @@
state = (GtkStateType) 0;
while (state < (GtkStateType) G_N_ELEMENTS (widget->style->fg)) {
- gtk_widget_modify_fg (widget, state, &fg);
+ if (state != GTK_STATE_PRELIGHT)
+ gtk_widget_modify_fg (widget, state, &fg);
state++;
}
}
Index: notification-daemon-engine-slider.spec
===================================================================
RCS file: /cvs/pkgs/rpms/notification-daemon-engine-slider/devel/notification-daemon-engine-slider.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- notification-daemon-engine-slider.spec 24 Sep 2009 18:49:36 -0000 1.1
+++ notification-daemon-engine-slider.spec 28 Sep 2009 17:36:11 -0000 1.2
@@ -1,6 +1,6 @@
Name: notification-daemon-engine-slider
Version: 0.1.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: The Slider theme engine for the notification daemon
Group: System Environment/Libraries
@@ -12,12 +12,16 @@ BuildRoot: %{_tmppath}/%{name}-%{ve
BuildRequires: gtk2-devel >= 2.17.1
Requires: notification-daemon
+# https://bugzilla.redhat.com/show_bug.cgi?id=525864
+Patch0: prelight-buttons.patch
+
%description
The Slider theme engine for the notification daemon.
%prep
%setup -q
+%patch0 -p1 -b .prelight
%build
%configure
@@ -42,5 +46,8 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/notification-daemon-1.0/engines/libslider.so
%changelog
+* Mon Sep 28 2009 Matthias Clasen <mclasen at redhat.com> - 0.1.0-2
+- Make actions prelight
+
* Tue Sep 22 2009 Jon McCann <jmccann at redhat.com> - 0.1.0-1
- Initial build
More information about the fedora-extras-commits
mailing list