always determine what arrow to show if show_sort_indicator is true.

2007-12-17  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
	always determine what arrow to show if show_sort_indicator is true.
	(#352738, Chris Vine).


svn path=/trunk/; revision=19188
This commit is contained in:
Kristian Rietveld 2007-12-17 13:25:43 +00:00 committed by Kristian Rietveld
parent 15c571eaf3
commit c3b2b3ed00
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2007-12-17 Kristian Rietveld <kris@imendio.com>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
always determine what arrow to show if show_sort_indicator is true.
(#352738, Chris Vine).
2007-12-16 Mathias Hasselmann <mathias@openismus.com>
Prevent assertion failure in gtk_paned_find_neighbours. (#503824,

View File

@ -925,8 +925,7 @@ gtk_tree_view_column_update_button (GtkTreeViewColumn *tree_column)
&sort_column_id,
NULL);
if (tree_column->show_sort_indicator
&& (sort_column_id >= 0 && sort_column_id == tree_column->sort_column_id))
if (tree_column->show_sort_indicator)
{
gboolean alternative;