rpms/gtk2-engines/devel gtk-engines-2.7.2-handles.patch, NONE, 1.1 gtk2-engines.spec, 1.30, 1.31
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Tue Jan 10 22:17:59 UTC 2006
Author: rstrode
Update of /cvs/dist/rpms/gtk2-engines/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv852
Modified Files:
gtk2-engines.spec
Added Files:
gtk-engines-2.7.2-handles.patch
Log Message:
- fix handle drawing bugs from F-Spot and gnome-panel
- change %%makeinstall to make install DESTDIR=...
gtk-engines-2.7.2-handles.patch:
clearlooks_style.c | 18 ++++++++++++++----
1 files changed, 14 insertions(+), 4 deletions(-)
--- NEW FILE gtk-engines-2.7.2-handles.patch ---
--- gtk-engines-2.7.2/engines/clearlooks/src/clearlooks_style.c.handles 2006-01-02 17:07:36.000000000 -0500
+++ gtk-engines-2.7.2/engines/clearlooks/src/clearlooks_style.c 2006-01-10 17:16:41.000000000 -0500
@@ -269,8 +269,13 @@
clearlooks_set_widget_parameters (widget, style, state_type, ¶ms);
handle.type = CL_HANDLE_TOOLBAR;
- handle.horizontal = FALSE;
-
+
+ /* we ignore the given orientation and figure it out from heuristics
+ * if we aren't drawing a splitter, because some applications
+ * pass the wrong orientation
+ */
+ handle.horizontal = width > height;
+
if (GTK_IS_TOOLBAR (widget) && shadow_type != GTK_SHADOW_NONE)
{
cairo_save (cr);
@@ -301,8 +306,13 @@
clearlooks_set_widget_parameters (widget, style, state_type, ¶ms);
handle.type = CL_HANDLE_TOOLBAR;
- handle.horizontal = FALSE;
-
+
+ /* we ignore the given orientation and figure it out from heuristics
+ * if we aren't drawing a splitter, because some applications
+ * pass the wrong orientation
+ */
+ handle.horizontal = width > height;
+
if (GTK_IS_TOOLBAR (widget) && shadow_type != GTK_SHADOW_NONE)
{
cairo_save (cr);
Index: gtk2-engines.spec
===================================================================
RCS file: /cvs/dist/rpms/gtk2-engines/devel/gtk2-engines.spec,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- gtk2-engines.spec 3 Jan 2006 14:45:49 -0000 1.30
+++ gtk2-engines.spec 10 Jan 2006 22:17:52 -0000 1.31
@@ -1,7 +1,7 @@
Summary: Theme engines for GTK+ 2.0
Name: gtk2-engines
Version: 2.7.2
-Release: 1
+Release: 2
License: GPL
Group: System Environment/Libraries
Source: gtk-engines-%{version}.tar.bz2
@@ -14,6 +14,8 @@
URL: ftp://ftp.gnome.org/pub/GNOME/sources/gtk-engines
BuildRoot: /var/tmp/%{name}-%{version}-root
+Patch0: gtk-engines-2.7.2-handles.patch
+
%description
The gtk2-engines package contains shared objects and configuration
files that implement a number of GTK+ theme engines. Theme engines
@@ -24,6 +26,8 @@
%prep
%setup -q -n gtk-engines-%{version}
+%patch0 -p1 -b .handles
+
%build
%configure
make
@@ -31,7 +35,7 @@
%install
rm -rf $RPM_BUILD_ROOT
-%makeinstall
+make install DESTDIR=$RPM_BUILD_ROOT
# no .la, please
find $RPM_BUILD_ROOT%{_libdir} -name "*.la" | xargs rm
@@ -60,6 +64,10 @@
%{_datadir}/themes
%changelog
+* Tue Jan 10 2006 Ray Strode <rstrode at redhat.com> 2.7.2-2
+- fix handle drawing bugs from F-Spot and gnome-panel
+- change %%makeinstall to make install DESTDIR=...
+
* Tue Jan 03 2006 Matthias Clasen <mclasen at redhat.com> 2.7.2-1
- Update to 2.7.2
More information about the fedora-cvs-commits
mailing list