rpms/kdebase-runtime/F-11 kdebase-runtime-4.2.3-kde#186340.patch, NONE, 1.1 kdebase-runtime.spec, 1.111, 1.112

Rex Dieter rdieter at fedoraproject.org
Tue May 12 18:37:25 UTC 2009


Author: rdieter

Update of /cvs/pkgs/rpms/kdebase-runtime/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21712

Modified Files:
	kdebase-runtime.spec 
Added Files:
	kdebase-runtime-4.2.3-kde#186340.patch 
Log Message:
* Tue May 12 2009 Rex Dieter <rdieter at fedoraproject.org> - 4.2.3-2
- toolbar text under icons cut off (kde#186340)


kdebase-runtime-4.2.3-kde#186340.patch:

--- NEW FILE kdebase-runtime-4.2.3-kde#186340.patch ---
diff -up kdebase-runtime-4.2.3/kstyles/oxygen/oxygen.cpp.kde#186340 kdebase-runtime-4.2.3/kstyles/oxygen/oxygen.cpp
--- kdebase-runtime-4.2.3/kstyles/oxygen/oxygen.cpp.kde#186340	2009-04-30 04:11:54.000000000 -0500
+++ kdebase-runtime-4.2.3/kstyles/oxygen/oxygen.cpp	2009-05-12 10:43:10.253144149 -0500
@@ -3055,7 +3055,8 @@ QSize OxygenStyle::sizeFromContents(Cont
 
             if (const QStyleOptionToolButton* tbOpt = qstyleoption_cast<const QStyleOptionToolButton*>(option)) {
                 if ((!tbOpt->icon.isNull()) && (!tbOpt->text.isEmpty()) && tbOpt->toolButtonStyle == Qt::ToolButtonTextUnderIcon)
-                    size.setHeight(size.height()-9);
+                    // TODO: Make this font size dependent
+                    size.setHeight(size.height()-5);
             }
 
             // We want to avoid super-skiny buttons, for things like "up" when icons + text


Index: kdebase-runtime.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kdebase-runtime/F-11/kdebase-runtime.spec,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -p -r1.111 -r1.112
--- kdebase-runtime.spec	3 May 2009 13:28:20 -0000	1.111
+++ kdebase-runtime.spec	12 May 2009 18:36:54 -0000	1.112
@@ -8,7 +8,7 @@
 Name:          kdebase-runtime
 Summary:       K Desktop Environment - Runtime
 Version:       4.2.3
-Release:       1%{?dist}
+Release:       2%{?dist}
 
 License:       GPLv2
 Group:         User Interface/Desktops
@@ -23,6 +23,8 @@ Patch2:        kdebase-runtime-4.1.1-kne
 Patch3:        kdebase-runtime-4.1.1-iconthemes-inherit.patch
 
 ## Upstream patches
+# http://bugs.kde.org/186340
+Patch100: kdebase-runtime-4.2.3-kde#186340.patch
 
 #ifarch noarch
 ## icons now provided by standalone oxygen-icon-theme
@@ -127,6 +129,7 @@ BuildArch: noarch
 %patch3 -p1 -b .iconthemes-inherit
 
 # upstream patches
+%patch100 -p1 -b .kde#186340
 
 
 %build
@@ -387,6 +390,9 @@ fi
 
 
 %changelog
+* Tue May 12 2009 Rex Dieter <rdieter at fedoraproject.org> - 4.2.3-2
+- toolbar text under icons cut off (kde#186340)
+
 * Sun May 03 2009 Than Ngo <than at redhat.com> - 4.2.3-1
 - 4.2.3
 




More information about the scm-commits mailing list