Set cell data unconditionally. (#152562, Federico Mena Quintero)

2004-10-08  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_button_press): Set cell data
	unconditionally.  (#152562, Federico Mena Quintero)
This commit is contained in:
Matthias Clasen 2004-10-08 14:42:39 +00:00 committed by Matthias Clasen
parent f64d8567ed
commit ca4f063f28
5 changed files with 28 additions and 9 deletions

View File

@ -1,3 +1,8 @@
2004-10-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_button_press): Set cell data
unconditionally. (#152562, Federico Mena Quintero)
2004-10-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkuimanager.c (update_node): Also update smart separators

View File

@ -1,3 +1,8 @@
2004-10-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_button_press): Set cell data
unconditionally. (#152562, Federico Mena Quintero)
2004-10-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkuimanager.c (update_node): Also update smart separators

View File

@ -1,3 +1,8 @@
2004-10-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_button_press): Set cell data
unconditionally. (#152562, Federico Mena Quintero)
2004-10-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkuimanager.c (update_node): Also update smart separators

View File

@ -1,3 +1,8 @@
2004-10-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_button_press): Set cell data
unconditionally. (#152562, Federico Mena Quintero)
2004-10-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkuimanager.c (update_node): Also update smart separators

View File

@ -2286,16 +2286,15 @@ gtk_tree_view_button_press (GtkWidget *widget,
GtkTreePath *anchor;
GtkTreeIter iter;
gtk_tree_model_get_iter (tree_view->priv->model, &iter, path);
gtk_tree_view_column_cell_set_cell_data (column,
tree_view->priv->model,
&iter,
GTK_RBNODE_FLAG_SET (node, GTK_RBNODE_IS_PARENT),
node->children?TRUE:FALSE);
if (tree_view->priv->anchor)
{
anchor = gtk_tree_row_reference_get_path (tree_view->priv->anchor);
gtk_tree_model_get_iter (tree_view->priv->model, &iter, path);
gtk_tree_view_column_cell_set_cell_data (column,
tree_view->priv->model,
&iter,
GTK_RBNODE_FLAG_SET (node, GTK_RBNODE_IS_PARENT),
node->children?TRUE:FALSE);
}
anchor = gtk_tree_row_reference_get_path (tree_view->priv->anchor);
else
anchor = NULL;