提交 501e3dd2 编写于 作者: P pbansal

8214252: Expanded & Collapsed nodes of a JTree look the same on GTK3

Reviewed-by: serb, psadhukhan
上级 3ef2b136
...@@ -1708,8 +1708,12 @@ static void gtk3_paint_expander(WidgetType widget_type, GtkStateType state_type, ...@@ -1708,8 +1708,12 @@ static void gtk3_paint_expander(WidgetType widget_type, GtkStateType state_type,
GtkStateFlags flags = get_gtk_flags(state_type); GtkStateFlags flags = get_gtk_flags(state_type);
if (expander_style == GTK_EXPANDER_EXPANDED) { if (expander_style == GTK_EXPANDER_EXPANDED) {
if (gtk3_version_3_14) {
flags |= GTK_STATE_FLAG_CHECKED;
} else {
flags |= GTK_STATE_FLAG_ACTIVE; flags |= GTK_STATE_FLAG_ACTIVE;
} }
}
fp_gtk_style_context_set_state(context, flags); fp_gtk_style_context_set_state(context, flags);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册