summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk3
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-06-20 15:31:50 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-06-20 21:57:00 +0200
commit02e5afcea007365714b57e09b079ad0acca6e99d (patch)
treef8fcee6c8e439ac6d26d588964d141f20441a9d4 /vcl/unx/gtk3
parent93e9a3e2b545c853f53ffe28d2795f55ad29f304 (diff)
show down arrow in GtkMenuButtons
Change-Id: I6468474110adfc477927f6d89b44e92d29384484 Reviewed-on: https://gerrit.libreoffice.org/56164 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/unx/gtk3')
-rw-r--r--vcl/unx/gtk3/gtk3gtkinst.cxx7
1 files changed, 7 insertions, 0 deletions
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))
{