rpms/qt/F-9 qt-x11-fix-combobox-window-type.patch, NONE, 1.1 qt.spec, 1.172, 1.173

Rex Dieter (rdieter) fedora-extras-commits at redhat.com
Mon Jun 16 14:41:00 UTC 2008


Author: rdieter

Update of /cvs/pkgs/rpms/qt/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9124

Modified Files:
	qt.spec 
Added Files:
	qt-x11-fix-combobox-window-type.patch 
Log Message:
* Mon Jun 16 2008 Rex Dieter <rdieter at fedoraproject.org> 4.3.5-2
- fix-combobox-window-type patch (maniac103)


qt-x11-fix-combobox-window-type.patch:

--- NEW FILE qt-x11-fix-combobox-window-type.patch ---
--- src/gui/widgets/qcombobox.cpp.orig	2008-06-05 09:29:49.000000000 +0200
+++ src/gui/widgets/qcombobox.cpp	2008-06-05 09:30:56.000000000 +0200
@@ -339,10 +339,6 @@
             combo->update();
         }
     }
-#ifdef Q_WS_X11
-    x11SetWindowType( X11WindowTypeCombo );
-    x11SetWindowTransient( combo->topLevelWidget());
-#endif
 }
 
 void QComboBoxPrivateContainer::resizeEvent(QResizeEvent *e)
@@ -419,6 +415,11 @@
     layout->insertSpacing(0, 0);
     layout->addSpacing(0);
     updateTopBottomMargin();
+
+#ifdef Q_WS_X11
+    x11SetWindowType(X11WindowTypeCombo);
+    x11SetWindowTransient(combo->topLevelWidget());
+#endif
 }
 
 void QComboBoxPrivateContainer::scrollItemView(int action)


Index: qt.spec
===================================================================
RCS file: /cvs/pkgs/rpms/qt/F-9/qt.spec,v
retrieving revision 1.172
retrieving revision 1.173
diff -u -r1.172 -r1.173
--- qt.spec	29 May 2008 17:45:21 -0000	1.172
+++ qt.spec	16 Jun 2008 14:40:15 -0000	1.173
@@ -8,7 +8,7 @@
 Name:    qt4
 %endif
 Version: 4.3.5
-Release: 1%{?dist}
+Release: 2%{?dist}
 
 # GPLv2 exceptions(see GPL_EXCEPTIONS*.txt)
 License: GPLv3 or GPLv2 with exceptions or QPL
@@ -40,6 +40,8 @@
 Patch7: qt4-sparc64-qvector.patch
 # kill hardcoded font substitutions (#447298)
 Patch8: qt-x11-opensource-src-4.3.4-no-hardcoded-font-aliases.patch
+# 
+Patch9: qt-x11-fix-combobox-window-type.patch
 
 ## qt-copy patches
 %define qt_copy 20080528
@@ -289,6 +291,7 @@
 %endif
 %patch7 -p1 -b .sparc64
 %patch8 -p1 -b .font-aliases
+%patch9 -p0 -b .fix-combobox-window-type
 
 # drop -fexceptions from $RPM_OPT_FLAGS
 RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed 's|-fexceptions||g'`
@@ -704,6 +707,9 @@
 
 
 %changelog
+* Mon Jun 16 2008 Rex Dieter <rdieter at fedoraproject.org> 4.3.5-2
+- fix-combobox-window-type patch (maniac103)
+
 * Wed May 28 2008 Rex Dieter <rdieter at fedoraproject.org> 4.3.5-1
 - qt-x11-opensource-src-4.3.5
 - qt-copy 20080528 patches




More information about the fedora-extras-commits mailing list