[Libreoffice-commits] core.git: Branch 'libreoffice-6-3' - 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 276f08d2753b294340fe6b65163aff93715b8016
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:55:02 2019 +0200
menu_item...with_label -> menu_item...with_mnemonic
Change-Id: I9d5165a486e8806f41122e72803000ab3e7b3b46
Reviewed-on: https://gerrit.libreoffice.org/73913
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 eb1511d5f53a..ddc23b5c2054 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