[Libreoffice-commits] core.git: Branch 'libreoffice-7-0' - vcl/unx

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Fri Aug 28 18:31:13 UTC 2020


 vcl/unx/gtk3/gtk3gtkinst.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b365c09f2018eefe2ca8a5c138ae5fb6107175ec
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Aug 28 11:56:47 2020 +0100
Commit:     Adolfo Jayme Barrientos <fitojb at ubuntu.com>
CommitDate: Fri Aug 28 20:30:39 2020 +0200

    Resolves: tdf#136161 select all on grab-focus for GtkComboBox-alike widget
    
    Change-Id: Ib1b6ebaf95cd8e79ea0ba945407f321148e6525c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101466
    Tested-by: Jenkins
    Reviewed-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>

diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index a6a1481c1620..e53e0e6a546b 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -14305,7 +14305,7 @@ public:
     {
         disable_notify_events();
         if (m_pEntry)
-            gtk_entry_grab_focus_without_selecting(GTK_ENTRY(m_pEntry));
+            gtk_widget_grab_focus(m_pEntry);
         else
             gtk_widget_grab_focus(m_pToggleButton);
         enable_notify_events();


More information about the Libreoffice-commits mailing list