svx/source/tbxctrls/tbunosearchcontrollers.cxx | 6 ++++++ vcl/source/window/layout.cxx | 1 + 2 files changed, 7 insertions(+)
New commits: commit 87c923be603d0b3706c481281549a79c8b8bcd41 Author: Ivan Timofeev <timofeev....@gmail.com> Date: Sun Nov 25 18:29:37 2012 +0400 fdo#57499: VclContainer: enable child transparent mode Change-Id: I42aa0c578a927777725e5be4f8534f68bc709cd6 diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx index c73d3f4..f947bee 100644 --- a/vcl/source/window/layout.cxx +++ b/vcl/source/window/layout.cxx @@ -16,6 +16,7 @@ VclContainer::VclContainer(Window *pParent) , m_bLayoutDirty(true) { ImplInit(pParent, WB_HIDE, NULL); + EnableChildTransparentMode(); SetPaintTransparent(sal_True); SetBackground(); } commit 7f0581e15e1ac3b42ec3a98f3497d4900ac50bcc Author: Ivan Timofeev <timofeev....@gmail.com> Date: Sun Nov 25 17:59:28 2012 +0400 findbar: disable up/down buttons by default, there is no text to search Change-Id: I67550f0b40e1c0d294bf8837a2e6ad3bb30dac8a diff --git a/svx/source/tbxctrls/tbunosearchcontrollers.cxx b/svx/source/tbxctrls/tbunosearchcontrollers.cxx index 5005d9c..acbb95e 100644 --- a/svx/source/tbxctrls/tbunosearchcontrollers.cxx +++ b/svx/source/tbxctrls/tbunosearchcontrollers.cxx @@ -428,9 +428,15 @@ void SAL_CALL FindTextToolbarController::initialize( const css::uno::Sequence< : { ::rtl::OUString sItemCommand = pToolBox->GetItemCommand(i); if ( sItemCommand == COMMAND_DOWNSEARCH ) + { + pToolBox->EnableItem(i, sal_False); m_nDownSearchId = i; + } else if ( sItemCommand == COMMAND_UPSEARCH ) + { + pToolBox->EnableItem(i, sal_False); m_nUpSearchId = i; + } } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits