Kaydet (Commit) 02e5afce authored tarafından Caolán McNamara's avatar Caolán McNamara

show down arrow in GtkMenuButtons

Change-Id: I6468474110adfc477927f6d89b44e92d29384484
Reviewed-on: https://gerrit.libreoffice.org/56164
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 93e9a3e2
...@@ -4708,6 +4708,13 @@ private: ...@@ -4708,6 +4708,13 @@ private:
} }
if (gtk_button_get_use_underline(pButton) && !gtk_button_get_use_stock(pButton)) if (gtk_button_get_use_underline(pButton) && !gtk_button_get_use_stock(pButton))
m_aMnemonicButtons.push_back(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)) else if (GTK_IS_LABEL(pWidget))
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment