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

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

Reviewed-by: serb, psadhukhan
上级 3ef2b136
......@@ -1708,7 +1708,11 @@ static void gtk3_paint_expander(WidgetType widget_type, GtkStateType state_type,
GtkStateFlags flags = get_gtk_flags(state_type);
if (expander_style == GTK_EXPANDER_EXPANDED) {
flags |= GTK_STATE_FLAG_ACTIVE;
if (gtk3_version_3_14) {
flags |= GTK_STATE_FLAG_CHECKED;
} else {
flags |= GTK_STATE_FLAG_ACTIVE;
}
}
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.
先完成此消息的编辑!
想要评论请 注册