rpms/openoffice.org/devel openoffice.org-2.0.0.ooo46270.svx.search-dialog.no-find-all-in-draw.patch, NONE, 1.1 openoffice.org.spec, 1.1932, 1.1933

David Tardon dtardon at fedoraproject.org
Fri Jun 12 06:32:24 UTC 2009


Author: dtardon

Update of /cvs/extras/rpms/openoffice.org/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28483

Modified Files:
	openoffice.org.spec 
Added Files:
	openoffice.org-2.0.0.ooo46270.svx.search-dialog.no-find-all-in-draw.patch 
Log Message:
add openoffice.org-2.0.0.ooo46270.svx.search-dialog.no-find-all-in-draw.patch

openoffice.org-2.0.0.ooo46270.svx.search-dialog.no-find-all-in-draw.patch:

--- NEW FILE openoffice.org-2.0.0.ooo46270.svx.search-dialog.no-find-all-in-draw.patch ---
Index: svx/source/dialog/srchdlg.cxx
===================================================================
--- svx/source/dialog/srchdlg.cxx	(revision 272843)
+++ svx/source/dialog/srchdlg.cxx	(working copy)
@@ -873,6 +873,18 @@
         pMoreBtn->AddWindow( &aNoFormatBtn );
     }
 
+    if (bDrawApp || bImpressApp)
+    {
+        // "Find All" button is hidden--align "Find" vertically to the
+        // search listbox
+        Point aNewPt(aSearchBtn.GetPosPixel());
+        const Size aBtnSz(aSearchBtn.GetSizePixel());
+        const Size aLBSz(aSearchLB.GetSizePixel());
+        const int nOff((aLBSz.Height() - aBtnSz.Height()) / 2);
+        aNewPt.Y() = aSearchLB.GetPosPixel().Y() + nOff;
+        aSearchBtn.SetPosPixel(aNewPt);
+    }
+
     if ( bDrawApp )
     {
         // Draw App: "Regular expressions" and "Search for Styles" check boxes are hidden
@@ -1058,6 +1070,8 @@
 
 		if ( pSearchItem->GetAppFlag() == SVX_SEARCHAPP_DRAW )
 		{
+            aSearchAllBtn.Hide();
+
 			aRegExpBtn.Hide();
 			aLayoutBtn.Hide();
 


Index: openoffice.org.spec
===================================================================
RCS file: /cvs/extras/rpms/openoffice.org/devel/openoffice.org.spec,v
retrieving revision 1.1932
retrieving revision 1.1933
diff -u -p -r1.1932 -r1.1933
--- openoffice.org.spec	11 Jun 2009 17:30:00 -0000	1.1932
+++ openoffice.org.spec	12 Jun 2009 06:31:52 -0000	1.1933
@@ -150,6 +150,7 @@ Patch72: openoffice.org-3.1.0.ooo102061.
 Patch73: openoffice.org-3.1.0.ooo102142.sd.resleak.patch
 Patch74: workspace.calc51.patch
 Patch75: openoffice.org-3.1.1-ooo102679.sdext.buildfix.patch
+Patch76: openoffice.org-2.0.0.ooo46270.svx.search-dialog.no-find-all-in-draw.patch
 
 %define python_py_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)")
 %define instdir %{_libdir}
@@ -1657,6 +1658,7 @@ cat %{PATCH11} >> svtools/source/dialogs
 %patch73 -p0 -b .ooo102142.sd.resleak.patch
 %patch74 -p0 -b .workspace.calc51.patch
 %patch75 -p0 -b .ooo102679.sdext.buildfix.patch
+%patch76 -p0 -b .ooo46270.svx.search-dialog.no-find-all-in-draw.patch
 
 %build
 echo build start time is `date`, diskspace: `df -h . | tail -n 1`
@@ -4166,6 +4168,9 @@ fi
     unopkg list --shared > /dev/null 2>&1 || :
 
 %changelog
+* Fri Jun 10 2009 Caolán McNamara <caolanm at redhat.com> - 1:3.1.1-13.2
+- add openoffice.org-2.0.0.ooo46270.svx.search-dialog.no-find-all-in-draw.patch
+
 * Thu Jun 09 2009 Caolán McNamara <caolanm at redhat.com> - 1:3.1.1-13.1
 - latest version
 - Resolves: rhbz#504419  openoffice.org-3.1.0.ooo102566.sc.less.frenetic.progress.patch




More information about the fedora-extras-commits mailing list