treeview: center expander allocated space

This patch centers the expander in the extra space allocated by the
horizontal-separator style property.

https://bugzilla.gnome.org/show_bug.cgi?id=650424
This commit is contained in:
Cosimo Cecchi 2013-02-22 19:53:03 -05:00
parent d0895d6c0f
commit 50065b7ba0

View File

@ -9274,6 +9274,7 @@ gtk_tree_view_get_arrow_xrange (GtkTreeView *tree_view,
total_width += gtk_tree_view_column_get_width (tmp_column);
}
x_offset += (expander_size - expander_render_size);
if (indent_expanders)
{