Kaydet (Commit) 505429d5 authored tarafından Caolán McNamara's avatar Caolán McNamara

gtk3: render menu arrows with menuitem style not menu style

Change-Id: I35de4ed31bfb9830f52aa5a25ea12bdf719c56ef
(cherry picked from commit a469002a)
üst 83a58ea4
......@@ -902,7 +902,8 @@ bool GtkSalGraphics::drawNativeControl( ControlType nType, ControlPart nPart, co
renderType = RENDER_MENU_SEPERATOR;
break;
case PART_MENU_SUBMENU_ARROW:
context = mpMenuStyle;
styleClass = GTK_STYLE_CLASS_ARROW;
context = mpCheckMenuItemStyle;
renderType = RENDER_ARROW;
break;
case PART_ENTIRE_CONTROL:
......@@ -1288,7 +1289,7 @@ bool GtkSalGraphics::getNativeControlRegion( ControlType nType, ControlPart nPar
gfloat arrow_scaling, arrow_size;
arrow_scaling = 0;
gtk_style_context_get_style (mpMenuStyle,
gtk_style_context_get_style (mpCheckMenuItemStyle,
"arrow-scaling", &arrow_scaling,
NULL);
......
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