[Libreoffice-commits] core.git: vcl/source
Caolán McNamara
caolanm at redhat.com
Mon Sep 2 13:00:35 PDT 2013
vcl/source/window/builder.cxx | 8 ++++++++
1 file changed, 8 insertions(+)
New commits:
commit 8f6b90a80c7b6e1c19422e944ca49657581e1042
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Sep 2 20:53:13 2013 +0100
stop annoying temp full screen windows appearing on insert->index entry
Change-Id: I730617f5ce28149f79d1d22efbfb7eab22e5840d
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index 6cc9800..0b41136 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -1372,6 +1372,14 @@ Window *VclBuilder::makeObject(Window *pParent, const OString &name, const OStri
{
extractStock(id, rMap);
pWindow = new FixedImage(pParent, WB_CENTER|WB_VCENTER|WB_3DLOOK);
+ //such parentless GtkImages are temps used to set icons on buttons
+ //default them to hidden to stop e.g. insert->index entry flicking temp
+ //full screen windows
+ if (!pParent)
+ {
+ rMap["visible"] = "false";
+ }
+
}
else if (name == "GtkSeparator")
{
More information about the Libreoffice-commits
mailing list