summaryrefslogtreecommitdiff
path: root/uui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-05-03 12:37:32 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-05-07 09:54:39 +0200
commit5e8d51ca7b597eeaf9f8cfbb1c97e8ab51b030a8 (patch)
tree438b8eb3a9d442d9ead685f9e8aceae9b9a139d4 /uui
parent65420c21194a28aeead0238838028b734b663d87 (diff)
tdf#125079 turn off GTK_WIN_POS_CENTER_ON_PARENT after a while
Change-Id: Ib268a6b32257aee812e5bae27a6db94431d2abbb Reviewed-on: https://gerrit.libreoffice.org/71739 Tested-by: Jenkins Tested-by: Xisco Faulí <xiscofauli@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'uui')
-rw-r--r--uui/source/passworddlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/uui/source/passworddlg.cxx b/uui/source/passworddlg.cxx
index ffa2897b24dc..7fa17d356cbf 100644
--- a/uui/source/passworddlg.cxx
+++ b/uui/source/passworddlg.cxx
@@ -42,7 +42,7 @@ PasswordDialog::PasswordDialog(weld::Window* pParent,
, rResLocale(rLocale)
{
// tdf#115964 we can be launched before the parent has resized to its final size
- m_xDialog->set_centered_on_parent_geometry_request();
+ m_xDialog->set_centered_on_parent(true);
if( nDialogMode == task::PasswordRequestMode_PASSWORD_REENTER )
{