From 02e5afcea007365714b57e09b079ad0acca6e99d Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 20 Jun 2018 15:31:50 +0100 Subject: show down arrow in GtkMenuButtons MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I6468474110adfc477927f6d89b44e92d29384484 Reviewed-on: https://gerrit.libreoffice.org/56164 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- vcl/unx/gtk3/gtk3gtkinst.cxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'vcl/unx/gtk3') diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx index 05035bb756ad..cb5ab02cee52 100644 --- a/vcl/unx/gtk3/gtk3gtkinst.cxx +++ b/vcl/unx/gtk3/gtk3gtkinst.cxx @@ -4708,6 +4708,13 @@ private: } if (gtk_button_get_use_underline(pButton) && !gtk_button_get_use_stock(pButton)) m_aMnemonicButtons.push_back(pButton); + + if (GTK_IS_MENU_BUTTON(pWidget)) + { + gtk_button_set_image(pButton, gtk_image_new_from_icon_name ("pan-down-symbolic", GTK_ICON_SIZE_BUTTON)); + gtk_button_set_image_position(pButton, GTK_POS_RIGHT); + gtk_button_set_always_show_image(pButton, true); + } } else if (GTK_IS_LABEL(pWidget)) { -- cgit