/[pkgs]/devel/openoffice.org/openoffice.org-2.0.0.ooo46270.svx.search-dialog.no-find-all-in-draw.patch
ViewVC logotype

Contents of /devel/openoffice.org/openoffice.org-2.0.0.ooo46270.svx.search-dialog.no-find-all-in-draw.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Fri Jun 12 06:31:52 2009 UTC (5 months, 1 week ago) by dtardon
Branch: MAIN
CVS Tags: openoffice_org-3_1_1-18_1_fc12, F-12-split, openoffice_org-3_1_1-16_1_fc12, openoffice_org-3_1_1-19_7_fc12, openoffice_org-3_1_1-19_9_fc12, openoffice_org-3_2_0-2_2_fc13, openoffice_org-3_1_1-19_6_fc12, openoffice_org-3_1_1-19_4_fc12, openoffice_org-3_1_1-19_5_fc12, openoffice_org-3_1_1-18_2_fc12, openoffice_org-3_1_1-14_1_fc12, openoffice_org-3_2_0-2_1_fc13, openoffice_org-3_2_0-4_2_fc13, openoffice_org-3_2_0-2_4_fc13, openoffice_org-3_2_0-1_2_fc13, openoffice_org-3_2_0-4_1_fc13, openoffice_org-3_1_1-15_2_fc12, openoffice_org-3_1_1-19_1_fc12, openoffice_org-3_1_1-15_1_fc12, openoffice_org-3_1_1-19_1_fc12_1, openoffice_org-3_1_1-17_1_fc12, openoffice_org-3_1_1-19_8_fc12, openoffice_org-3_2_0-2_3_fc13, openoffice_org-3_2_0-5_1_fc13, openoffice_org-3_2_0-3_1_fc13, openoffice_org-3_1_1-13_2_fc12, openoffice_org-3_2_0-3_2_fc13, openoffice_org-3_1_1-19_2_fc12, openoffice_org-3_2_0-5_2_fc13, openoffice_org-3_2_0-1_1_fc13, openoffice_org-3_1_1-16_2_fc12, openoffice_org-3_1_1-13_3_fc12, openoffice_org-3_2_0-2_5_fc13, openoffice_org-3_2_0-3_4_fc13, HEAD
File MIME type: text/x-patch
add openoffice.org-2.0.0.ooo46270.svx.search-dialog.no-find-all-in-draw.patch
1 Index: svx/source/dialog/srchdlg.cxx
2 ===================================================================
3 --- svx/source/dialog/srchdlg.cxx (revision 272843)
4 +++ svx/source/dialog/srchdlg.cxx (working copy)
5 @@ -873,6 +873,18 @@
6 pMoreBtn->AddWindow( &aNoFormatBtn );
7 }
8
9 + if (bDrawApp || bImpressApp)
10 + {
11 + // "Find All" button is hidden--align "Find" vertically to the
12 + // search listbox
13 + Point aNewPt(aSearchBtn.GetPosPixel());
14 + const Size aBtnSz(aSearchBtn.GetSizePixel());
15 + const Size aLBSz(aSearchLB.GetSizePixel());
16 + const int nOff((aLBSz.Height() - aBtnSz.Height()) / 2);
17 + aNewPt.Y() = aSearchLB.GetPosPixel().Y() + nOff;
18 + aSearchBtn.SetPosPixel(aNewPt);
19 + }
20 +
21 if ( bDrawApp )
22 {
23 // Draw App: "Regular expressions" and "Search for Styles" check boxes are hidden
24 @@ -1058,6 +1070,8 @@
25
26 if ( pSearchItem->GetAppFlag() == SVX_SEARCHAPP_DRAW )
27 {
28 + aSearchAllBtn.Hide();
29 +
30 aRegExpBtn.Hide();
31 aLayoutBtn.Hide();
32

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2