summaryrefslogtreecommitdiff
path: root/vcl
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:17 +0200
commit202add7f817b6360956b5a41427ee83fa87b7a01 (patch)
treef0487258d5e0579e82d06c8a3c28b8867b6f52a6 /vcl
parentf2d2e3dc7ddccd490b6829310340942b710057e7 (diff)
show down arrow in GtkMenuButtons
Change-Id: I6468474110adfc477927f6d89b44e92d29384484 Reviewed-on: https://gerrit.libreoffice.org/56165 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-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))
{