mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-01 08:20:36 +00:00
GtkMenuButton: Use view-context-menu-symbolic when direction is NONE
This makes it easier to construct gear menus: just set the direction to 'none', no need to manually construct an image.
This commit is contained in:
parent
abb72efe8b
commit
89ada16998
@ -597,6 +597,8 @@ set_arrow_type (GtkImage *image,
|
||||
switch (arrow_type)
|
||||
{
|
||||
case GTK_ARROW_NONE:
|
||||
gtk_image_set_from_icon_name (image, "view-context-menu-symbolic", GTK_ICON_SIZE_BUTTON);
|
||||
break;
|
||||
case GTK_ARROW_DOWN:
|
||||
gtk_image_set_from_icon_name (image, "pan-down-symbolic", GTK_ICON_SIZE_BUTTON);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user