[Libreoffice-commits] core.git: vcl/unx

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Thu Jun 13 07:55:31 UTC 2019


 vcl/unx/gtk3/gtk3gtkinst.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit ddc60f13279adbb4500b2502bcf4864fc8c0e240
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Jun 12 21:28:24 2019 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Jun 13 09:54:51 2019 +0200

    menu_item...with_label -> menu_item...with_mnemonic
    
    Change-Id: I9d5165a486e8806f41122e72803000ab3e7b3b46
    Reviewed-on: https://gerrit.libreoffice.org/73912
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index 58ea48781fba..ec1f6d4e28bd 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -2447,8 +2447,8 @@ public:
         }
         else
         {
-            pItem = bCheck ? gtk_check_menu_item_new_with_label(MapToGtkAccelerator(rStr).getStr())
-                           : gtk_menu_item_new_with_label(MapToGtkAccelerator(rStr).getStr());
+            pItem = bCheck ? gtk_check_menu_item_new_with_mnemonic(MapToGtkAccelerator(rStr).getStr())
+                           : gtk_menu_item_new_with_mnemonic(MapToGtkAccelerator(rStr).getStr());
         }
         gtk_buildable_set_name(GTK_BUILDABLE(pItem), OUStringToOString(rId, RTL_TEXTENCODING_UTF8).getStr());
         gtk_menu_shell_append(GTK_MENU_SHELL(m_pMenu), pItem);
@@ -5488,8 +5488,8 @@ public:
         }
         else
         {
-            pItem = bCheck ? gtk_check_menu_item_new_with_label(MapToGtkAccelerator(rStr).getStr())
-                           : gtk_menu_item_new_with_label(MapToGtkAccelerator(rStr).getStr());
+            pItem = bCheck ? gtk_check_menu_item_new_with_mnemonic(MapToGtkAccelerator(rStr).getStr())
+                           : gtk_menu_item_new_with_mnemonic(MapToGtkAccelerator(rStr).getStr());
         }
         gtk_buildable_set_name(GTK_BUILDABLE(pItem), OUStringToOString(rId, RTL_TEXTENCODING_UTF8).getStr());
         gtk_menu_shell_append(GTK_MENU_SHELL(m_pMenu), pItem);


More information about the Libreoffice-commits mailing list