[prev in list] [next in list] [prev in thread] [next in thread]
List: libreoffice-commits
Subject: [Libreoffice-commits] core.git: sfx2/source
From: Samuel Mehrbrodt <Samuel.Mehrbrodt () cib ! de>
Date: 2017-01-31 12:43:47
Message-ID: 20170131124347.75F8E761A2 () kemper ! freedesktop ! org
[Download RAW message or body]
sfx2/source/view/viewfrm.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit f921476a3a943db5a67884ff77b1ffd22622ca60
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Date: Tue Jan 31 12:42:47 2017 +0100
Use white font for colored InfoBars
Change-Id: I35ac32fc213afe7dc8f3ed29caaa982117ec7737
Reviewed-on: https://gerrit.libreoffice.org/33748
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx
index dd6e317..3249078 100644
--- a/sfx2/source/view/viewfrm.cxx
+++ b/sfx2/source/view/viewfrm.cxx
@@ -1181,6 +1181,7 @@ void SfxViewFrame::Notify( SfxBroadcaster& /*rBC*/, const \
SfxHint& rHint )
SignatureState nSignatureState = \
GetObjectShell()->GetDocumentSignatureState(); basegfx::BColor aBackgroundColor;
+ basegfx::BColor aForegroundColor(1.0, 1.0, 1.0);
OUString sMessage("");
switch (nSignatureState)
@@ -1203,7 +1204,7 @@ void SfxViewFrame::Notify( SfxBroadcaster& /*rBC*/, const \
SfxHint& rHint )
if (!sMessage.isEmpty())
{
- auto pInfoBar = AppendInfoBar("signature", sMessage, \
&aBackgroundColor); + auto pInfoBar = AppendInfoBar("signature", \
sMessage, &aBackgroundColor, &aForegroundColor); VclPtrInstance<PushButton> \
xBtn(&GetWindow()); xBtn->SetText(SfxResId(STR_SIGNATURE_SHOW));
xBtn->SetSizePixel(xBtn->GetOptimalSize());
_______________________________________________
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic